]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Support unaligned fixmap in the pKVM hyp
authorVincent Donnefort <vdonnefort@google.com>
Mon, 9 Mar 2026 16:25:08 +0000 (16:25 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Mar 2026 08:51:16 +0000 (08:51 +0000)
commit4cdf8dec8c115d9531f80519db69846c32c580a5
tree37e022a3051942d2e053b9d7bd649002d6b03573
parent8bbeb4d1698fb0945107c69019c15207bbe605c9
KVM: arm64: Support unaligned fixmap in the pKVM hyp

Return the fixmap VA with the page offset, instead of the page base
address. This allows to use hyp_fixmap_map() seamlessly regardless of
the address alignment. While at it, do the same for hyp_fixblock_map().

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Link: https://patch.msgid.link/20260309162516.2623589-23-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/mm.c