summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2026-08-28 13:54:32 +0200
committerClaudio Imbrenda <imbrenda@linux.ibm.com>2026-09-01 15:42:27 +0200
commitd215f014b3526a9898d87bfb4b866287f0864cc9 (patch)
treed0e8eadaf5b74810c7008185df48ea634da32857 /scripts/Makefile.thinlto
parent786262be6048deab760f68c8acc2c85607165894 (diff)
downloadlinux-next-d215f014b3526a9898d87bfb4b866287f0864cc9.tar.gz
linux-next-d215f014b3526a9898d87bfb4b866287f0864cc9.zip
KVM: s390: Fix dirty marking in adapter_indicators_set*()
When the indicator and/or summary bits are set in the guest, the accessed page was only marked dirty in KVM if the access was performed using the slow path; accesses through the new kvm_arch_set_irq_inatomic fast inject path would not mark the page as dirty. Fix by adding/moving the missing calls to mark_page_dirty(). Note that for the inatomic path set_page_dirty{,_lock}() is not needed as the page stays pinned; the unpin path correctly marks it as dirty. Opportunistically reorder the local variables to be in reverse Christmas tree order and refactor to use guard(). Fixes: 1e95e3bc6b05 ("KVM: s390: Enable adapter_indicators_set to use mapped pages") Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-ID: <20260828115439.145885-2-imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions