diff options
| author | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-08-28 13:54:34 +0200 |
|---|---|---|
| committer | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-09-01 15:42:27 +0200 |
| commit | faff4c8ff3dbec6d71b89dd281a0d17c4478fa44 (patch) | |
| tree | 75e52b165b83f652311f80ed72fb6d78d1529eb8 /scripts/Makefile.thinlto | |
| parent | ae12d2f9c119639a142d92c4a37c30277e8576da (diff) | |
| download | linux-next-faff4c8ff3dbec6d71b89dd281a0d17c4478fa44.tar.gz linux-next-faff4c8ff3dbec6d71b89dd281a0d17c4478fa44.zip | |
KVM: s390: Fix _gaccess_shadow_fault()
In some circumstances, it is possible that the page of nested guest
memory that is being shadowed is not present at all in the parent guest
gmap. dat_entry_walk() will not find any leaf entry and return with
-ENOENT, which will erroneously be propagated all the way to userspace.
Fix by manually calling gmap_link() on the memory of the nested guest
that is being shadowed if the mapping was not already present.
Fixes: e38c884df921 ("KVM: s390: Switch to new gmap")
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20260828115439.145885-4-imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
