Thread (2 messages) flat view 2 messages, 2 authors, 2021-02-11
STALE2031d LANDED: 1 (0M)

1 review trailer; landed in mainline as 15f720aabe71 on 2021-02-10.

[patch V2 01/13] x86/entry: Fix instrumentation annotation

From: Thomas Gleixner <hidden>
Date: 2021-02-10 02:09:51
Also in: lkml

From: Thomas Gleixner <redacted>

Embracing a callout into instrumentation_begin() / instrumentation_begin()
does not really make sense. Make the latter instrumentation_end().

Fixes: 2f6474e4636b ("x86/entry: Switch XEN/PV hypercall entry to IDTENTRY")
Signed-off-by: Thomas Gleixner <redacted>
Reviewed-by: Kees Cook <redacted>
Cc: stable@vger.kernel.org
---
 arch/x86/entry/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -270,7 +270,7 @@ static void __xen_pv_evtchn_do_upcall(vo
 
 	instrumentation_begin();
 	run_on_irqstack_cond(__xen_pv_evtchn_do_upcall, regs);
-	instrumentation_begin();
+	instrumentation_end();
 
 	set_irq_regs(old_regs);
 

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help