Skip to content

KVM: PPC: Book3S HV: kvmhv_copy_tofrom_guest_radix changes

Fabiano Rosas kvm-ppc linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v11 patch 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: PPC: Book3S HV: Fix copy_tofrom_guest routinesarch/powerpc/kvm/book3s_64_mmu_radix.c+4 -21 reply
2/3KVM: PPC: Book3S HV: Add sanity check to copy_tofrom_guestarch/powerpc/kvm/book3s_64_mmu_radix.c+3 -01 reply
3/3KVM: PPC: Book3S HV: Stop exporting symbols from book3s_64_mmu_radixarch/powerpc/kvm/book3s_64_mmu_radix.c+0 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] KVM: PPC: Book3S HV: kvmhv_copy_tofrom_guest_radix changes

This series contains the fix for __kvmhv_copy_tofrom_guest_radix plus a couple of changes.

- Patch 1: The fix itself. I thought a smaller fix upfront would be better to facilitate any backports.

- Patch 2: Adds a sanity check to the low level function. Since the hcall API already enforces that the effective address must be on quadrant 0, moving the checks from the high level function would only add overhead to the hcall path, so I opted for a lightweight check at the low level.

- Patch 3: Cleans up the EXPORT_SYMBOL_GPL tags. I don't see how they would be needed since the functions are contained within kvm-hv.ko.

v1:

https://lkml.kernel.org/r/[email protected]

Fabiano Rosas (3):
KVM: PPC: Book3S HV: Fix copy_tofrom_guest routines
KVM: PPC: Book3S HV: Add sanity check to copy_tofrom_guest
KVM: PPC: Book3S HV: Stop exporting symbols from book3s_64_mmu_radix

 arch/powerpc/kvm/book3s_64_mmu_radix.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.29.2