diff options
| author | 2026-04-21 07:52:44 +0200 | |
|---|---|---|
| committer | 2026-04-28 14:45:03 +0200 | |
| commit | b95e0e792822bad8fc9eb33ea3a90005e29e75e9 (patch) | |
| tree | 477afa415a5b339a8bd0988641f07a770d0a6dca /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | s390/sclp: Remove SCLP_OFB Kconfig option (diff) | |
s390/mm: Fix phys_to_folio() usage in do_secure_storage_access()
In case of a Secure-Storage-Access exception the effective aka virtual
address which caused the exception is contained within the TEID.
do_secure_storage_access() incorrectly uses phys_to_folio() instead of
virt_to_folio() to translate the virtual address to the corresponding
folio.
Fix this by using virt_to_folio() instead of phys_to_folio().
Fixes: 084ea4d611a3 ("s390/mm: add (non)secure page access exceptions handlers")
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
