diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-10-01 14:57:02 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 15:22:39 +0100 |
| commit | fe40ff87ead5c541ac4b42aa149b98052a1abca1 (patch) | |
| tree | bff5b77d74862eb3ae11c486c6b83690d22727eb /tools/perf/scripts/python/task-analyzer.py | |
| parent | ceaf9e57f88711fa3c7775ee4fea4f6731f1a71c (diff) | |
KVM: arm64: Implement HVC handling for protected guests at EL2
Extend kvm_handle_pvm_hvc64() to handle SMCCC_VERSION,
SMCCC_ARCH_FEATURES and the vendor hypervisor call UID at EL2, so
these queries don't reach the host. ARCH_FEATURES is mandatory from
SMCCC 1.1, the version EL2 implements: it returns SUCCESS for itself and
for SMCCC_VERSION, NOT_SUPPORTED for anything else, and handles the
ARCH_WORKAROUND_1/2/3 queries as the host does, from a copy of the
host's mitigation state taken at init with the sanitised ID registers.
The workaround calls themselves are already handled on hyp entry.
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261001135711.1640520-10-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
