qom hooks to clean up cpu_exec
Status from this message: Applied to master, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | qom: Add cpu_exec_enter and cpu_exec_exit hookscpu-exec.c include/ qom/ | +11 | 4 replies | |
| 2/23 | cpu-exec: Remove do-nothing ifdef chainscpu-exec.c | +0 | 1 reply | |
| 3/23 | target-i386: Use cpu_exec_enter/exit qom hookscpu-exec.c target-i386/ target-i386/ +1 more | +28 | 1 reply | |
| 4/23 | target-m68k: Use cpu_exec_enter/exit qom hookscpu-exec.c target-m68k/ target-m68k/ +1 more | +27 | 1 reply | |
| 5/23 | target-ppc: Use cpu_exec_enter qom hookcpu-exec.c target-ppc/ | +9 | 2 replies | |
| 6/23 | qom: Add cpu_exec_interrupt hookcpu-exec.c include/ qom/ | +17 | 2 replies | |
| 7/23 | target-xtensa: Use cpu_exec_interrupt qom hookcpu-exec.c target-xtensa/ target-xtensa/ +1 more | +12 | 3 replies | |
| 8/23 | target-s390x: Use cpu_exec_interrupt qom hookcpu-exec.c target-s390x/ target-s390x/ +1 more | +15 | 1 reply | |
| 9/23 | target-m68k: Use cpu_exec_interrupt qom hookcpu-exec.c target-m68k/ target-m68k/ +2 more | +22 | 1 reply | |
| 10/23 | target-cris: Use cpu_exec_interrupt qom hookcpu-exec.c target-cris/ target-cris/ +1 more | +33 | 1 reply | |
| 11/23 | target-alpha: Use cpu_exec_interrupt qom hookcpu-exec.c target-alpha/ target-alpha/ +1 more | +46 | 0 replies | |
| 12/23 | target-sh4: Use cpu_exec_interrupt qom hookcpu-exec.c target-sh4/ target-sh4/ +1 more | +11 | 0 replies | |
| 13/23 | target-unicore32: Use cpu_exec_interrupt qom hookcpu-exec.c target-unicore32/ target-unicore32/ +1 more | +17 | 0 replies | |
| 14/23 | target-arm: Use cpu_exec_interrupt qom hookcpu-exec.c target-arm/ target-arm/ +1 more | +36 | 0 replies | |
| 15/23 | target-sparc: Use cpu_exec_interrupt qom hookcpu-exec.c target-sparc/ | +21 | 0 replies | |
| 16/23 | target-openrisc: Use cpu_exec_interrupt qom hookcpu-exec.c target-openrisc/ target-openrisc/ +1 more | +22 | 1 reply | |
| 17/23 | target-tricore: Remove the dummy interrupt boilerplatecpu-exec.c target-tricore/ target-tricore/ +2 more | +0 | 1 reply | |
| 18/23 | target-mips: Use cpu_exec_interrupt qom hookcpu-exec.c target-mips/ target-mips/ +1 more | +19 | 1 reply | |
| 19/23 | target-microblaze: Use cpu_exec_interrupt qom hookcpu-exec.c target-microblaze/ target-microblaze/ +1 more | +18 | 0 replies | |
| 20/23 | target-lm32: Use cpu_exec_interrupt qom hookcpu-exec.c target-lm32/ target-lm32/ +1 more | +15 | 1 reply | |
| 21/23 | target-ppc: Use cpu_exec_interrupt qom hookcpu-exec.c target-ppc/ target-ppc/ +2 more | +19 | 0 replies | |
| 22/23 | target-i386: Use cpu_exec_interrupt qom hookcpu-exec.c target-i386/ target-i386/ +1 more | +71 | 0 replies | |
| 23/23 | cpu-exec: Do CPU_INTERRUPT_HALT unconditionallycpu-exec.c | +0 | 0 replies |
Reviews trailers per patch
13 of 23 patches have a Reviewed-by or Acked-by.
| Patch | Michael Walle | Alex Bennée | Leon Alrae | Jia Liu | Max Filippov | Edgar E. Iglesias | Bastian Koppelmann |
|---|---|---|---|---|---|---|---|
| 1/23 | R-b | ||||||
| 2/23 | R-b | ||||||
| 3/23 | R-b | ||||||
| 4/23 | R-b | ||||||
| 5/23 | R-b | ||||||
| 6/23 | R-b | R-b | |||||
| 7/23 | R-b | ||||||
| 8/23 | R-b | ||||||
| 9/23 | R-b | ||||||
| 10/23 | R-b | ||||||
| 11/23 | |||||||
| 12/23 | |||||||
| 13/23 | |||||||
| 14/23 | |||||||
| 15/23 | |||||||
| 16/23 | T-b | ||||||
| 17/23 | R-b | ||||||
| 18/23 | R-b T-b | ||||||
| 19/23 | |||||||
| 20/23 | A-b | ||||||
| 21/23 | |||||||
| 22/23 | |||||||
| 23/23 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.
Cover letter [Qemu-devel] [PATCH 00/23] qom hooks to clean up cpu_exec
Prompted by trying to review Martin's ARM exception vs gdb problems, let's clean up cpu_exec so that it's almost readable.
After the 23 patches, there's one (interesting) ifdef left. That is, i386 redefining CPU_INTERRUPT_RESET as CPU_INTERRUPT_INIT for its own purposes. I'm not sure why all that couldn't be done under whatever hooks cpu_reset allows. Failing that, we might be able to redefine C_I_I as a new CPU_INTERRUPT_TGT_INT_3 bit.
I've done some smoke tests on i386, arm, xtensa, because I had images handy. But I've not done anything but compile the rest.
Comments appreciated.
r~
Richard Henderson (23):
qom: Add cpu_exec_enter and cpu_exec_exit hooks
cpu-exec: Remove do-nothing ifdef chains
target-i386: Use cpu_exec_enter/exit qom hooks
target-m68k: Use cpu_exec_enter/exit qom hooks
target-ppc: Use cpu_exec_enter qom hook
qom: Add cpu_exec_interrupt hook
target-xtensa: Use cpu_exec_interrupt qom hook
target-s390x: Use cpu_exec_interrupt qom hook
target-m68k: Use cpu_exec_interrupt qom hook
target-cris: Use cpu_exec_interrupt qom hook
target-alpha: Use cpu_exec_interrupt qom hook
target-sh4: Use cpu_exec_interrupt qom hook
target-unicore32: Use cpu_exec_interrupt qom hook
target-arm: Use cpu_exec_interrupt qom hook
target-sparc: Use cpu_exec_interrupt qom hook
target-openrisc: Use cpu_exec_interrupt qom hook
target-tricore: Remove the dummy interrupt boilerplate
target-mips: Use cpu_exec_interrupt qom hook
target-microblaze: Use cpu_exec_interrupt qom hook
target-lm32: Use cpu_exec_interrupt qom hook
target-ppc: Use cpu_exec_interrupt qom hook
target-i386: Use cpu_exec_interrupt qom hook
cpu-exec: Do CPU_INTERRUPT_HALT unconditionally
cpu-exec.c | 329 ++------------------------------------------ include/qom/cpu.h | 7 + qom/cpu.c | 12 +- target-alpha/cpu-qom.h | 1 + target-alpha/cpu.c | 1 + target-alpha/helper.c | 44 ++++++ target-arm/cpu-qom.h | 1 + target-arm/cpu.c | 34 +++++ target-arm/cpu64.c | 1 + target-cris/cpu-qom.h | 1 + target-cris/cpu.c | 1 + target-cris/helper.c | 31 +++++ target-i386/cpu-qom.h | 4 + target-i386/cpu.c | 3 + target-i386/helper.c | 21 +++ target-i386/seg_helper.c | 69 ++++++++++ target-lm32/cpu-qom.h | 1 + target-lm32/cpu.c | 1 + target-lm32/helper.c | 13 ++ target-m68k/cpu-qom.h | 4 + target-m68k/cpu.c | 4 + target-m68k/cpu.h | 1 - target-m68k/helper.c | 20 +++ target-m68k/op_helper.c | 22 ++- target-microblaze/cpu-qom.h | 1 + target-microblaze/cpu.c | 1 + target-microblaze/helper.c | 16 +++ target-mips/cpu-qom.h | 1 + target-mips/cpu.c | 1 + target-mips/helper.c | 17 +++ target-openrisc/cpu.c | 1 + target-openrisc/cpu.h | 1 + target-openrisc/interrupt.c | 20 +++ target-ppc/cpu-qom.h | 1 + target-ppc/cpu.h | 1 - target-ppc/excp_helper.c | 19 ++- target-ppc/translate_init.c | 10 ++ target-s390x/cpu-qom.h | 1 + target-s390x/cpu.c | 1 + target-s390x/helper.c | 13 ++ target-sh4/cpu-qom.h | 1 + target-sh4/cpu.c | 1 + target-sh4/helper.c | 9 ++ target-sparc/cpu.c | 21 +++ target-tricore/cpu-qom.h | 1 - target-tricore/cpu.c | 1 - target-tricore/cpu.h | 2 - target-tricore/helper.c | 4 - target-unicore32/cpu-qom.h | 1 + target-unicore32/cpu.c | 1 + target-unicore32/helper.c | 15 ++ target-xtensa/cpu-qom.h | 1 + target-xtensa/cpu.c | 1 + target-xtensa/helper.c | 10 ++ 54 files changed, 464 insertions(+), 336 deletions(-)
Signature · 1 line
1.9.3