Skip to content

target/ppc: Forbid to use legacy ldst_phys() API

Philippe Mathieu-Daudé kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8hw/ppc/spapr: Un-inline rtas_load/store() helpershw/ppc/spapr_rtas.c include/hw/ppc/spapr.h+18 -151 reply
2/8target/ppc: Factor common ppc_load_epr() helper outtarget/ppc/cpu.c target/ppc/cpu.h target/ppc/excp_helper.c +1 more+12 -31 reply
3/8target/ppc/mmu: Remove unused hash32_store_hpte() helperstarget/ppc/mmu-hash32.h+0 -161 reply
4/8target/ppc/mmu: Restrict hash32_load_hpte() helpers scopetarget/ppc/mmu-hash32.c target/ppc/mmu-hash32.h+14 -161 reply
5/8target/ppc/mmu: Replace legacy ld/st_phys() -> address_space_ld/st()target/ppc/cpu.c target/ppc/mmu-hash32.c+12 -54 replies
6/8hw/ppc/pegasos: Introduce rtas_ldl() / rtas_stl() helpershw/ppc/pegasos.c+38 -280 replies
7/8hw/ppc/pegasos: Replace legacy ld/st_phys() -> address_space_ld/st()hw/ppc/pegasos.c+3 -20 replies
8/8configs/targets: Restrict the legacy ldst_phys() API on PPCconfigs/targets/ppc-softmmu.mak+1 -00 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHarsh Prateek BoraChinmay RathGlenn Miles
SeriesR-b A-b
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8A-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] target/ppc: Forbid to use legacy ldst_phys() API

Replace legacy ld/st_phys() by address_space_ld/st() then lock the target again further legacy API uses.

Philippe Mathieu-Daudé (8):
hw/ppc/spapr: Un-inline rtas_load/store() helpers target/ppc: Factor common ppc_load_epr() helper out target/ppc/mmu: Remove unused hash32_store_hpte() helpers target/ppc/mmu: Restrict hash32_load_hpte() helpers scope target/ppc/mmu: Replace legacy ld/st_phys() -> address_space_ld/st() hw/ppc/pegasos: Introduce rtas_ldl() / rtas_stl() helpers hw/ppc/pegasos: Replace legacy ld/st_phys() -> address_space_ld/st() configs/targets: Restrict the legacy ldst_phys() API on PPC

 configs/targets/ppc-softmmu.mak |  1 +
 include/hw/ppc/spapr.h          | 18 ++-------
 target/ppc/cpu.h                |  2 +
 target/ppc/mmu-hash32.h         | 32 ----------------
 hw/ppc/pegasos.c                | 67 +++++++++++++++++++--------------
 hw/ppc/spapr_rtas.c             | 15 ++++++++
 target/ppc/cpu.c                |  9 +++++
 target/ppc/excp_helper.c        |  3 +-
 target/ppc/kvm.c                |  2 +-
 target/ppc/mmu-hash32.c         | 24 +++++++++++-
 10 files changed, 93 insertions(+), 80 deletions(-)
Signature · 1 line
2.53.0