summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-01-08 18:19:28 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2025-01-12 12:35:36 +0300
commite97fbb43fb1b2e909dfd726204af3cdcb971517e (patch)
tree5f31d0f93d77206af60245d98419a2c9436a22df /scripts/extract-fwblobs
parent87ecfdbc699cc95fac73291b52650283ddcf929d (diff)
downloadlinux-e97fbb43fb1b2e909dfd726204af3cdcb971517e.tar.xz
KVM: e500: use shadow TLB entry as witness for writability
kvmppc_e500_ref_setup is returning whether the guest TLB entry is writable, which is than passed to kvm_release_faultin_page. This makes little sense for two reasons: first, because the function sets up the private data for the page and the return value feels like it has been bolted on the side; second, because what really matters is whether the _shadow_ TLB entry is writable. If it is not writable, the page can be released as non-dirty. Shift from using tlbe_is_writable(gtlbe) to doing the same check on the shadow TLB entry. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions