qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/25] target/arm: tidy exception routing
@ 2022-06-07  2:47 Richard Henderson
  2022-06-07  2:47 ` [PATCH v2 01/25] target/arm: Mark exception helpers as noreturn Richard Henderson
                   ` (24 more replies)
  0 siblings, 25 replies; 49+ messages in thread
From: Richard Henderson @ 2022-06-07  2:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-arm

This is mostly code movement at this point, out of headers
and into op_helper.c and debug_helper.c.  I have dropped all
the bits that change where route_to_el2 is computed -- it
remains in raise_exception alone.

The last patch has the tiniest of bug fixes, which probably
isn't even visible, because we don't ask for fp_exception_el
with el != current without SVE.


r~


Richard Henderson (25):
  target/arm: Mark exception helpers as noreturn
  target/arm: Add coproc parameter to syn_fp_access_trap
  target/arm: Move fp access syndrome adjust out of raise_exception
  target/arm: Move exception_target_el out of line
  target/arm: Move arm_singlestep_active out of line
  target/arm: Move arm_generate_debug_exceptions out of line
  target/arm: Use is_a64 in arm_generate_debug_exceptions
  target/arm: Move exception_bkpt_insn to debug_helper.c
  target/arm: Move arm_debug_exception_fsr to debug_helper.c
  target/arm: Rename helper_exception_with_syndrome
  target/arm: Introduce gen_exception_insn_el_v
  target/arm: Rename gen_exception_insn to gen_exception_insn_el
  target/arm: Introduce gen_exception_insn
  target/arm: Create helper_exception_swstep
  target/arm: Remove TBFLAG_ANY.DEBUG_TARGET_EL
  target/arm: Move gen_exception to translate.c
  target/arm: Rename gen_exception to gen_exception_el
  target/arm: Introduce gen_exception
  target/arm: Introduce gen_exception_el_v
  target/arm: Introduce helper_exception_with_syndrome
  target/arm: Remove default_exception_el
  target/arm: Create raise_exception_debug
  target/arm: Move arm_debug_target_el to debug_helper.c
  target/arm: Rearrange Secure PL1 test in arm_debug_target_el
  target/arm: Fix Secure PL1 tests in fp_exception_el

 target/arm/cpu.h              | 128 +-------------------
 target/arm/helper.h           |   9 +-
 target/arm/internals.h        |  43 +------
 target/arm/syndrome.h         |   7 +-
 target/arm/translate.h        |  46 ++-----
 target/arm/debug_helper.c     | 222 ++++++++++++++++++++++++++++++++--
 target/arm/helper.c           |  35 ++----
 target/arm/op_helper.c        |  80 ++++++------
 target/arm/translate-a64.c    |  33 ++---
 target/arm/translate-m-nocp.c |  15 ++-
 target/arm/translate-mve.c    |   3 +-
 target/arm/translate-vfp.c    |  20 ++-
 target/arm/translate.c        | 106 ++++++++--------
 13 files changed, 391 insertions(+), 356 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2022-06-09 20:39 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-07  2:47 [PATCH v2 00/25] target/arm: tidy exception routing Richard Henderson
2022-06-07  2:47 ` [PATCH v2 01/25] target/arm: Mark exception helpers as noreturn Richard Henderson
2022-06-07  2:47 ` [PATCH v2 02/25] target/arm: Add coproc parameter to syn_fp_access_trap Richard Henderson
2022-06-09 15:55   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 03/25] target/arm: Move fp access syndrome adjust out of raise_exception Richard Henderson
2022-06-09 15:59   ` Peter Maydell
2022-06-09 17:09     ` Richard Henderson
2022-06-07  2:47 ` [PATCH v2 04/25] target/arm: Move exception_target_el out of line Richard Henderson
2022-06-09 16:00   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 05/25] target/arm: Move arm_singlestep_active " Richard Henderson
2022-06-07  2:47 ` [PATCH v2 06/25] target/arm: Move arm_generate_debug_exceptions " Richard Henderson
2022-06-07  2:47 ` [PATCH v2 07/25] target/arm: Use is_a64 in arm_generate_debug_exceptions Richard Henderson
2022-06-07  2:47 ` [PATCH v2 08/25] target/arm: Move exception_bkpt_insn to debug_helper.c Richard Henderson
2022-06-09 16:00   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 09/25] target/arm: Move arm_debug_exception_fsr " Richard Henderson
2022-06-09 16:01   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 10/25] target/arm: Rename helper_exception_with_syndrome Richard Henderson
2022-06-09 16:01   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 11/25] target/arm: Introduce gen_exception_insn_el_v Richard Henderson
2022-06-09 16:05   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 12/25] target/arm: Rename gen_exception_insn to gen_exception_insn_el Richard Henderson
2022-06-09 16:05   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 13/25] target/arm: Introduce gen_exception_insn Richard Henderson
2022-06-09 16:06   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 14/25] target/arm: Create helper_exception_swstep Richard Henderson
2022-06-09 16:35   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 15/25] target/arm: Remove TBFLAG_ANY.DEBUG_TARGET_EL Richard Henderson
2022-06-09 16:36   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 16/25] target/arm: Move gen_exception to translate.c Richard Henderson
2022-06-09 16:37   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 17/25] target/arm: Rename gen_exception to gen_exception_el Richard Henderson
2022-06-09 16:37   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 18/25] target/arm: Introduce gen_exception Richard Henderson
2022-06-09 16:38   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 19/25] target/arm: Introduce gen_exception_el_v Richard Henderson
2022-06-09 16:38   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 20/25] target/arm: Introduce helper_exception_with_syndrome Richard Henderson
2022-06-09 16:42   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 21/25] target/arm: Remove default_exception_el Richard Henderson
2022-06-09 16:43   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 22/25] target/arm: Create raise_exception_debug Richard Henderson
2022-06-09 16:59   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 23/25] target/arm: Move arm_debug_target_el to debug_helper.c Richard Henderson
2022-06-09 16:43   ` Peter Maydell
2022-06-07  2:47 ` [PATCH v2 24/25] target/arm: Rearrange Secure PL1 test in arm_debug_target_el Richard Henderson
2022-06-09 16:53   ` Peter Maydell
2022-06-09 19:49     ` Richard Henderson
2022-06-07  2:47 ` [PATCH v2 25/25] target/arm: Fix Secure PL1 tests in fp_exception_el Richard Henderson
2022-06-09 16:56   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).