]> Git Repo - linux.git/commit
arm64: mm: Wire up TCR.DS bit to PTE shareability fields
authorArd Biesheuvel <[email protected]>
Wed, 14 Feb 2024 12:29:15 +0000 (13:29 +0100)
committerCatalin Marinas <[email protected]>
Fri, 16 Feb 2024 12:42:38 +0000 (12:42 +0000)
commitdb95ea787bd19be666ba41733259ffea65963bff
tree4b5b859adaad022e80f6140f4bd62d02b470c0e1
parent7ac8d5b2423cc0112ac2519276610865142a577b
arm64: mm: Wire up TCR.DS bit to PTE shareability fields

When LPA2 is enabled, bits 8 and 9 of page and block descriptors become
part of the output address instead of carrying shareability attributes
for the region in question.

So avoid setting these bits if TCR.DS == 1, which means LPA2 is enabled.

Signed-off-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/Kconfig
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable-prot.h
arch/arm64/mm/mmap.c
arch/arm64/mm/proc.S
This page took 0.059563 seconds and 4 git commands to generate.