Skip to content

liblockdep fixes for 5.9-rc1

Sasha Levin lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest14 patches 2 repliesIn review
  2. v314 patches 0 repliesSuperseded
  3. v212 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14tools headers: Add kprobes.h headertools/include/linux/kprobes.h+7 -00 replies
2/14tools headers: Add rcupdate.h headertools/include/linux/rcupdate.h+12 -00 replies
3/14tools/kernel.h: extend with dummy RCU functionstools/include/linux/kernel.h+7 -00 replies
4/14tools bitmap: add bitmap_andnot definitiontools/include/linux/bitmap.h tools/lib/bitmap.c tools/lib/lockdep/Build+26 -10 replies
5/14tools/lib/lockdep: add definition required for IRQ flag tracingtools/include/linux/lockdep.h tools/lib/lockdep/lockdep.c+10 -20 replies
6/14tools bitmap: add bitmap_clear definitiontools/lib/bitmap.c+20 -00 replies
7/14tools/lib/lockdep: Hook up vsprintf, find_bit, hweight librariestools/lib/lockdep/Build+1 -10 replies
8/14tools/lib/lockdep: Enable building with CONFIG_TRACE_IRQFLAGStools/lib/lockdep/Makefile+1 -10 replies
9/14tools/lib/lockdep: New stacktrace APItools/include/linux/stacktrace.h+8 -00 replies
10/14tools/lib/lockdep: call lockdep_init_task on inittools/lib/lockdep/preload.c+4 -00 replies
11/14tools/lib/lockdep: switch to using lockdep_init_map_waitstools/include/linux/kernel.h tools/include/linux/lockdep.h tools/lib/lockdep/include/liblockdep/common.h +3 more+8 -50 replies
12/14tools/kernel.h: hide noinstrtools/include/linux/kernel.h+2 -00 replies
13/14tools/lib/lockdep: explicitly declare lockdep_init_task()tools/lib/lockdep/preload.c+2 -00 replies
14/14tools/kernel.h: hide task_struct.hardirq_chain_keytools/include/linux/lockdep.h+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 00/14] liblockdep fixes for 5.9-rc1

Hi Linus,

Please consider applying these patches for liblockdep, or alternatively pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git tags/liblockdep-fixes-040820

The patches fix up compilation and functionality of liblockdep on 5.8, they were tested using liblockdep's internal testsuite.

I was unable to get the x86 folks to pull these fixes for the past few months:

- https://lkml.org/lkml/2020/2/17/1089
- https://lkml.org/lkml/2020/4/18/817
- https://lkml.org/lkml/2020/6/22/1262

Which is why this pull request ends up going straight to you.

Sasha Levin (14):
tools headers: Add kprobes.h header
tools headers: Add rcupdate.h header
tools/kernel.h: extend with dummy RCU functions
tools bitmap: add bitmap_andnot definition tools/lib/lockdep: add definition required for IRQ flag tracing tools bitmap: add bitmap_clear definition tools/lib/lockdep: Hook up vsprintf, find_bit, hweight libraries tools/lib/lockdep: Enable building with CONFIG_TRACE_IRQFLAGS tools/lib/lockdep: New stacktrace API tools/lib/lockdep: call lockdep_init_task on init tools/lib/lockdep: switch to using lockdep_init_map_waits tools/kernel.h: hide noinstr
tools/lib/lockdep: explicitly declare lockdep_init_task() tools/kernel.h: hide task_struct.hardirq_chain_key

 tools/include/linux/bitmap.h                  | 10 ++++++
 tools/include/linux/kernel.h                  | 11 ++++++
 tools/include/linux/kprobes.h                 |  7 ++++
 tools/include/linux/lockdep.h                 | 10 ++++++
 tools/include/linux/rcupdate.h                | 12 +++++++
 tools/include/linux/stacktrace.h              |  8 +++++
 tools/lib/bitmap.c                            | 35 +++++++++++++++++++
 tools/lib/lockdep/Build                       |  2 +-
 tools/lib/lockdep/Makefile                    |  2 +-
 tools/lib/lockdep/include/liblockdep/common.h |  4 +--
 tools/lib/lockdep/include/liblockdep/mutex.h  |  2 +-
 tools/lib/lockdep/include/liblockdep/rwlock.h |  2 +-
 tools/lib/lockdep/lockdep.c                   |  4 +--
 tools/lib/lockdep/preload.c                   |  8 ++++-
 14 files changed, 108 insertions(+), 9 deletions(-)
 create mode 100644 tools/include/linux/kprobes.h
 create mode 100644 tools/include/linux/rcupdate.h
Signature · 1 line
2.25.1