summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/mmu.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-11-27 16:49:53 +0100
committerWill Deacon <will.deacon@arm.com>2017-12-11 14:41:13 +0100
commit7a4a0c1555b824e0d3dd72942481b1190abea604 (patch)
tree0d82f6fa778dd826c1e448f56e6bcbbdf9e2be89 /arch/arm64/include/asm/mmu.h
parentarm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0 (diff)
downloadlinux-7a4a0c1555b824e0d3dd72942481b1190abea604.tar.xz
linux-7a4a0c1555b824e0d3dd72942481b1190abea604.zip
perf: arm_spe: Fail device probe when arm64_kernel_unmapped_at_el0()
When running with the kernel unmapped whilst at EL0, the virtually-addressed SPE buffer is also unmapped, which can lead to buffer faults if userspace profiling is enabled and potentially also when writing back kernel samples unless an expensive drain operation is performed on exception return. For now, fail the SPE driver probe when arm64_kernel_unmapped_at_el0(). 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>
Diffstat (limited to 'arch/arm64/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions