public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] KVM: s390: Fix AR parameter in ioctl
@ 2024-02-20 21:12 Eric Farman
  2024-02-20 21:12 ` [PATCH v4 1/2] KVM: s390: fix access register usage in ioctls Eric Farman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Farman @ 2024-02-20 21:12 UTC (permalink / raw)
  To: Christian Borntraeger, Janosch Frank, Claudio Imbrenda,
	David Hildenbrand
  Cc: Heiko Carstens, Vasily Gorbik, Alexander Gordeev, Sven Schnelle,
	Paolo Bonzini, Shuah Khan, kvm, linux-s390, linux-kselftest,
	Eric Farman

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-21 11:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 21:12 [PATCH v4 0/2] KVM: s390: Fix AR parameter in ioctl Eric Farman
2024-02-20 21:12 ` [PATCH v4 1/2] KVM: s390: fix access register usage in ioctls Eric Farman
2024-02-20 21:12 ` [PATCH v4 2/2] KVM: s390: selftests: memop: add a simple AR test Eric Farman
2024-02-21  7:49 ` [PATCH v4 0/2] KVM: s390: Fix AR parameter in ioctl Janosch Frank
2024-02-21 11:26   ` Heiko Carstens
2024-02-21 11:43     ` Eric Farman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox