aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2022-11-19 09:25:39 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-23 18:58:46 -0500
commit8332f0ed4f187c7b700831bd7cc83ce180a944b9 (patch)
treeaadcb802494a9cdb91a60327ab4ea8a680284bfd /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentc2b8cdfaf3a6721afe0c8c060a631b1c67a7f1ee (diff)
KVM: Update gfn_to_pfn_cache khva when it moves within the same page
In the case where a GPC is refreshed to a different location within the same page, we didn't bother to update it. Mostly we don't need to, but since the ->khva field also includes the offset within the page, that does have to be updated. Fixes: 3ba2c95ea180 ("KVM: Do not incorporate page offset into gfn=>pfn cache user address") Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org> Reviewed-by: Sean Christopherson <seanjc@google.com> Cc: stable@kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions