diff options
| author | Janosch Frank <frankja@linux.ibm.com> | 2026-03-04 13:18:37 +0300 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-03-16 18:56:28 +0300 |
| commit | b00be77302d7ec4ad0367bb236494fce7172b730 (patch) | |
| tree | 68da8fa9c55e103a758e4bec2bd90cbaa7a1a382 /scripts/dummy-tools | |
| parent | f303406efd0b6b8740ce5c47e852097bbcf54879 (diff) | |
| download | linux-b00be77302d7ec4ad0367bb236494fce7172b730.tar.xz | |
s390/mm: Add missing secure storage access fixups for donated memory
There are special cases where secure storage access exceptions happen
in a kernel context for pages that don't have the PG_arch_1 bit
set. That bit is set for non-exported guest secure storage (memory)
but is absent on storage donated to the Ultravisor since the kernel
isn't allowed to export donated pages.
Prior to this patch we would try to export the page by calling
arch_make_folio_accessible() which would instantly return since the
arch bit is absent signifying that the page was already exported and
no further action is necessary. This leads to secure storage access
exception loops which can never be resolved.
With this patch we unconditionally try to export and if that fails we
fixup.
Fixes: 084ea4d611a3 ("s390/mm: add (non)secure page access exceptions handlers")
Reported-by: Heiko Carstens <hca@linux.ibm.com>
Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'scripts/dummy-tools')
0 files changed, 0 insertions, 0 deletions
