diff options
| author | Vincent Donnefort <[email protected]> | 2025-01-07 11:28:21 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-01-08 11:18:39 +0000 |
| commit | 68344037b764401f751c66661c53334ea1e15324 (patch) | |
| tree | 280c346d64c2652836e8625f137e3e46ff82a11e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Documentation: Update the behaviour of "kvm-arm.mode" (diff) | |
| download | kernel-68344037b764401f751c66661c53334ea1e15324.tar.gz kernel-68344037b764401f751c66661c53334ea1e15324.zip | |
KVM: arm64: Fix nVHE stacktrace VA bits mask
The hypervisor VA space size depends on both the ID map's
(IDMAP_VA_BITS) and the kernel stage-1 (VA_BITS). However, the
hypervisor stacktrace decoding is solely relying on VA_BITS. This is
especially an issue when VA_BITS < IDMAP_VA_BITS (i.e. VA_BITS is
39-bit): the hypervisor may have addresses bigger than the stacktrace is
masking.
Align this mask with hyp_va_bits.
Signed-off-by: Vincent Donnefort <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
