Skip to content

target-ppc: htab fixes

Greg Kurz qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target-ppc: Fix htab_mask calculationhw/ppc/spapr.c hw/ppc/spapr_hcall.c target-ppc/cpu.h +5 more+40 -140 replies
1/4target-ppc: Fix htab_mask calculationhw/ppc/spapr.c hw/ppc/spapr_hcall.c target-ppc/cpu.h +5 more+40 -140 replies
2/4target-ppc: Fix page table lookup with kvm enabledhw/ppc/spapr.c hw/ppc/spapr_hcall.c target-ppc/kvm.c +3 more+183 -400 replies
2/4target-ppc: Fix page table lookup with kvm enabledhw/ppc/spapr.c hw/ppc/spapr_hcall.c target-ppc/kvm.c +3 more+184 -400 replies
3/4target-ppc: Change the hpte store APIhw/ppc/spapr_hcall.c target-ppc/mmu-hash64.c target-ppc/mmu-hash64.h+16 -310 replies
3/4target-ppc: Change the hpte store APIhw/ppc/spapr_hcall.c target-ppc/mmu-hash64.c target-ppc/mmu-hash64.h+16 -310 replies
4/4target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htabtarget-ppc/kvm.c target-ppc/kvm_ppc.h target-ppc/mmu-hash64.c +1 more+68 -150 replies
4/4target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htabtarget-ppc/kvm.c target-ppc/kvm_ppc.h target-ppc/mmu-hash64.c +1 more+68 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] target-ppc: htab fixes

Hi,

This is a new tentative for the patches 2/5 to 5/5 from the "target-ppc: Add support for dumping guest memory using qemu gdb server" patchset:

https://lists.nongnu.org/archive/html/qemu-ppc/2014-01/msg00380.html

All patches have been rebased on the current ppc-next head (72c798d7dccc).

To ensure proper bisectability, the following was verified for each individual patch:
•- 32 and 64 bit build of ppc-softmmu and ppc64-softmmu (fedora 19 ppc64) •- 64 bit pseries guest with KVM on a POWER7 host (fedora 19 ppc64) •- 64 bit pseries guest with 64 bit TCG on a x86_64 host (fedora 19 ppc64) •- 64 bit pseries guest with 32 bit TCG on a x86_64 host (fedora 19 ppc64) •- 32 bit mac99 guest with 64 bit TCG on a x86_64 host (wheezy ppc) •- 32 bit mac99 guest with 32 bit TCG on a x86_64 host (wheezy ppc)

Alex,

This should address all the requirements you expressed in your last mail. Please tell me if something is missing.

Best regards.

---

Aneesh Kumar K.V (4):
target-ppc: Fix htab_mask calculation
target-ppc: Fix page table lookup with kvm enabled
target-ppc: Change the hpte store API
target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab

 hw/ppc/spapr.c           |    9 ++++
 hw/ppc/spapr_hcall.c     |   81 ++++++++++++++++++++++---------------
 target-ppc/cpu.h         |    1 
 target-ppc/kvm.c         |   93 ++++++++++++++++++++++++++++++++++++++++++
 target-ppc/kvm_ppc.h     |   29 +++++++++++++
 target-ppc/machine.c     |   11 +++--
 target-ppc/misc_helper.c |    4 +-
 target-ppc/mmu-hash64.c  |  101 +++++++++++++++++++++++++++++++++++++++-------
 target-ppc/mmu-hash64.h  |   47 ++++++++-------------
 target-ppc/mmu_helper.c  |    3 +
 10 files changed, 293 insertions(+), 86 deletions(-)
Signature · 1 line
Greg