diff options
author | Marc Zyngier <[email protected]> | 2021-11-29 20:00:45 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-12-16 17:01:05 +0000 |
commit | 9d8604b28575ccab3afd8d6f56cab9a6c0d281ef (patch) | |
tree | d4af915ba4f5d62d37ab6d53b55344630852900f /drivers/usb/cdns3/cdns3-imx.c | |
parent | 142ff9bddbde757674c7081ffc238cfcffa1859b (diff) |
KVM: arm64: Rework kvm_pgtable initialisation
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 protected]>
Reviewed-by: Ganapatrao Kulkarni <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions