diff options
| author | Will Deacon <will@kernel.org> | 2026-03-30 15:48:08 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-30 16:58:07 +0100 |
| commit | 733774b5204553ab5524c0330f262184d9d573f6 (patch) | |
| tree | b2dbbe2338f08a8de0792a8736975d99ad9bfbf7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3a81a814437d187ac893b3d937985d6503ff3841 (diff) | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
