KVM: arm64: Pass struct kvm to per-EC handlers
authorFuad Tabba <tabba@google.com>
Sun, 10 Oct 2021 14:56:29 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 13:57:28 +0000 (14:57 +0100)
commit3b1a690eda0dc1891e8fc93991b122bff6fabf8c
tree449d8566d4549cd50d75d30be0ffa848d990dd39
parent8fb2046180a0ad347f2e5bcae760dca67e65aa73
KVM: arm64: Pass struct kvm to per-EC handlers

We need struct kvm to check for protected VMs to be able to pick
the right handlers for them in subsequent patches.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211010145636.1950948-5-tabba@google.com
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c