riscv: Enable LOCKDEP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 20 repliesIn review
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Remove sX regs recovery codes which are unnecessary, because callee will handle them. Thx Greentime :)
- Move "restore a0 - a7" to handle_syscall, but if _TIF_SYSCALL_WORK is set, "restore a1 - a7" is still duplicated. I prefer a C wrapper for syscall.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | riscv: Fixup static_obj() failarch/ | +1 | 17 replies | |
| 2/3 | riscv: Fixup lockdep_assert_held with wrong param cpu_runningarch/ | +0 | 1 reply | |
| 3/3 | riscv: Enable LOCKDEP_SUPPORT & fixup TRACE_IRQFLAGS_SUPPORTarch/ arch/ | +36 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Aurelien Jarno | Atish Patra |
|---|---|---|
| 1/3 | T-b | |
| 2/3 | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/3] riscv: Enable LOCKDEP
From: Guo Ren <[email protected]>
Lockdep is needed by proving the spinlocks and rwlocks. To support it, we need to add TRACE_IRQFLAGS codes in kernel/entry.S. These patches follow Documentation/irqflags-tracing.txt.
Fixup 2 bugs that block the lockdep implementation.
---
Changes in v2
- Remove sX regs recovery codes which are unnecessary, because callee will handle them. Thx Greentime :)
- Move "restore a0 - a7" to handle_syscall, but if _TIF_SYSCALL_WORK is set, "restore a1 - a7" is still duplicated. I prefer a C wrapper for syscall.
Guo Ren (2):
riscv: Fixup static_obj() fail
riscv: Enable LOCKDEP_SUPPORT & fixup TRACE_IRQFLAGS_SUPPORT
Zong Li (1):
riscv: Fixup lockdep_assert_held with wrong param cpu_running
arch/riscv/Kconfig | 3 +++ arch/riscv/kernel/entry.S | 33 ++++++++++++++++++++++++++++++++- arch/riscv/kernel/smpboot.c | 1 - arch/riscv/kernel/vmlinux.lds.S | 2 +- 4 files changed, 36 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4