]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Jan 2018 12:00:00 +0000 (12:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:27 +0000 (22:53 +0000)
commit439e70e27a51fe374806f460848066b237b0c10b
tree6ee39e0a49a2f6de0878fe09b291cf53fa9bd941
parent79ddab3b05ca903f552fd5bf920efa055210322b
arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives

The identity map is mapped as both writeable and executable by the
SWAPPER_MM_MMUFLAGS and this is relied upon by the kpti code to manage
a synchronisation flag. Update the .pushsection flags to reflect the
actual mapping attributes.

Reported-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpu-reset.S
arch/arm64/kernel/head.S
arch/arm64/kernel/sleep.S
arch/arm64/mm/proc.S