mbox series

[0/2] target/xtensa: use generic instruction breakpoint infrastructure

Message ID 20231130171920.3798954-1-jcmvbkbc@gmail.com
Headers show
Series target/xtensa: use generic instruction breakpoint infrastructure | expand

Message

Max Filippov Nov. 30, 2023, 5:19 p.m. UTC
Hello,

this series makes target/xtensa use generic instruction breakpoint
infrastructure removing its use of tb_invalidate_phys_addr. It also adds
a new TCG test checking relative priority of icount and ibreak exceptions
for target/xtensa.

Max Filippov (2):
  target/xtensa: use generic instruction breakpoint infrastructure
  tests/tcg/xtensa: add icount/ibreak priority test

 target/xtensa/cpu.c           |  1 +
 target/xtensa/cpu.h           |  4 +++
 target/xtensa/dbg_helper.c    | 46 +++++++++++++++++++++++------------
 target/xtensa/helper.c        | 12 +++++++++
 target/xtensa/translate.c     | 17 -------------
 tests/tcg/xtensa/test_break.S | 25 ++++++++++++++++++-
 6 files changed, 71 insertions(+), 34 deletions(-)

Comments

Philippe Mathieu-Daudé Jan. 8, 2024, 4:46 p.m. UTC | #1
On 30/11/23 18:19, Max Filippov wrote:
> Hello,
> 
> this series makes target/xtensa use generic instruction breakpoint
> infrastructure removing its use of tb_invalidate_phys_addr. It also adds
> a new TCG test checking relative priority of icount and ibreak exceptions
> for target/xtensa.
> 
> Max Filippov (2):
>    target/xtensa: use generic instruction breakpoint infrastructure
>    tests/tcg/xtensa: add icount/ibreak priority test

Thanks Max, series queued.