diff options
author | Janis Schoetterl-Glausch <scgl@linux.ibm.com> | 2023-02-06 17:46:00 +0100 |
---|---|---|
committer | Janosch Frank <frankja@linux.ibm.com> | 2023-02-07 18:06:00 +0100 |
commit | 3fd49805d19d1c566e92358d2e3d9fadb3b5ec16 (patch) | |
tree | 4de702216abb87beb4214e4a2ae5d517b63ac27c /include/video/vga.h | |
parent | 701422b3438240a98000e0db3ef68d4db7991918 (diff) |
KVM: s390: Extend MEM_OP ioctl by storage key checked cmpxchg
User space can use the MEM_OP ioctl to make storage key checked reads
and writes to the guest, however, it has no way of performing atomic,
key checked, accesses to the guest.
Extend the MEM_OP ioctl in order to allow for this, by adding a cmpxchg
op. For now, support this op for absolute accesses only.
This op can be used, for example, to set the device-state-change
indicator and the adapter-local-summary indicator atomically.
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20230206164602.138068-13-scgl@linux.ibm.com
Message-Id: <20230206164602.138068-13-scgl@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'include/video/vga.h')
0 files changed, 0 insertions, 0 deletions