exec: Rework around CPUState user fields
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 5 repliesIn review
- v114 patches 16 repliesSuperseded
Changes in v2 from the cover letter
- Addressed Richard review comments
- Renamed page-prot-common.h -> page-protection.h
- Removed wrong/unuseful patches
- New patch moving cpu_loop_exit_requested()
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | plugins: Update stale commentplugins/ | +1 | 0 replies | |
| 2/12 | plugins/api: Only include 'exec/ram_addr.h' with system emulationplugins/ | +1 | 0 replies | |
| 3/12 | exec: Include missing license in 'exec/cpu-common.h'include/ | +7 | 0 replies | |
| 4/12 | exec/cpu: Indent TARGET_PAGE_foo definitionsinclude/ | +13 | 0 replies | |
| 5/12 | exec/cpu: Remove obsolete PAGE_RESERVED definitioninclude/ | +0 | 0 replies | |
| 6/12 | exec/cpu: Remove duplicated PAGE_PASSTHROUGH definitioninclude/ | +0 | 0 replies | |
| 7/12 | exec/cpu: Extract page-protection definitions to page-protection.hMAINTAINERS accel/ accel/ +56 more | +100 | 0 replies | |
| 8/12 | accel/tcg: Use cpu_loop_exit_requested() in cpu_loop_exec_tb()accel/ | +2 | 1 reply | |
| 9/12 | accel/tcg: Restrict cpu_loop_exit_requested() to TCGinclude/ include/ target/ +1 more | +22 | 3 replies | |
| 10/12 | accel/tcg: Remove pointless initialization of cflags_next_tbhw/ | +0 | 0 replies | |
| 11/12 | accel/tcg: Reset TCG specific fields in tcg_cpu_reset_hold()accel/ hw/ | +3 | 0 replies | |
| 12/12 | accel/tcg: Access tcg_cflags with getter / setteraccel/ accel/ accel/ +20 more | +44 | 0 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Nicholas Piggin |
|---|---|---|
| 1/12 | R-b | |
| 2/12 | A-b | |
| 3/12 | R-b | |
| 4/12 | R-b | |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | A-b | A-b |
| 8/12 | R-b | |
| 9/12 | R-b | |
| 10/12 | R-b | |
| 11/12 | R-b | |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] exec: Rework around CPUState user fields
Missing review: 8 & 9 (new)
v2:
- Addressed Richard review comments
- Renamed page-prot-common.h -> page-protection.h
- Removed wrong/unuseful patches
- New patch moving cpu_loop_exit_requested()
Hi,
First batch of patches (I expect them to be non controversial) related to extracting user specific fields from CPUState.
Regards,
Phil.
Philippe Mathieu-Daudé (12):
plugins: Update stale comment
plugins/api: Only include 'exec/ram_addr.h' with system emulation
exec: Include missing license in 'exec/cpu-common.h' exec/cpu: Indent TARGET_PAGE_foo definitions
exec/cpu: Remove obsolete PAGE_RESERVED definition exec/cpu: Remove duplicated PAGE_PASSTHROUGH definition exec/cpu: Extract page-protection definitions to page-protection.h accel/tcg: Use cpu_loop_exit_requested() in cpu_loop_exec_tb() accel/tcg: Restrict cpu_loop_exit_requested() to TCG accel/tcg: Remove pointless initialization of cflags_next_tb accel/tcg: Reset TCG specific fields in tcg_cpu_reset_hold() accel/tcg: Access tcg_cflags with getter / setter
MAINTAINERS | 1 + accel/tcg/internal-common.h | 3 +- bsd-user/bsd-mem.h | 1 + bsd-user/qemu.h | 1 + include/exec/cpu-all.h | 36 ++++++++----------- include/exec/cpu-common.h | 47 ++++++++----------------- include/exec/exec-all.h | 20 ----------- include/exec/page-protection.h | 41 +++++++++++++++++++++ include/exec/translate-all.h | 20 +++++++++++ include/semihosting/uaccess.h | 1 + target/arm/cpu.h | 1 + target/ppc/internal.h | 1 + target/ppc/mmu-radix64.h | 2 ++ accel/tcg/cpu-exec.c | 17 ++++++--- accel/tcg/cputlb.c | 1 + accel/tcg/tb-maint.c | 1 + accel/tcg/tcg-accel-ops.c | 5 ++- accel/tcg/user-exec.c | 1 + bsd-user/mmap.c | 1 + bsd-user/signal.c | 1 + cpu-target.c | 1 + hw/core/cpu-common.c | 3 -- hw/ppc/ppc440_bamboo.c | 1 + hw/ppc/sam460ex.c | 1 + hw/ppc/virtex_ml507.c | 1 + linux-user/arm/cpu_loop.c | 1 + linux-user/elfload.c | 1 + linux-user/mmap.c | 9 ++--- linux-user/signal.c | 1 + linux-user/syscall.c | 5 +-- plugins/api.c | 2 +- plugins/core.c | 2 +- system/physmem.c | 1 + target/alpha/helper.c | 1 + target/arm/cpu.c | 2 +- target/arm/ptw.c | 1 + target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/m_helper.c | 1 + target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/avr/cpu.c | 2 +- target/avr/helper.c | 1 + target/cris/mmu.c | 1 + target/hexagon/cpu.c | 2 +- target/hppa/cpu.c | 2 +- target/hppa/mem_helper.c | 1 + target/hppa/translate.c | 1 + target/i386/cpu.c | 2 +- target/i386/helper.c | 2 +- target/i386/tcg/sysemu/excp_helper.c | 1 + target/loongarch/cpu.c | 2 +- target/loongarch/tcg/tlb_helper.c | 1 + target/m68k/helper.c | 1 + target/microblaze/cpu.c | 2 +- target/microblaze/helper.c | 1 + target/microblaze/mmu.c | 1 + target/mips/sysemu/physaddr.c | 1 + target/mips/tcg/exception.c | 2 +- target/mips/tcg/sysemu/special_helper.c | 2 +- target/mips/tcg/sysemu/tlb_helper.c | 1 + target/openrisc/cpu.c | 2 +- target/openrisc/mmu.c | 1 + target/ppc/mmu-hash32.c | 1 + target/ppc/mmu-hash64.c | 1 + target/ppc/mmu-radix64.c | 1 + target/ppc/mmu_common.c | 1 + target/ppc/mmu_helper.c | 1 + target/riscv/cpu_helper.c | 1 + target/riscv/pmp.c | 1 + target/riscv/tcg/tcg-cpu.c | 4 +-- target/riscv/vector_helper.c | 1 + target/rx/cpu.c | 3 +- target/s390x/mmu_helper.c | 1 + target/s390x/tcg/mem_helper.c | 2 ++ target/sh4/cpu.c | 4 +-- target/sh4/helper.c | 1 + target/sparc/cpu.c | 2 +- target/sparc/ldst_helper.c | 1 + target/sparc/mmu_helper.c | 1 + target/tricore/cpu.c | 2 +- target/tricore/helper.c | 1 + target/xtensa/mmu_helper.c | 1 + target/xtensa/op_helper.c | 1 + 83 files changed, 193 insertions(+), 110 deletions(-) create mode 100644 include/exec/page-protection.h
Signature · 1 line
2.41.0