[PATCH] arm64: mm: fix VA-range sanity check

Catalin Marinas catalin.marinas at arm.com
Thu Jun 15 10:11:13 PDT 2023


On Thu, 15 Jun 2023 11:26:28 +0100, Mark Rutland wrote:
> Both create_mapping_noalloc() and update_mapping_prot() sanity-check the
> their 'virt' parameter, but the check itself doesn't make much sense.
> The condition used today appears to be a historical accident.
> 
> The sanity-check condition:
> 
> 	if ((virt >= PAGE_END) && (virt < VMALLOC_START)) {
> 		[ ... warning here ... ]
> 		return;
> 	}
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: mm: fix VA-range sanity check
      https://git.kernel.org/arm64/c/ab9b4008092c

-- 
Catalin




More information about the linux-arm-kernel mailing list