1
linux/arch/arm/kernel
Russell King (Oracle) ca29cfcc4a ARM: fix cacheflush with PAN
It seems that the cacheflush syscall got broken when PAN for LPAE was
implemented. User access was not enabled around the cache maintenance
instructions, causing them to fault.

Fixes: 7af5b901e8 ("ARM: 9358/2: Implement PAN for LPAE by TTBR0 page table walks disablement")
Reported-by: Michał Pecio <michal.pecio@gmail.com>
Tested-by: Michał Pecio <michal.pecio@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2024-11-12 23:51:06 +00:00
..
.gitignore
arch_timer.c
armksyms.c
asm-offsets.c ARM: 9358/2: Implement PAN for LPAE by TTBR0 page table walks disablement 2024-04-18 12:10:46 +01:00
atags_compat.c
atags_parse.c vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
atags_proc.c atags_proc: Add __counted_by for struct buffer and use struct_size() 2023-12-02 12:32:07 -08:00
atags.h
bios32.c
bugs.c
cpuidle.c
crash_dump.c
debug.S
devtree.c ARM: 9322/1: Explicitly include correct DT includes 2023-10-05 16:15:42 +01:00
dma.c
early_printk.c
efi.c vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
elf.c
entry-armv.S ARM: 9414/1: Fix build issue with LD_DEAD_CODE_DATA_ELIMINATION 2024-09-04 14:47:42 +01:00
entry-common.S ARM: 9407/1: Add support for STACKLEAK gcc plugin 2024-07-02 09:18:43 +01:00
entry-ftrace.S ARM: 9382/1: ftrace: Define ftrace_stub_graph 2024-04-18 12:12:18 +01:00
entry-header.S
entry-v7m.S
fiq.c
fiqasm.S
ftrace.c ARM: 9405/1: ftrace: Don't assume stack frames are contiguous in memory 2024-06-10 12:00:27 +01:00
head-common.S
head-inflate-data.c
head-nommu.S
head.h
head.S ARM: 9420/1: smp: Fix SMP for xip kernels 2024-11-12 16:38:47 +00:00
hibernate.c
hw_breakpoint.c ARM development updates for v6.10-rc1 2024-05-17 08:53:47 -07:00
hyp-stub.S
insn.c
io.c
irq.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
isa.c arm: Remove now superfluous sentinel elem from ctl_table arrays 2023-10-10 15:22:02 -07:00
iwmmxt.h
iwmmxt.S ARM: 9352/1: iwmmxt: Remove support for PJ4/PJ4B cores 2024-02-26 10:16:31 +00:00
jump_label.c
kgdb.c
machine_kexec.c arch, crash: move arch_crash_save_vmcoreinfo() out to file vmcore_info.c 2024-02-23 17:48:25 -08:00
Makefile perf/arm: Move 32-bit PMU drivers to drivers/perf/ 2024-07-03 14:07:14 +01:00
module-plts.c
module.c ARM: 9400/1: Remove unused struct 'mod_unwind_map' 2024-06-10 12:01:30 +01:00
opcodes.c
paravirt.c
patch.c
perf_callchain.c ARM: 9406/1: Fix callchain_trace() return value 2024-07-02 09:17:00 +01:00
perf_regs.c
phys2virt.S
process.c
psci_smp.c ARM: 9420/1: smp: Fix SMP for xip kernels 2024-11-12 16:38:47 +00:00
ptrace.c ARM updates for v6.6-rc1 2023-08-31 12:49:10 -07:00
reboot.c
reboot.h
relocate_kernel.S
return_address.c
setup.c ARM: 9412/1: Convert to arch_cpu_is_hotpluggable() 2024-08-20 11:18:50 +01:00
signal.c
signal.h
sigreturn_codes.S
sleep.S ARM: 9381/1: kasan: clear stale stack poison 2024-04-29 14:11:25 +01:00
smccc-call.S
smp_scu.c
smp_tlb.c
smp_twd.c
smp.c
spectre.c
stacktrace.c
suspend.c ARM: 9358/2: Implement PAN for LPAE by TTBR0 page table walks disablement 2024-04-18 12:10:46 +01:00
swp_emulate.c
sys_arm.c
sys_oabi-compat.c introduce fd_file(), convert all accessors to it. 2024-08-12 22:00:43 -04:00
tcm.c
thumbee.c
time.c
topology.c sched/balancing: Rename rebalance_domains() => sched_balance_domains() 2024-03-12 11:59:59 +01:00
traps.c ARM: fix cacheflush with PAN 2024-11-12 23:51:06 +00:00
unwind.c ARM: 9349/1: unwind: Add missing "Call trace:" line 2024-02-24 16:47:19 +00:00
v7m.c
vdso.c vdso/ARM: Make union vdso_data_store available for all architectures 2024-02-20 20:56:00 +01:00
vmcore_info.c arch, crash: move arch_crash_save_vmcoreinfo() out to file vmcore_info.c 2024-02-23 17:48:25 -08:00
vmlinux-xip.lds.S ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION 2024-06-10 12:01:33 +01:00
vmlinux.lds.S ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION 2024-06-10 12:01:33 +01:00
xscale-cp0.c