]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: enable paranoid mode and IST shift for xen_int3
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 24 Feb 2017 23:40:40 +0000 (18:40 -0500)
committerKris Van Hees <kris.van.hees@oracle.com>
Wed, 8 Mar 2017 20:21:18 +0000 (15:21 -0500)
The Xen PVM path into an INT3 trap was not using paranoid=1 mode nor was
it using an IST shift as is done for HW INT3 traps.  This interferes with
the instruction emulation code check based on the handler return value.

Orabug: 25580519
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/kernel/entry_64.S

index e922d1bd39704ee98411fed03bb72635c365581d..3e39f75ef7c74789e6ae603e552e9241a24cf057 100644 (file)
@@ -1403,7 +1403,7 @@ idtentry int3 do_int3 has_error_code=0 paranoid=1 shift_ist=DEBUG_STACK
 idtentry stack_segment do_stack_segment has_error_code=1
 #ifdef CONFIG_XEN
 idtentry xen_debug do_debug has_error_code=0
-idtentry xen_int3 do_int3 has_error_code=0
+idtentry xen_int3 do_int3 has_error_code=0 paranoid=1 shift_ist=DEBUG_STACK
 idtentry xen_stack_segment do_stack_segment has_error_code=1
 #endif
 idtentry general_protection do_general_protection has_error_code=1