]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Drop useless __GFP_HIGHMEM from kvm struct allocation
authorOliver Upton <oupton@kernel.org>
Wed, 19 Nov 2025 09:38:21 +0000 (01:38 -0800)
committerOliver Upton <oupton@kernel.org>
Wed, 19 Nov 2025 20:20:56 +0000 (12:20 -0800)
commit297877069bc2fa079fb2a60ae91ca9abb481074a
treeb54757a59f3fe68256d67d0836de7d8f91d7e09f
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
KVM: arm64: Drop useless __GFP_HIGHMEM from kvm struct allocation

A recent change on the receiving end of vmalloc() started warning about
unsupported GFP flags passed by the caller. Nathan reports that this
warning fires in kvm_arch_alloc_vm(), owing to the fact that KVM is
passing a meaningless __GFP_HIGHMEM.

Do as the warning says and fix the code.

Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/kvmarm/20251118224448.GA998046@ax162/
Acked-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://msgid.link/20251119093822.2513142-2-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/arm.c