You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
KVM: arm64: Factor out stage 2 page table data from struct kvm
As we are about to reuse our stage 2 page table manipulation code forshadow stage 2 page tables in the context of nested virtualization, weare going to manage multiple stage 2 page tables for a single VM.This requires some pretty invasive changes to our data structures,which moves the vmid and pgd pointers into a separate structure andchange pretty much all of our mmu code to operate on this structureinstead.The new structure is called struct kvm_s2_mmu.There is no intended functional change by this patch alone.Reviewed-by: James Morse <james.morse@arm.com>Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>[Designed data structure layout in collaboration]Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>Co-developed-by: Marc Zyngier <maz@kernel.org>[maz: Moved the last_vcpu_ran down to the S2 MMU structure as well]Signed-off-by: Marc Zyngier <maz@kernel.org>