Palmer Dabbelt
f959196c82
RISC-V: Take text_mutex in ftrace_init_nop()
...
[ Upstream commit 66d18dbda8469a944dfec6c49d26d5946efba218 ]
Without this we get lockdep failures. They're spurious failures as SMP isn't
up when ftrace_init_nop() is called. As far as I can tell the easiest fix is
to just take the lock, which also seems like the safest fix.
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:50 +02:00
..
vdso
riscv: fix vdso build with lld
2020-05-20 08:18:39 +02:00
.gitignore
RISC-V: Build Infrastructure
2017-09-26 15:26:49 -07:00
asm-offsets.c
RISC-V: Task implementation
2017-09-26 15:26:46 -07:00
cacheinfo.c
drivers: base: cacheinfo: setup DT cache properties early
2018-05-17 17:27:49 +01:00
cpu.c
RISC-V: Init and Halt Code
2017-09-26 15:26:44 -07:00
cpufeature.c
RISC-V: User-facing API
2017-09-26 15:26:48 -07:00
entry.S
riscv: Avoid interrupts being erroneously enabled in handle_exception()
2019-10-11 18:21:29 +02:00
ftrace.c
RISC-V: Take text_mutex in ftrace_init_nop()
2020-10-01 13:14:50 +02:00
head.S
RISC-V: Add the directive for alignment of stvec's value
2018-08-13 08:31:31 -07:00
irq.c
clocksource: new RISC-V SBI timer driver
2018-08-13 08:31:31 -07:00
Makefile
perf: riscv: preliminary RISC-V support
2018-06-04 14:02:01 -07:00
mcount-dyn.S
riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support
2018-04-02 19:59:13 -07:00
mcount.S
riscv/ftrace: Export _mcount when DYNAMIC_FTRACE isn't set
2018-06-11 09:04:03 -07:00
module-sections.c
RISC-V: Add section of GOT.PLT for kernel module
2018-04-02 20:00:54 -07:00
module.c
riscv: avoid the PIC offset of static percpu data in module beyond 2G limits
2020-03-25 08:06:07 +01:00
module.lds
RISC-V: Add section of GOT.PLT for kernel module
2018-04-02 20:00:54 -07:00
perf_event.c
RISC-V: Fix !CONFIG_SMP compilation error
2018-08-13 08:31:32 -07:00
process.c
Merge branch 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2018-01-31 19:18:12 -08:00
ptrace.c
riscv: fix trace_sys_exit hook
2019-02-20 10:25:40 +01:00
reset.c
RISC-V: Init and Halt Code
2017-09-26 15:26:44 -07:00
riscv_ksyms.c
riscv: split the declaration of __copy_user
2018-06-09 12:34:31 -07:00
setup.c
riscv: set max_pfn to the PFN of the last page
2020-05-27 17:37:28 +02:00
signal.c
RISC-V: User-facing API
2017-09-26 15:26:48 -07:00
smp.c
RISC-V: simplify software interrupt / IPI code
2018-08-13 08:31:30 -07:00
smpboot.c
clocksource: new RISC-V SBI timer driver
2018-08-13 08:31:31 -07:00
stacktrace.c
riscv: stacktrace: Fix undefined reference to `walk_stackframe'
2020-06-03 08:19:30 +02:00
sys_riscv.c
RISC-V: Don't allow write+exec only page mapping request in mmap
2020-06-30 23:17:15 -04:00
syscall_table.c
RISC-V: Make __NR_riscv_flush_icache visible to userspace
2018-01-07 15:14:37 -08:00
time.c
clocksource: new RISC-V SBI timer driver
2018-08-13 08:31:31 -07:00
traps.c
RISC-V: Don't increment sepc after breakpoint.
2018-08-13 08:31:30 -07:00
vdso.c
riscv: remove redundant unlikely()
2018-01-30 19:12:06 -08:00
vmlinux.lds.S
RISC-V: Build Infrastructure
2017-09-26 15:26:49 -07:00