[PATCH v2 0/3] KVM: PPC: Book3S HV: kvmhv_copy_tofrom_guest_radix changes
Fabiano Rosas
farosas at linux.ibm.com
Fri Aug 6 07:26:13 AEST 2021
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/20210802234941.2568493-1-farosas@linux.ibm.com
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(-)
--
2.29.2
More information about the Linuxppc-dev
mailing list