diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-08 18:19:28 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-12 12:35:36 +0300 |
commit | e97fbb43fb1b2e909dfd726204af3cdcb971517e (patch) | |
tree | 5f31d0f93d77206af60245d98419a2c9436a22df /scripts/extract-fwblobs | |
parent | 87ecfdbc699cc95fac73291b52650283ddcf929d (diff) | |
download | linux-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