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/[email protected]/
[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/[email protected]/
[HC] Add a flag to indicate access registers have been loaded
v1: https://lore.kernel.org/r/[email protected]/
[CB] Store access registers around memop ioctl
[JF] Add a kernel selftest
RFC: https://lore.kernel.org/r/[email protected]/
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