[PATCH v3] arm64: Expose the end of the linear map in PHYSMEM_END
Will Deacon
will at kernel.org
Wed Sep 4 09:12:36 PDT 2024
On Tue, 03 Sep 2024 09:45:32 -0700, D Scott Phillips wrote:
> The memory hot-plug and resource management code needs to know the
> largest address which can fit in the linear map, so set
> PHYSMEM_END for that purpose.
>
> This fixes a crash[1] at boot when amdgpu tries to create
> DEVICE_PRIVATE_MEMORY and is given a physical address by the
> resource management code which is outside the range which can have
> a `struct page`
>
> [...]
Applied to arm64 (for-next/mm), thanks!
I dropped the cc: stable, however, as PHYSMEM_END looks like it only
exists in linux-next.
[1/1] arm64: Expose the end of the linear map in PHYSMEM_END
https://git.kernel.org/arm64/c/eeb8fdfcf090
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list