]> git.baikalelectronics.ru Git - 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)
commit75ed0e9b801858a38b649fed7cd7e504b3f55456
tree6ee39e0a49a2f6de0878fe09b291cf53fa9bd941
parent3f549e712cabdb4292a10aaea3d78274b9e5f956
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