diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-03-09 16:25:05 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-11 08:51:16 +0000 |
| commit | 9019e82c7e46c03c37e8b108473d02b543222d9f (patch) | |
| tree | de392428634637f7b8ccf2d2e8c32dd72b37cac0 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | a717943d8ecc0e533c581bf04473b50f6f17f2cb (diff) | |
KVM: arm64: Add PKVM_DISABLE_STAGE2_ON_PANIC
On NVHE_EL2_DEBUG, when using pKVM, the host stage-2 is relaxed to grant
the kernel access to the stacktrace, hypervisor bug table and text to
symbolize addresses. This is unsafe for production. In preparation for
adding more debug options to NVHE_EL2_DEBUG, decouple the stage-2
relaxation into a separate option.
While at it, rename PROTECTED_NVHE_STACKTRACE into PKVM_STACKTRACE,
following the same naming scheme as PKVM_DISABLE_STAGE2_ON_PANIC.
Reviewed-by: Kalesh Singh <kaleshsingh@google.com>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-20-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
