Thread (3 messages) read the whole thread 3 messages, 2 authors, 2026-03-17

Re: [PATCH] KVM: arm64: Fix the descriptor address in __kvm_at_swap_desc()

From: Marc Zyngier <maz@kernel.org>
Date: 2026-03-17 13:44:38
Also in: kvmarm

On Tue, 17 Mar 2026 19:57:48 +0800, Zenghui Yu wrote:
Using "(u64 __user *)hva + offset" to get the virtual addresses of S1/S2
descriptors looks really wrong, if offset is not zero. What we want to get
for swapping is hva + offset, not hva + offset*8. ;-)

Fix it.


[...]
Applied to fixes, thanks!

[1/1] KVM: arm64: Fix the descriptor address in __kvm_at_swap_desc()
      commit: 0496acc42fb51eee040b5170cec05cec41385540

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help