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

Philippe Mathieu-Daudé posted 8 patches 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260319111936.68041-1-philmd@linaro.org
Maintainers: BALATON Zoltan <balaton@eik.bme.hu>, Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Chinmay Rath <rathc@linux.ibm.com>, Glenn Miles <milesg@linux.ibm.com>, Paolo Bonzini <pbonzini@redhat.com>
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(-)
[PATCH 0/8] target/ppc: Forbid to use legacy ldst_phys() API
Posted by Philippe Mathieu-Daudé 2 weeks, 3 days ago
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(-)

-- 
2.53.0