[PATCH v4 0/2] KVM: s390: Fix AR parameter in ioctl

Eric Farman
2024-02-20T21:12:23Z

Hi Janosch,

Here is a new (final?) version for the AR/MEM_OP issue I'm attempting to
address. Hopefully they can be picked up to whatever tree makes sense.

Changes:
v4:
[HC,CB,NSG] Add tags (thank you!)
[NSG] Add commentary
v3: https://lore.kernel.org/r/20240216213616.3819805-1-farman@linux.ibm.com/
[HC] Drop the AR swap in MEM_OP path
[HC] Remove WARN and don't do save_access_regs on !bool
v2: https://lore.kernel.org/r/20240215205344.2562020-1-farman@linux.ibm.com/
[HC] Add a flag to indicate access registers have been loaded
v1: https://lore.kernel.org/r/20240209204539.4150550-1-farman@linux.ibm.com/
[CB] Store access registers around memop ioctl
[JF] Add a kernel selftest
RFC: https://lore.kernel.org/r/20240131205832.2179029-1-farman@linux.ibm.com/

Eric Farman (2):
KVM: s390: fix access register usage in ioctls
KVM: s390: selftests: memop: add a simple AR test

arch/s390/include/asm/kvm_host.h | 2 ++
arch/s390/kvm/gaccess.c | 3 ++-
arch/s390/kvm/kvm-s390.c | 3 +++
tools/testing/selftests/kvm/s390x/memop.c | 31 +++++++++++++++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)

--
2.40.1