aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <[email protected]>2022-02-11 19:22:08 +0100
committerChristian Borntraeger <[email protected]>2022-02-14 16:12:57 +0100
commit61380a7adfce1524b8cd16c0ce4f46abce587f95 (patch)
tree08cb07d8d0e88f24630c3ad24a8b304d32350cbf /net/lapb/lapb_subr.c
parente613d83454d7da1c37d78edb278db9c20afb21a2 (diff)
KVM: s390: handle_tprot: Honor storage keys
Use the access key operand to check for key protection when translating guest addresses. Since the translation code checks for accessing exceptions/error hvas, we can remove the check here and simplify the control flow. Keep checking if the memory is read-only even if such memslots are currently not supported. handle_tprot was the last user of guest_translate_address, so remove it. Signed-off-by: Janis Schoetterl-Glausch <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions