summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2026-11-05 16:37:05 +0100
committerChristian Borntraeger <borntraeger@linux.ibm.com>2026-11-12 15:11:08 +0100
commit6761f65e6823876534a9c3eec4cee1674dce415d (patch)
tree1ba0dd19fdc776a324ce6e59195243183cfb375d /scripts/Makefile.thinlto
parentd71e7918b459d7766626121ea7af5d74cdac249d (diff)
KVM: s390: vsie: Fix pinning using the wrong flag
When pinning guest memory using pin_blocks(), gfn_to_page() was used, which under the hood uses FOLL_GET, which is the wrong type of flag for memory that is accessed directly by hardware. Fix by using kvm_vcpu_{,un}map(), which uses FOLL_PIN and is the correct thing to do. While technically a bugfix, the previous behaviour can only lead to guest corruption in extremely convoluted test scenarios that cannot happen in real/production systems. Fixes: e38c884df921 ("KVM: s390: Switch to new gmap") Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Cc: stable@vger.kernel.org #7.0+ Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions