aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tools-support-relr.sh
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2019-11-06 15:41:05 +0000
committerWill Deacon <will@kernel.org>2019-11-06 19:31:56 +0000
commit6767df245f4736d0cf0c6fb7cf9cf94b27414245 (patch)
treeb135b7602e4c1c99de58cba6f32f20dd5e75ef32 /scripts/tools-support-relr.sh
parentarm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core (diff)
downloadlinux-dev-6767df245f4736d0cf0c6fb7cf9cf94b27414245.tar.xz
linux-dev-6767df245f4736d0cf0c6fb7cf9cf94b27414245.zip
arm64: Do not mask out PTE_RDONLY in pte_same()
Following commit 73e86cb03cf2 ("arm64: Move PTE_RDONLY bit handling out of set_pte_at()"), the PTE_RDONLY bit is no longer managed by set_pte_at() but built into the PAGE_* attribute definitions. Consequently, pte_same() must include this bit when checking two PTEs for equality. Remove the arm64-specific pte_same() function, practically reverting commit 747a70e60b72 ("arm64: Fix copy-on-write referencing in HugeTLB") Fixes: 73e86cb03cf2 ("arm64: Move PTE_RDONLY bit handling out of set_pte_at()") Cc: <stable@vger.kernel.org> # 4.14.x- Cc: Will Deacon <will@kernel.org> Cc: Steve Capper <steve.capper@arm.com> Reported-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/tools-support-relr.sh')
0 files changed, 0 insertions, 0 deletions