On Mon, Nov 29, 2021 at 08:00:45PM +0000, Marc Zyngier wrote: > Ganapatrao reported that the kvm_pgtable->mmu pointer is more or > less hardcoded to the main S2 mmu structure, while the nested > code needs it to point to other instances (as we have one instance > per nested context). > > Rework the initialisation of the kvm_pgtable structure so that > this assumtion doesn't hold true anymore. This requires some > minor changes to the order in which things are initialised > (the mmu->arch pointer being the critical one). > > Reported-by: Ganapatrao Kulkarni <gankulkarni@xxxxxxxxxxxxxxxxxxxxxx> > Reviewed-by: Ganapatrao Kulkarni <gankulkarni@xxxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> Looks fairly simple. Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm