target: Use env_archcpu() instead of ARCH_CPU(env_cpu(env))
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target/ppc: Use env_archcpu() in helper_book3s_msgsndp()target/ | +1 | 2 replies | |
| 2/6 | target/riscv: Use env_archcpu() in [check_]nanbox()target/ | +4 | 10 replies | |
| 3/6 | target/s390x: Use env_archcpu() in handle_diag_308()target/ | +1 | 1 reply | |
| 4/6 | target/xtensa: Use env_archcpu() in update_c[compare|count]()target/ | +2 | 1 reply | |
| 5/6 | target/i386/hvf: Use x86_cpu in simulate_[rdmsr|wrmsr]()target/ | +2 | 2 replies | |
| 6/6 | target/i386: Use env_archcpu() in simulate_[rdmsr/wrmsr]()target/ target/ target/ | +14 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard W.M. Jones | Daniel Henrique Barboza | LIU Zhiwei | Roman Bolshakov | Richard Henderson | Alistair Francis | Zhao Liu |
|---|---|---|---|---|---|---|---|
| Series | R-b | ||||||
| 1/6 | R-b | A-b | |||||
| 2/6 | Inspired-by R-b | R-b | R-b | R-b | |||
| 3/6 | A-b | ||||||
| 4/6 | A-b | ||||||
| 5/6 | R-b | R-b | |||||
| 6/6 | R-b T-b | R-b |
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 [PATCH 0/6] target: Use env_archcpu() instead of ARCH_CPU(env_cpu(env))
When we have a CPUArchState* pointer we can directly get the corresponding ArchCPU* pointer with env_archcpu(). No need to use QOM cast which is slower due when building with --enable-qom-cast-debug.
This series replace ARCH_CPU(env_cpu(env)) by env_archcpu(env) when possible.
Philippe Mathieu-Daudé (6):
target/ppc: Use env_archcpu() in helper_book3s_msgsndp() target/riscv: Use env_archcpu() in [check_]nanbox() target/s390x: Use env_archcpu() in handle_diag_308() target/xtensa: Use env_archcpu() in update_c[compare|count]() target/i386/hvf: Use x86_cpu in simulate_[rdmsr|wrmsr]() target/i386: Use env_archcpu() in simulate_[rdmsr/wrmsr]()
target/i386/hvf/x86_emu.h | 4 ++-- target/riscv/internals.h | 8 ++++---- target/i386/hvf/hvf.c | 4 ++-- target/i386/hvf/x86_emu.c | 25 ++++++++++++------------- target/ppc/excp_helper.c | 2 +- target/s390x/diag.c | 2 +- target/xtensa/op_helper.c | 4 ++-- 7 files changed, 24 insertions(+), 25 deletions(-)
Signature · 1 line
2.41.0