aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorQuentin Perret <[email protected]>2021-12-08 15:22:59 +0000
committerMarc Zyngier <[email protected]>2021-12-15 14:18:31 +0000
commit64a1fbda59f4b14adde7f21cda687e2b9703b7bb (patch)
treeb5c803ef11943394ad725803c4d6b80ba51d4e7f /net/lapb/lapb_timer.c
parentbff01cb6b1bf68052739eb6155132f7d6d974208 (diff)
KVM: arm64: pkvm: Make kvm_host_owns_hyp_mappings() robust to VHE
The kvm_host_owns_hyp_mappings() function should return true if and only if the host kernel is responsible for creating the hypervisor stage-1 mappings. That is only possible in standard non-VHE mode, or during boot in protected nVHE mode. But either way, none of this makes sense in VHE, so make sure to catch this case as well, hence making the function return sensible values in any context (VHE or not). Suggested-by: Marc Zyngier <[email protected]> Signed-off-by: Quentin Perret <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions