]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: mm: Use non-global mappings for kernel space
authorWill Deacon <will.deacon@arm.com>
Thu, 10 Aug 2017 11:56:18 +0000 (12:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 11 Dec 2017 13:40:11 +0000 (13:40 +0000)
commite046eb0c9bf26d94be9e4592c00c7a78b0fa9bfd
treec82b3262fa2dc9a4b97ac2d020e7a326d7b78829
parent50c4c4e268a2d7a3e58ebb698ac74da0de40ae36
arm64: mm: Use non-global mappings for kernel space

In preparation for unmapping the kernel whilst running in userspace,
make the kernel mappings non-global so we can avoid expensive TLB
invalidation on kernel exit to userspace.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/kernel-pgtable.h
arch/arm64/include/asm/pgtable-prot.h