]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64/mmu: add contiguous bit to sanity bug check
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 9 Mar 2017 20:52:06 +0000 (21:52 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 23 Mar 2017 13:55:35 +0000 (13:55 +0000)
commit141d1497aae004808ecb156ca2bfb5e0bc460a2e
treeddb515a56d0719959a74ec88bca1a2ea917fc725
parenteccc1bff1b0d168a136ecd51c6091cf0ba02151b
arm64/mmu: add contiguous bit to sanity bug check

A mapping with the contiguous bit cannot be safely manipulated while
live, regardless of whether the bit changes between the old and new
mapping. So take this into account when deciding whether the change
is safe.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c