mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT pull] core/urgent for 5.10-rc3
@ 2020-11-08 15:23 Thomas Gleixner
  2020-11-08 15:23 ` [GIT pull] irq/urgent " Thomas Gleixner
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Thomas Gleixner @ 2020-11-08 15:23 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, x86

Linus,

please pull the latest core/urgent branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-2020-11-08

up to:  9d820f68b2bd: entry: Fix the incorrect ordering of lockdep and RCU check

A single fix for the generic entry code to correct the wrong assumption
that the lockdep interrupt state needs not to be established before calling
the RCU check.

Thanks,

	tglx

------------------>
Thomas Gleixner (1):
      entry: Fix the incorrect ordering of lockdep and RCU check


 kernel/entry/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/entry/common.c b/kernel/entry/common.c
index 2b8366693d5c..e9e2df3f3f9e 100644
--- a/kernel/entry/common.c
+++ b/kernel/entry/common.c
@@ -337,10 +337,10 @@ noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs)
 	 * already contains a warning when RCU is not watching, so no point
 	 * in having another one here.
 	 */
+	lockdep_hardirqs_off(CALLER_ADDR0);
 	instrumentation_begin();
 	rcu_irq_enter_check_tick();
-	/* Use the combo lockdep/tracing function */
-	trace_hardirqs_off();
+	trace_hardirqs_off_finish();
 	instrumentation_end();
 
 	return ret;


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

end of thread, other threads:[~2020-11-08 18:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-08 15:23 [GIT pull] core/urgent for 5.10-rc3 Thomas Gleixner
2020-11-08 15:23 ` [GIT pull] irq/urgent " Thomas Gleixner
2020-11-08 18:29   ` pr-tracker-bot
2020-11-08 15:23 ` [GIT pull] locking/urgent " Thomas Gleixner
2020-11-08 18:04   ` Linus Torvalds
2020-11-08 18:29   ` pr-tracker-bot
2020-11-08 15:23 ` [GIT pull] perf/urgent for v5.10-rc3 Thomas Gleixner
2020-11-08 18:29   ` pr-tracker-bot
2020-11-08 15:23 ` [GIT pull] x86/urgent " Thomas Gleixner
2020-11-08 18:29   ` pr-tracker-bot
2020-11-08 18:29 ` [GIT pull] core/urgent for 5.10-rc3 pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®