[PATCH] KVM: arm64: Fix debug checking for np-guests using huge mappings

Marc Zyngier maz at kernel.org
Mon Sep 15 02:51:16 PDT 2025


On Fri, 15 Aug 2025 17:26:55 +0100, Ben Horgan wrote:
> When running with transparent huge pages and CONFIG_NVHE_EL2_DEBUG then
> the debug checking in assert_host_shared_guest() fails on the launch of an
> np-guest. This WARN_ON() causes a panic and generates the stack below.
> 
> In __pkvm_host_relax_perms_guest() the debug checking assumes the mapping
> is a single page but it may be a block map. Update the checking so that
> the size is not checked and just assumes the correct size.
> 
> [...]

Applied to next, thanks!

[1/1] KVM: arm64: Fix debug checking for np-guests using huge mappings
      commit: 2ba972bf71cb71d2127ec6c3db1ceb6dd0c73173

Cheers,

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





More information about the linux-arm-kernel mailing list