diff options
| author | Oliver Upton <oupton@kernel.org> | 2026-06-18 16:42:05 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-22 10:43:25 +0100 |
| commit | 4bd7dbe0b2243e6aa735cae4d5e1ff988b30b2a6 (patch) | |
| tree | aca6e7149c5ad2d22f2711046976be66b238ae08 /drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git | |
| parent | bb645aa0a4caeaf7f9cd32e9a948594d434c1a8f (diff) | |
KVM: arm64: nv: Inject SEA if guest VNCR isn't normal memory
When constructing an L1 VNCR mapping, KVM unconditionally uses cacheable
memory attributes, even if the underlying PFN isn't memory. This gets
particularly hairy if the endpoint doesn't support cacheable memory
attributes, potentially throwing an SError on writeback...
While KVM does permit cacheable memory attributes on certain PFNMAP
VMAs, kvm_translate_vncr() isn't currently grabbing the VMA. So do the
simpler thing for now and just reject everything that isn't memory.
Cc: stable@vger.kernel.org
Fixes: 2a359e072596 ("KVM: arm64: nv: Handle mapping of VNCR_EL2 at EL2")
Signed-off-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260618234207.1063941-5-oupton@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
