[PATCH] arm64: mte: Map hotplugged memory as Normal Tagged

Will Deacon will at kernel.org
Wed Mar 10 11:39:18 GMT 2021


On Tue, 9 Mar 2021 12:26:01 +0000, Catalin Marinas wrote:
> In a system supporting MTE, the linear map must allow reading/writing
> allocation tags by setting the memory type as Normal Tagged. Currently,
> this is only handled for memory present at boot. Hotplugged memory uses
> Normal non-Tagged memory.
> 
> Introduce pgprot_mhp() for hotplugged memory and use it in
> add_memory_resource(). The arm64 code maps pgprot_mhp() to
> pgprot_tagged().
> 
> [...]

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

[1/1] arm64: mte: Map hotplugged memory as Normal Tagged
      https://git.kernel.org/arm64/c/d15dfd31384b

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list