Skip to contentSkip to conversation

x86/irq: ipipe: reconcile lockdep tracing with virtual IRQ state

PATCH New Philippe Gerum 1 participant 1 message Sep 10, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/irq: ipipe: reconcile lockdep tracing with virtual IRQ state

---
 arch/x86/entry/entry_64.S | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/x86/entry/entry_64.S +6 -1
index 65389737b283..4780bd7c020f 100644
@@ -557,8 +557,13 @@ END(irq_entries_start)
 
 1:
 	ENTER_IRQ_STACK old_rsp=%rdi
-	/* We entered an interrupt context - irqs are off: */
+#ifndef CONFIG_IPIPE	
+	/* We entered an interrupt context - irqs are off unless
+	   pipelining is enabled, in which case we defer tracing until
+	   __ipipe_do_sync_stage() where the virtual IRQ state is
+	   updated for the root stage. */
 	TRACE_IRQS_OFF
+#endif
 
 	call	\func	/* rdi points to pt_regs */
 	.endm
Signature · 1 line
2.14.4