[PATCH] arm64: mm: fix thinko in non-global page table attribute check

Catalin Marinas catalin.marinas at arm.com
Mon Feb 26 06:27:44 PST 2018


On Fri, Feb 23, 2018 at 06:04:48PM +0000, Ard Biesheuvel wrote:
> The routine pgattr_change_is_safe() was extended in commit 4e6020565596
> ("arm64: mm: Permit transitioning from Global to Non-Global without BBM")
> to permit changing the nG attribute from not set to set, but did so in a
> way that inadvertently disallows such changes if other permitted attribute
> changes take place at the same time. So update the code to take this into
> account.
> 
> Fixes: 4e6020565596 ("arm64: mm: Permit transitioning from Global to ...")
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

Queued for 4.16. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list