diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-09-28 10:54:50 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-01 12:54:18 +0100 |
| commit | 6c29285e78b5e4811145ebda382ac0ba732ce56a (patch) | |
| tree | 2b810e212a0ec44330902cdc40f7d900f172704e /tools/perf/scripts/python/stackcollapse.py | |
| parent | fd73f4a6659897191fa0d40695fe370925dd3780 (diff) | |
KVM: arm64: Fix MMFR0 TGRAN advertisement for pVMs
Protected VM ID register emulation leaves unlisted fields at 0. This
creates two issues for TGRAN:
* TGRAN16: 0 means non-implemented. It prevents 16KB protected VMs
from booting even when the hardware supports it.
* TGRAN4|TGRAN64: 0 means implemented. This may falsely advertise the
feature even when the hardware does not support it.
Advertise all the TGRAN fields in pvmid_aa64mmfr0 so that the hardware
support is properly propagated.
Cc: stable@vger.kernel.org
Fixes: 6c30bfb18d0b ("KVM: arm64: Add handlers for protected VM System Registers")
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260928095454.3255918-2-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
