summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-03-30 17:48:08 +0300
committerMarc Zyngier <maz@kernel.org>2026-03-30 18:58:07 +0300
commit733774b5204553ab5524c0330f262184d9d573f6 (patch)
treeb2dbbe2338f08a8de0792a8736975d99ad9bfbf7 /scripts/patch-kernel
parent3a81a814437d187ac893b3d937985d6503ff3841 (diff)
downloadlinux-733774b5204553ab5524c0330f262184d9d573f6.tar.xz
KVM: arm64: Remove is_protected_kvm_enabled() checks from hypercalls
When pKVM is not enabled, the host shouldn't issue pKVM-specific hypercalls and so there's no point checking for this in the pKVM hypercall handlers. Remove the redundant is_protected_kvm_enabled() checks from each hypercall and instead rejig the hypercall table so that the pKVM-specific hypercalls are unreachable when pKVM is not being used. Reviewed-by: Quentin Perret <qperret@google.com> Reviewed-by: Fuad Tabba <tabba@google.com> Tested-by: Fuad Tabba <tabba@google.com> Tested-by: Mostafa Saleh <smostafa@google.com> Signed-off-by: Will Deacon <will@kernel.org> Link: https://patch.msgid.link/20260330144841.26181-8-will@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions