* [PATCH 00/21] liblockdep fixes for v4.12
@ 2017-05-25 12:51 Levin, Alexander (Sasha Levin)
2017-05-25 12:51 ` [PATCH 01/21] liblockdep: Fix undefined symbol prandom_u32 Levin, Alexander (Sasha Levin)
0 siblings, 1 reply; 3+ messages in thread
From: Levin, Alexander (Sasha Levin) @ 2017-05-25 12:51 UTC (permalink / raw)
To: mingo
Cc: linux-kernel, ben, a.p.zijlstra, tglx, Levin, Alexander (Sasha Levin)
The following changes since commit 56fff1bb0f31358bf81a3c64a8dcd6da0dc44263:
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux (2017-05-23 09:57:39 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes
for you to fetch changes up to 9e6d473e27d81ed1d0e3849d2ef9f35a94a64cd5:
tools: liblockdep: hide liblockdep output from test results (2017-05-25 08:27:54 -0400)
----------------------------------------------------------------
Alexander Sverdlin (2):
tools: add install make target for liblockdep
tools: liblockdep: Don't mix fd-based and stream IO
Ben Hutchings (10):
liblockdep: Fix undefined symbol prandom_u32
liblockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain::depth
liblockdep: Define the ARRAY_SIZE() macro
liblockdep: Enable -Wall by default
liblockdep: Fix 'unused value' warnings
liblockdep: Fix 'set but not used' warnings
liblockdep: Fix 'defined but not used' warning for init_utsname()
tools: liblockdep: Fix object file paths used in an out-of-tree build
tools: liblockdep: Remove double-quotes from soname
tools: liblockdep: Use LDFLAGS
Sasha Levin (8):
MAINTAINERS: update email for Sasha Levin
tools: liblockdep: fix compilation for 4.11
tools include: add empty include/linux/sched/mm.h
tools: liblockdep: include err.h
tools: liblockdep: add empty __is_[module,kernel]_percpu_address
tools include: add IS_ERR_OR_NULL to err.h
tools: liblockdep: add dummy current_gfp_context()
tools: liblockdep: hide liblockdep output from test results
Vishal Thanki (1):
liblockdep: Remove -lpthread compiler option
MAINTAINERS | 2 +-
tools/Makefile | 8 +++--
tools/include/linux/bitops.h | 10 ++++++
tools/include/linux/err.h | 5 +++
tools/include/linux/jhash.h | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/include/linux/sched/clock.h | 0
tools/include/linux/sched/mm.h | 0
tools/include/linux/sched/task.h | 0
tools/include/linux/unaligned/packed_struct.h | 46 +++++++++++++++++++++++++++
tools/lib/lockdep/Makefile | 9 +++---
tools/lib/lockdep/lockdep.c | 17 ++++++++++
tools/lib/lockdep/preload.c | 3 +-
tools/lib/lockdep/run_tests.sh | 8 ++---
tools/lib/lockdep/uinclude/linux/bitops.h | 3 --
tools/lib/lockdep/uinclude/linux/compiler.h | 2 ++
tools/lib/lockdep/uinclude/linux/debug_locks.h | 2 +-
tools/lib/lockdep/uinclude/linux/irqflags.h | 8 ++---
tools/lib/lockdep/uinclude/linux/kallsyms.h | 3 +-
tools/lib/lockdep/uinclude/linux/kernel.h | 20 ++++++++++--
tools/lib/lockdep/uinclude/linux/lockdep.h | 26 ++++++++--------
tools/lib/lockdep/uinclude/linux/module.h | 5 +++
tools/lib/lockdep/uinclude/linux/rcu.h | 2 ++
22 files changed, 317 insertions(+), 37 deletions(-)
create mode 100644 tools/include/linux/jhash.h
create mode 100644 tools/include/linux/sched/clock.h
create mode 100644 tools/include/linux/sched/mm.h
create mode 100644 tools/include/linux/sched/task.h
create mode 100644 tools/include/linux/unaligned/packed_struct.h
delete mode 100644 tools/lib/lockdep/uinclude/linux/bitops.h
Alexander Sverdlin (2):
tools: add install make target for liblockdep
tools: liblockdep: Don't mix fd-based and stream IO
Ben Hutchings (10):
liblockdep: Fix undefined symbol prandom_u32
liblockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing
lock_chain::depth
liblockdep: Define the ARRAY_SIZE() macro
liblockdep: Enable -Wall by default
liblockdep: Fix 'unused value' warnings
liblockdep: Fix 'set but not used' warnings
liblockdep: Fix 'defined but not used' warning for init_utsname()
tools: liblockdep: Fix object file paths used in an out-of-tree build
tools: liblockdep: Remove double-quotes from soname
tools: liblockdep: Use LDFLAGS
Sasha Levin (8):
MAINTAINERS: update email for Sasha Levin
tools: liblockdep: fix compilation for 4.11
tools include: add empty include/linux/sched/mm.h
tools: liblockdep: include err.h
tools: liblockdep: add empty __is_[module,kernel]_percpu_address
tools include: add IS_ERR_OR_NULL to err.h
tools: liblockdep: add dummy current_gfp_context()
tools: liblockdep: hide liblockdep output from test results
Vishal Thanki (1):
liblockdep: Remove -lpthread compiler option
MAINTAINERS | 2 +-
tools/Makefile | 8 +-
tools/include/linux/bitops.h | 10 ++
tools/include/linux/err.h | 5 +
tools/include/linux/jhash.h | 175 +++++++++++++++++++++++++
tools/include/linux/sched/clock.h | 0
tools/include/linux/sched/mm.h | 0
tools/include/linux/sched/task.h | 0
tools/include/linux/unaligned/packed_struct.h | 46 +++++++
tools/lib/lockdep/Makefile | 9 +-
tools/lib/lockdep/lockdep.c | 17 +++
tools/lib/lockdep/preload.c | 3 +-
tools/lib/lockdep/run_tests.sh | 8 +-
tools/lib/lockdep/uinclude/linux/bitops.h | 3 -
tools/lib/lockdep/uinclude/linux/compiler.h | 2 +
tools/lib/lockdep/uinclude/linux/debug_locks.h | 2 +-
tools/lib/lockdep/uinclude/linux/irqflags.h | 8 +-
tools/lib/lockdep/uinclude/linux/kallsyms.h | 3 +-
tools/lib/lockdep/uinclude/linux/kernel.h | 20 ++-
tools/lib/lockdep/uinclude/linux/lockdep.h | 26 ++--
tools/lib/lockdep/uinclude/linux/module.h | 5 +
tools/lib/lockdep/uinclude/linux/rcu.h | 2 +
22 files changed, 317 insertions(+), 37 deletions(-)
create mode 100644 tools/include/linux/jhash.h
create mode 100644 tools/include/linux/sched/clock.h
create mode 100644 tools/include/linux/sched/mm.h
create mode 100644 tools/include/linux/sched/task.h
create mode 100644 tools/include/linux/unaligned/packed_struct.h
delete mode 100644 tools/lib/lockdep/uinclude/linux/bitops.h
--
2.11.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 01/21] liblockdep: Fix undefined symbol prandom_u32
2017-05-25 12:51 [PATCH 00/21] liblockdep fixes for v4.12 Levin, Alexander (Sasha Levin)
@ 2017-05-25 12:51 ` Levin, Alexander (Sasha Levin)
0 siblings, 0 replies; 3+ messages in thread
From: Levin, Alexander (Sasha Levin) @ 2017-05-25 12:51 UTC (permalink / raw)
To: mingo; +Cc: linux-kernel, ben, a.p.zijlstra, tglx, Sasha Levin
From: Ben Hutchings <ben@decadent.org.uk>
__lock_pin_lock() now calls prandom_u32() which is not defined in
liblockdep. __lock_pin_lock() and its caller lock_pin_lock() are dead
code in liblockdep, but we still need to provide a definition of
prandom_u32() in case lazy binding is disabled.
Fixes: e7904a28f533 ("locking/lockdep, sched/core: Implement a better ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
---
tools/lib/lockdep/lockdep.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tools/lib/lockdep/lockdep.c b/tools/lib/lockdep/lockdep.c
index a0a2e3a266af..443acb11f907 100644
--- a/tools/lib/lockdep/lockdep.c
+++ b/tools/lib/lockdep/lockdep.c
@@ -1,8 +1,15 @@
#include <linux/lockdep.h>
+#include <stdlib.h>
/* Trivial API wrappers, we don't (yet) have RCU in user-space: */
#define hlist_for_each_entry_rcu hlist_for_each_entry
#define hlist_add_head_rcu hlist_add_head
#define hlist_del_rcu hlist_del
+u32 prandom_u32(void)
+{
+ /* Used only by lock_pin_lock() which is dead code */
+ abort();
+}
+
#include "../../../kernel/locking/lockdep.c"
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 01/21] liblockdep: Fix undefined symbol prandom_u32
2017-05-25 12:58 [PATCH 00/21] liblockdep fixes for v4.12 Levin, Alexander (Sasha Levin)
@ 2017-05-25 12:58 ` Levin, Alexander (Sasha Levin)
0 siblings, 0 replies; 3+ messages in thread
From: Levin, Alexander (Sasha Levin) @ 2017-05-25 12:58 UTC (permalink / raw)
To: mingo; +Cc: linux-kernel, ben, a.p.zijlstra, tglx
From: Ben Hutchings <ben@decadent.org.uk>
__lock_pin_lock() now calls prandom_u32() which is not defined in
liblockdep. __lock_pin_lock() and its caller lock_pin_lock() are dead
code in liblockdep, but we still need to provide a definition of
prandom_u32() in case lazy binding is disabled.
Fixes: e7904a28f533 ("locking/lockdep, sched/core: Implement a better ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
---
tools/lib/lockdep/lockdep.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tools/lib/lockdep/lockdep.c b/tools/lib/lockdep/lockdep.c
index a0a2e3a266af..443acb11f907 100644
--- a/tools/lib/lockdep/lockdep.c
+++ b/tools/lib/lockdep/lockdep.c
@@ -1,8 +1,15 @@
#include <linux/lockdep.h>
+#include <stdlib.h>
/* Trivial API wrappers, we don't (yet) have RCU in user-space: */
#define hlist_for_each_entry_rcu hlist_for_each_entry
#define hlist_add_head_rcu hlist_add_head
#define hlist_del_rcu hlist_del
+u32 prandom_u32(void)
+{
+ /* Used only by lock_pin_lock() which is dead code */
+ abort();
+}
+
#include "../../../kernel/locking/lockdep.c"
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-25 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 12:51 [PATCH 00/21] liblockdep fixes for v4.12 Levin, Alexander (Sasha Levin)
2017-05-25 12:51 ` [PATCH 01/21] liblockdep: Fix undefined symbol prandom_u32 Levin, Alexander (Sasha Levin)
2017-05-25 12:58 [PATCH 00/21] liblockdep fixes for v4.12 Levin, Alexander (Sasha Levin)
2017-05-25 12:58 ` [PATCH 01/21] liblockdep: Fix undefined symbol prandom_u32 Levin, Alexander (Sasha Levin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).