diff options
author | Quentin Perret <[email protected]> | 2021-12-15 16:12:18 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-12-16 12:58:55 +0000 |
commit | 1fac3cfb9cc60d71b66ee5127b2bc5b5f9f79df8 (patch) | |
tree | 1abf3fa55ee3b175cc4aa4e84004dad70de65faf /drivers/usb/cdns3/cdns3-imx.c | |
parent | 2d761dbf7ff48b7eca4486658c5995b9669bcbbc (diff) |
KVM: arm64: Provide {get,put}_page() stubs for early hyp allocator
In nVHE protected mode, the EL2 code uses a temporary allocator during
boot while re-creating its stage-1 page-table. Unfortunately, the
hyp_vmmemap is not ready to use at this stage, so refcounting pages
is not possible. That is not currently a problem because hyp stage-1
mappings are never removed, which implies refcounting of page-table
pages is unnecessary.
In preparation for allowing hypervisor stage-1 mappings to be removed,
provide stub implementations for {get,put}_page() in the early allocator.
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[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