diff options
author | 2023-02-06 17:46:00 +0100 | |
---|---|---|
committer | 2023-02-07 18:06:00 +0100 | |
commit | 3fd49805d19d1c566e92358d2e3d9fadb3b5ec16 (patch) | |
tree | 4de702216abb87beb4214e4a2ae5d517b63ac27c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: s390: Refactor vcpu mem_op function (diff) | |
download | wireguard-linux-3fd49805d19d1c566e92358d2e3d9fadb3b5ec16.tar.xz wireguard-linux-3fd49805d19d1c566e92358d2e3d9fadb3b5ec16.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions