<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/lib/lockdep, branch v4.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.1</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.1'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-05-13T10:12:20Z</updated>
<entry>
<title>tools/liblockdep: Fix compilation error</title>
<updated>2015-05-13T10:12:20Z</updated>
<author>
<name>Eunbong Song</name>
<email>eunb.song@samsung.com</email>
</author>
<published>2015-05-13T10:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2480257fb17ba0fdaf62bc8c2406bd08d5e7f8f1'/>
<id>urn:sha1:2480257fb17ba0fdaf62bc8c2406bd08d5e7f8f1</id>
<content type='text'>
Recent changes to kernel/locking/lockdep.c broke the liblockdep build. Fix
that.

Signed-off-by: Eunbong Song &lt;eunb.song@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: Fix linker error in case of cross compile</title>
<updated>2015-05-13T10:09:09Z</updated>
<author>
<name>Eunbong Song</name>
<email>eunb.song@samsung.com</email>
</author>
<published>2015-04-24T04:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1e40e592678b8955a8ed36bdeaf42929822302e'/>
<id>urn:sha1:d1e40e592678b8955a8ed36bdeaf42929822302e</id>
<content type='text'>
If we try to cross compile liblockdep, even if we set the CROSS_COMPILE variable
the linker error can occur because LD is not set with CROSS_COMPILE.
This patch adds "LD" can be set automatically with CROSS_COMPILE variable so
fixes linker error problem.

Signed-off-by: Eunbong Song &lt;eunb.song@samsung.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v4.0-rc1' into perf/core, to refresh the tree</title>
<updated>2015-02-26T11:24:50Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@kernel.org</email>
</author>
<published>2015-02-26T11:24:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e9e4e44309f866b115d08ab4a54834008c50a8a4'/>
<id>urn:sha1:e9e4e44309f866b115d08ab4a54834008c50a8a4</id>
<content type='text'>
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools lib lockdep: Use tools build framework</title>
<updated>2015-02-12T20:56:01Z</updated>
<author>
<name>Jiri Olsa</name>
<email>jolsa@kernel.org</email>
</author>
<published>2015-01-09T16:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9244e2c673fb148abb7706e47b602d009c537c9b'/>
<id>urn:sha1:9244e2c673fb148abb7706e47b602d009c537c9b</id>
<content type='text'>
Move the lockdep library building under tools build framework.

Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
Cc: Alexis Berlemont &lt;alexis.berlemont@gmail.com&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: Corey Ashford &lt;cjashfor@linux.vnet.ibm.com&gt;
Cc: David Ahern &lt;dsahern@gmail.com&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: S. Lockwood-Childs &lt;sjl@vctlabs.com&gt;
Cc: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Cc: Stephane Eranian &lt;eranian@google.com&gt;
Link: http://lkml.kernel.org/n/tip-i0t25buqyo5jfvzpw2347h1h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: don't include host headers</title>
<updated>2015-01-30T02:55:19Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2015-01-25T13:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8baeccdcb8e51bfb0f3349fc8f90abe8d5654f9e'/>
<id>urn:sha1:8baeccdcb8e51bfb0f3349fc8f90abe8d5654f9e</id>
<content type='text'>
Adding host headers to include path may cause unexpected surprises when cross
compiling. Remove /usr/local/include from the default include path.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: ignore generated .so file</title>
<updated>2015-01-30T02:55:19Z</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2015-01-25T13:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7728b352b78986dd8b0859e213fd59f5e37e4b8e'/>
<id>urn:sha1:7728b352b78986dd8b0859e213fd59f5e37e4b8e</id>
<content type='text'>
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: Fix debug_check thinko in mutex destroy</title>
<updated>2014-12-19T20:50:55Z</updated>
<author>
<name>Kirill Smelkov</name>
<email>kirr@nexedi.com</email>
</author>
<published>2014-12-08T11:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=95bfdf23e4d59099340c01064f39e7f6875c02bc'/>
<id>urn:sha1:95bfdf23e4d59099340c01064f39e7f6875c02bc</id>
<content type='text'>
In mutex destroy code currently we pass to debug_check_no_locks_freed()

    [mem_from, mem_end)

address region. But debug_check_no_locks_freed() accepts

    mem_from, mem_*len*

i.e. second parameter is region length, not end address. And it was
always so, starting from 2006 (fbb9ce95 "lockdep: core").

Fix it, or else on a mutex destroy we wrongly check
much-wider-than-mutex region and can find not-yet-released other locks
there and wrongly report BUGs on them.

Signed-off-by: Kirill Smelkov &lt;kirr@nexedi.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: Account for bitfield changes in lockdeps lock_acquire</title>
<updated>2014-07-07T16:20:16Z</updated>
<author>
<name>S. Lockwood-Childs</name>
<email>sjl@dent.vctlabs.com</email>
</author>
<published>2014-07-07T07:17:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b10827814e9c81c5a14fb73c5a6e06bd85df3f94'/>
<id>urn:sha1:b10827814e9c81c5a14fb73c5a6e06bd85df3f94</id>
<content type='text'>
Commit fb9edbe984 shortened held_lock-&gt;check from a 2-bit field
to a 1-bit field.

Make liblockdep compatible with the new definition by passing check=1
to lock_acquire() calls, rather than the old value check=2 (which
inadvertently disabled checks by overflowing to 0).

Without this fix, several of the test cases in liblockdep run_tests.sh
were failing.

Signed-off-by: S. Lockwood-Childs &lt;sjl@vctlabs.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: Remove debug print left over from development</title>
<updated>2014-07-07T16:14:27Z</updated>
<author>
<name>Sasha Levin</name>
<email>sasha.levin@oracle.com</email>
</author>
<published>2014-07-07T16:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0c37c686b336aeead2f0b982f24eafaeb19435b1'/>
<id>urn:sha1:0c37c686b336aeead2f0b982f24eafaeb19435b1</id>
<content type='text'>
Remove a debug print in init_preload() which was left over from
development and isn't usefull at all currently. It was also causing
false positive test results.

Reported-by: S. Lockwood-Childs &lt;sjl@vctlabs.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>tools/liblockdep: Fix comparison of a boolean value with a value of 2</title>
<updated>2014-07-07T16:02:21Z</updated>
<author>
<name>zhangdianfang</name>
<email>zhangdianfang@huawei.com</email>
</author>
<published>2014-05-30T00:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c642e442e99af1ca026af55a16f23b5f8ee612a'/>
<id>urn:sha1:6c642e442e99af1ca026af55a16f23b5f8ee612a</id>
<content type='text'>
Comparison of a boolean value (!__init_state) with a value of 2 (done)
as currently happens in the code is unlikely to succeed and causes
repeated initialization of the pthread function pointers.

Instead, remove boolean comparison so that we would initialize said
function pointers only once.

Ref: https://bugzilla.kernel.org/show_bug.cgi?id=76741
Cc: Jean Delvare &lt;jdelvare@suse.de&gt;
Reported-by: David Binderman &lt;dcb314@hotmail.com&gt;
Signed-off-by: Dianfang Zhang &lt;zhangdianfang@huawei.com&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
</feed>
