KVM: e500: track host-writability of pages
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2025 15:21:38 +0000 (16:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 12 Jan 2025 09:35:41 +0000 (10:35 +0100)
commitf2104bf22f0475a08a0feeee40d8e45ce38ed5a1
treed492f6b80d35c1ba060e863e28181b1021009706
parente97fbb43fb1b2e909dfd726204af3cdcb971517e
KVM: e500: track host-writability of pages

Add the possibility of marking a page so that the UW and SW bits are
force-cleared.  This is stored in the private info so that it persists
across multiple calls to kvmppc_e500_setup_stlbe.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/powerpc/kvm/e500.h
arch/powerpc/kvm/e500_mmu_host.c