Blob Blame History Raw
From: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Date: Mon, 21 Feb 2022 15:36:57 +0100
Subject: KVM: s390: Clarify key argument for MEM_OP in api docs
Git-commit: cbf9b8109d32a53395369c0dabde005cb8fa3852
Patch-mainline: v5.18-rc1
References: jsc#PED-579

Clarify that the key argument represents the access key, not the whole
storage key.

Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Link: https://lore.kernel.org/r/20220221143657.3712481-1-scgl@linux.ibm.com
Fixes: 5e35d0eb472b ("KVM: s390: Update api documentation for memop ioctl")
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Acked-by: Petr Tesarik <ptesarik@suse.com>
---
 Documentation/virt/kvm/api.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -3541,7 +3541,7 @@ KVM_S390_MEMOP_F_INJECT_EXCEPTION is set
 
 If the KVM_S390_MEMOP_F_SKEY_PROTECTION flag is set, storage key
 protection is also in effect and may cause exceptions if accesses are
-prohibited given the access key passed in "key".
+prohibited given the access key designated by "key"; the valid range is 0..15.
 KVM_S390_MEMOP_F_SKEY_PROTECTION is available if KVM_CAP_S390_MEM_OP_EXTENSION
 is > 0.