Subject: Re: [PATCH v5 04/69] KVM: arm64: Rework kvm_pgtable initialisation

From: "Russell King (Oracle)" <[email-masked]>
Date: Mon, 17 Jan 2022 15:43:34 +0000

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 <[email-masked]>
> Reviewed-by: Ganapatrao Kulkarni <[email-masked]>
> Signed-off-by: Marc Zyngier <[email-masked]>

Looks fairly simple.

Reviewed-by: Russell King (Oracle) <[email-masked]>

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel