linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] tools/lib/lockdep: fixes for v4.19
@ 2018-08-13 19:05 Sasha Levin
  2018-08-13 19:05 ` [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT Sasha Levin
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Sasha Levin @ 2018-08-13 19:05 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, Sasha Levin

Hi Ingo,

Please pull the following minor fixes for liblockdep.

Also available at:

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

Sasha Levin (3):
  tools/lib/lockdep: update Sasha Levin email to MSFT
  tools/lib/lockdep: add empty nmi.h
  tools/lib/lockdep: add dummy task_struct state member

 MAINTAINERS                   | 2 +-
 tools/include/linux/lockdep.h | 3 +++
 tools/include/linux/nmi.h     | 0
 3 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 tools/include/linux/nmi.h

-- 
2.17.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT
  2018-08-13 19:05 [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
@ 2018-08-13 19:05 ` Sasha Levin
  2018-09-10 12:36   ` [tip:locking/urgent] tools/lib/lockdep: Update " tip-bot for Sasha Levin
  2018-08-13 19:05 ` [PATCH 2/3] tools/lib/lockdep: add empty nmi.h Sasha Levin
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Sasha Levin @ 2018-08-13 19:05 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, Sasha Levin

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 544cac829cf4..2e02bae7b7e0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8143,7 +8143,7 @@ F:	include/linux/libata.h
 F:	Documentation/devicetree/bindings/ata/
 
 LIBLOCKDEP
-M:	Sasha Levin <alexander.levin@verizon.com>
+M:	Sasha Levin <alexander.levin@microsoft.com>
 S:	Maintained
 F:	tools/lib/lockdep/
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/3] tools/lib/lockdep: add empty nmi.h
  2018-08-13 19:05 [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
  2018-08-13 19:05 ` [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT Sasha Levin
@ 2018-08-13 19:05 ` Sasha Levin
  2018-09-10 12:37   ` [tip:locking/urgent] tools/lib/lockdep: Add " tip-bot for Sasha Levin
  2018-08-13 19:05 ` [PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member Sasha Levin
  2018-08-29  0:03 ` [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
  3 siblings, 1 reply; 10+ messages in thread
From: Sasha Levin @ 2018-08-13 19:05 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, Sasha Levin

Required since 88f1c87de11a8 ("locking/lockdep: Avoid triggering
hardlockup from debug_show_all_locks()").

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
---
 tools/include/linux/nmi.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tools/include/linux/nmi.h

diff --git a/tools/include/linux/nmi.h b/tools/include/linux/nmi.h
new file mode 100644
index 000000000000..e69de29bb2d1
-- 
2.17.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member
  2018-08-13 19:05 [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
  2018-08-13 19:05 ` [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT Sasha Levin
  2018-08-13 19:05 ` [PATCH 2/3] tools/lib/lockdep: add empty nmi.h Sasha Levin
@ 2018-08-13 19:05 ` Sasha Levin
  2018-09-10 12:38   ` [tip:locking/urgent] tools/lib/lockdep: Add " tip-bot for Sasha Levin
  2018-08-29  0:03 ` [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
  3 siblings, 1 reply; 10+ messages in thread
From: Sasha Levin @ 2018-08-13 19:05 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel, Sasha Levin

Commit 8cc05c71ba5f ("locking/lockdep: Move sanity check to inside
lockdep_print_held_locks()") added accesses to the task_struct's state
member. Add dummy userspace declaration.

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
---
 tools/include/linux/lockdep.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/include/linux/lockdep.h b/tools/include/linux/lockdep.h
index 6b0c36a58fcb..e56997288f2b 100644
--- a/tools/include/linux/lockdep.h
+++ b/tools/include/linux/lockdep.h
@@ -30,9 +30,12 @@ struct task_struct {
 	struct held_lock held_locks[MAX_LOCK_DEPTH];
 	gfp_t lockdep_reclaim_gfp;
 	int pid;
+	int state;
 	char comm[17];
 };
 
+#define TASK_RUNNING 0
+
 extern struct task_struct *__curr(void);
 
 #define current (__curr())
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] tools/lib/lockdep: fixes for v4.19
  2018-08-13 19:05 [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
                   ` (2 preceding siblings ...)
  2018-08-13 19:05 ` [PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member Sasha Levin
@ 2018-08-29  0:03 ` Sasha Levin
  2018-09-06 15:30   ` Sasha Levin
  3 siblings, 1 reply; 10+ messages in thread
From: Sasha Levin @ 2018-08-29  0:03 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel

Ping?

On Mon, Aug 13, 2018 at 07:05:36PM +0000, Sasha Levin wrote:
>Hi Ingo,
>
>Please pull the following minor fixes for liblockdep.
>
>Also available at:
>
>	git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes
>
>Sasha Levin (3):
>  tools/lib/lockdep: update Sasha Levin email to MSFT
>  tools/lib/lockdep: add empty nmi.h
>  tools/lib/lockdep: add dummy task_struct state member
>
> MAINTAINERS                   | 2 +-
> tools/include/linux/lockdep.h | 3 +++
> tools/include/linux/nmi.h     | 0
> 3 files changed, 4 insertions(+), 1 deletion(-)
> create mode 100644 tools/include/linux/nmi.h
>
>-- 
>2.17.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] tools/lib/lockdep: fixes for v4.19
  2018-08-29  0:03 ` [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
@ 2018-09-06 15:30   ` Sasha Levin
  2018-09-10 11:49     ` Ingo Molnar
  0 siblings, 1 reply; 10+ messages in thread
From: Sasha Levin @ 2018-09-06 15:30 UTC (permalink / raw)
  To: mingo, peterz; +Cc: linux-kernel

Ping?

On Tue, Aug 28, 2018 at 08:03:56PM -0400, Sasha Levin wrote:
>Ping?
>
>On Mon, Aug 13, 2018 at 07:05:36PM +0000, Sasha Levin wrote:
>>Hi Ingo,
>>
>>Please pull the following minor fixes for liblockdep.
>>
>>Also available at:
>>
>>	git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes
>>
>>Sasha Levin (3):
>> tools/lib/lockdep: update Sasha Levin email to MSFT
>> tools/lib/lockdep: add empty nmi.h
>> tools/lib/lockdep: add dummy task_struct state member
>>
>>MAINTAINERS                   | 2 +-
>>tools/include/linux/lockdep.h | 3 +++
>>tools/include/linux/nmi.h     | 0
>>3 files changed, 4 insertions(+), 1 deletion(-)
>>create mode 100644 tools/include/linux/nmi.h
>>
>>-- 
>>2.17.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] tools/lib/lockdep: fixes for v4.19
  2018-09-06 15:30   ` Sasha Levin
@ 2018-09-10 11:49     ` Ingo Molnar
  0 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2018-09-10 11:49 UTC (permalink / raw)
  To: Sasha Levin; +Cc: mingo, peterz, linux-kernel


* Sasha Levin <Alexander.Levin@microsoft.com> wrote:

> Ping?

Sorry about the delay - all applied now, thanks!

	Ingo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [tip:locking/urgent] tools/lib/lockdep: Update Sasha Levin email to MSFT
  2018-08-13 19:05 ` [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT Sasha Levin
@ 2018-09-10 12:36   ` tip-bot for Sasha Levin
  0 siblings, 0 replies; 10+ messages in thread
From: tip-bot for Sasha Levin @ 2018-09-10 12:36 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: tglx, peterz, Alexander.Levin, torvalds, mingo, linux-kernel,
	hpa, alexander.levin

Commit-ID:  83e01228cb35823f7bd0e5a0584e24ed72a8af2b
Gitweb:     https://git.kernel.org/tip/83e01228cb35823f7bd0e5a0584e24ed72a8af2b
Author:     Sasha Levin <Alexander.Levin@microsoft.com>
AuthorDate: Mon, 13 Aug 2018 19:05:37 +0000
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 10 Sep 2018 13:48:22 +0200

tools/lib/lockdep: Update Sasha Levin email to MSFT

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <Alexander.Levin@microsoft.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180813190527.16853-2-alexander.levin@microsoft.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index d870cb57c887..f999786cfa90 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8300,7 +8300,7 @@ F:	include/linux/libata.h
 F:	Documentation/devicetree/bindings/ata/
 
 LIBLOCKDEP
-M:	Sasha Levin <alexander.levin@verizon.com>
+M:	Sasha Levin <alexander.levin@microsoft.com>
 S:	Maintained
 F:	tools/lib/lockdep/
 

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [tip:locking/urgent] tools/lib/lockdep: Add empty nmi.h
  2018-08-13 19:05 ` [PATCH 2/3] tools/lib/lockdep: add empty nmi.h Sasha Levin
@ 2018-09-10 12:37   ` tip-bot for Sasha Levin
  0 siblings, 0 replies; 10+ messages in thread
From: tip-bot for Sasha Levin @ 2018-09-10 12:37 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, tglx, torvalds, mingo, peterz, alexander.levin,
	Alexander.Levin, hpa

Commit-ID:  1064ea494bb00519c6e34f791dcf17436f70592d
Gitweb:     https://git.kernel.org/tip/1064ea494bb00519c6e34f791dcf17436f70592d
Author:     Sasha Levin <Alexander.Levin@microsoft.com>
AuthorDate: Mon, 13 Aug 2018 19:05:38 +0000
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 10 Sep 2018 13:48:23 +0200

tools/lib/lockdep: Add empty nmi.h

Required since:

  88f1c87de11a8 ("locking/lockdep: Avoid triggering hardlockup from debug_show_all_locks()")

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <Alexander.Levin@microsoft.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180813190527.16853-3-alexander.levin@microsoft.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/arm/mach-imx/Makefile.boot => tools/include/linux/nmi.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/Makefile.boot b/tools/include/linux/nmi.h
similarity index 100%
copy from arch/arm/mach-imx/Makefile.boot
copy to tools/include/linux/nmi.h

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [tip:locking/urgent] tools/lib/lockdep: Add dummy task_struct state member
  2018-08-13 19:05 ` [PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member Sasha Levin
@ 2018-09-10 12:38   ` tip-bot for Sasha Levin
  0 siblings, 0 replies; 10+ messages in thread
From: tip-bot for Sasha Levin @ 2018-09-10 12:38 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: peterz, tglx, torvalds, alexander.levin, hpa, mingo,
	linux-kernel, Alexander.Levin

Commit-ID:  16214312df6d5aaa5324864d032ce565e97f8890
Gitweb:     https://git.kernel.org/tip/16214312df6d5aaa5324864d032ce565e97f8890
Author:     Sasha Levin <Alexander.Levin@microsoft.com>
AuthorDate: Mon, 13 Aug 2018 19:05:39 +0000
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 10 Sep 2018 13:48:24 +0200

tools/lib/lockdep: Add dummy task_struct state member

Commit:

  8cc05c71ba5f ("locking/lockdep: Move sanity check to inside lockdep_print_held_locks()")

added accesses to the task_struct's state member. Add dummy userspace declaration.

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <Alexander.Levin@microsoft.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180813190527.16853-4-alexander.levin@microsoft.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 tools/include/linux/lockdep.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/include/linux/lockdep.h b/tools/include/linux/lockdep.h
index 6b0c36a58fcb..e56997288f2b 100644
--- a/tools/include/linux/lockdep.h
+++ b/tools/include/linux/lockdep.h
@@ -30,9 +30,12 @@ struct task_struct {
 	struct held_lock held_locks[MAX_LOCK_DEPTH];
 	gfp_t lockdep_reclaim_gfp;
 	int pid;
+	int state;
 	char comm[17];
 };
 
+#define TASK_RUNNING 0
+
 extern struct task_struct *__curr(void);
 
 #define current (__curr())

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-09-10 12:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 19:05 [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
2018-08-13 19:05 ` [PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT Sasha Levin
2018-09-10 12:36   ` [tip:locking/urgent] tools/lib/lockdep: Update " tip-bot for Sasha Levin
2018-08-13 19:05 ` [PATCH 2/3] tools/lib/lockdep: add empty nmi.h Sasha Levin
2018-09-10 12:37   ` [tip:locking/urgent] tools/lib/lockdep: Add " tip-bot for Sasha Levin
2018-08-13 19:05 ` [PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member Sasha Levin
2018-09-10 12:38   ` [tip:locking/urgent] tools/lib/lockdep: Add " tip-bot for Sasha Levin
2018-08-29  0:03 ` [PATCH 0/3] tools/lib/lockdep: fixes for v4.19 Sasha Levin
2018-09-06 15:30   ` Sasha Levin
2018-09-10 11:49     ` Ingo Molnar

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).