]> git.baikalelectronics.ru Git - kernel.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)
commit1cd5f719182ab0069aa1f658f4686cc316d20a35
treeddb515a56d0719959a74ec88bca1a2ea917fc725
parent128848f6a2f8e8ea513d44a8d72b255674940f74
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