]> Git Repo - linux.git/commit
KVM: s390: Add optional storage key checking to MEMOP IOCTL
authorJanis Schoetterl-Glausch <[email protected]>
Fri, 11 Feb 2022 18:22:10 +0000 (19:22 +0100)
committerChristian Borntraeger <[email protected]>
Mon, 14 Feb 2022 15:12:57 +0000 (16:12 +0100)
commite9e9feebcbc14b174fef862842f8cc9a388e1db3
treedee98779651470e6df4534688a926db761e7bd7e
parentc7ef9ebbed20b860f70cc7bece65622b570a8a93
KVM: s390: Add optional storage key checking to MEMOP IOCTL

User space needs a mechanism to perform key checked accesses when
emulating instructions.

The key can be passed as an additional argument.
Having an additional argument is flexible, as user space can
pass the guest PSW's key, in order to make an access the same way the
CPU would, or pass another key if necessary.

Signed-off-by: Janis Schoetterl-Glausch <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Borntraeger <[email protected]>
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h
This page took 0.073443 seconds and 4 git commands to generate.