]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mshv: handle gpa intercepts for arm64
authorAnirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Mon, 5 Jan 2026 12:28:37 +0000 (12:28 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 15 Jan 2026 07:29:14 +0000 (07:29 +0000)
commit12ffd561d2de28825f39e15e8d22346d26b09688
tree78b128c07c60a052fa3eb3a4d55407119e3cf01d
parent69c88a6a49cfe1fd6bd5c1166d02a7dd29de9569
mshv: handle gpa intercepts for arm64

The mshv driver now uses movable pages for guests. For arm64 guests
to be functional, handle gpa intercepts for arm64 too (the current
code implements handling only for x86).

Move some arch-agnostic functions out of #ifdefs so that they can be
re-used.

Fixes: b9a66cd5ccbb ("mshv: Add support for movable memory regions")
Signed-off-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/mshv_root_main.c