summaryrefslogtreecommitdiff
path: root/arch/s390/crypto
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2021-02-01 19:26:54 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2021-03-24 12:15:12 +0300
commit5ac14bac08ae827b619f21bcceaaac3b8c497e31 (patch)
tree517f5043df565bca818ddf001cfee5359a079fc9 /arch/s390/crypto
parentf85f1baaa18932a041fd2b1c2ca6cfd9898c7d2b (diff)
downloadlinux-5ac14bac08ae827b619f21bcceaaac3b8c497e31.tar.xz
KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
Extend kvm_s390_shadow_fault to return the pointer to the valid leaf DAT table entry, or to the invalid entry. Also return some flags in the lower bits of the address: PEI_DAT_PROT: indicates that DAT protection applies because of the protection bit in the segment (or, if EDAT, region) tables. PEI_NOT_PTE: indicates that the address of the DAT table entry returned does not refer to a PTE, but to a segment or region table. Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Cc: stable@vger.kernel.org Reviewed-by: Janosch Frank <frankja@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Link: https://lore.kernel.org/r/20210302174443.514363-3-imbrenda@linux.ibm.com [borntraeger@de.ibm.com: fold in a fix from Claudio] Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/crypto')
0 files changed, 0 insertions, 0 deletions