target/arm: Remove some TARGET_AARCH64 uses (MTE & gdbstub)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | target/arm: Remove uses of TARGET_AARCH64 in arch_dump.ctarget/ | +0 | 1 reply | |
| 2/9 | target/arm: Remove use of TARGET_AARCH64 in dump.ctarget/ | +0 | 1 reply | |
| 3/9 | target/arm: Remove use of TARGET_AARCH64 in arm_cpu_initfn()target/ | +17 | 1 reply | |
| 4/9 | target/arm/mte: Include missing headers for GETPC()target/ | +2 | 1 reply | |
| 5/9 | target/arm/mte: Reduce address_with_allocation_tag() scopetarget/ target/ | +5 | 1 reply | |
| 6/9 | target/arm/mte: Rename 'mte_helper.h' as generic 'mte.h'target/ target/ target/ | +2 | 1 reply | |
| 7/9 | target/arm/mte: Restrict MTE declarationstarget/ target/ target/ +7 more | +306 | 1 reply | |
| 8/9 | linux-user/arm: Implement MTE stubs for 32-bit user emulationlinux-user/ linux-user/ linux-user/ +1 more | +50 | 0 replies | |
| 9/9 | target/arm: Build Aarch64 gdbstub helpers indistinctlytarget/ target/ target/ | +2 | 1 reply |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH-for-10.1 0/9] target/arm: Remove some TARGET_AARCH64 uses (MTE & gdbstub)
We'd like to reduce the use on TARGET_$arch definitions. This series convert few to runtime checks, mostly in MTE and gdbstub.
Philippe Mathieu-Daudé (9):
target/arm: Remove uses of TARGET_AARCH64 in arch_dump.c target/arm: Remove use of TARGET_AARCH64 in dump.c target/arm: Remove use of TARGET_AARCH64 in arm_cpu_initfn() target/arm/mte: Include missing headers for GETPC() target/arm/mte: Reduce address_with_allocation_tag() scope target/arm/mte: Rename 'mte_helper.h' as generic 'mte.h' target/arm/mte: Restrict MTE declarations linux-user/arm: Implement MTE stubs for 32-bit user emulation target/arm: Build Aarch64 gdbstub helpers indistinctly
linux-user/aarch64/mte_user_helper.h | 27 +--- linux-user/arm/mte_user_helper.h | 34 +++++ target/arm/internals.h | 128 +----------------- target/arm/tcg/mte.h | 190 +++++++++++++++++++++++++++ target/arm/tcg/mte_helper.h | 66 ---------- target/arm/tcg/sve_ldst_internal.h | 1 + linux-user/arm/mte_user_helper.c | 13 ++ target/arm/arch_dump.c | 6 - target/arm/cpu.c | 38 +++--- target/arm/gdbstub.c | 4 - target/arm/gdbstub64.c | 2 +- target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/mte.c | 175 ++++++++++++++++++++++++ target/arm/tcg/mte_helper.c | 170 ++---------------------- target/arm/tcg/sve_helper.c | 1 + target/arm/tcg/translate-a64.c | 1 + target/arm/tcg/translate-sve.c | 1 + linux-user/arm/meson.build | 2 + target/arm/meson.build | 2 +- target/arm/tcg/meson.build | 1 + 20 files changed, 450 insertions(+), 413 deletions(-) create mode 100644 linux-user/arm/mte_user_helper.h create mode 100644 target/arm/tcg/mte.h delete mode 100644 target/arm/tcg/mte_helper.h create mode 100644 linux-user/arm/mte_user_helper.c create mode 100644 target/arm/tcg/mte.c
Signature · 1 line
2.47.1