]> xenbits.xensource.com Git - xen.git/commit
x86/traps: Fix typo in do_entry_CP()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Nov 2021 08:40:19 +0000 (09:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Nov 2021 08:40:19 +0000 (09:40 +0100)
commit9d3bac49a54ffacd44d7fffda307b211d78b2ce0
treeeb80b8853852e0ed5ac4a2f4b8af3249b229c16f
parent2b8381087593c3df274baa94fadbe2b89cd28158
x86/traps: Fix typo in do_entry_CP()

The call to debugger_trap_entry() should pass the correct vector.  The
break-for-gdbsx logic is in practice unreachable because PV guests can't
generate #CP, but it will interfere with anyone inserting custom debugging
into debugger_trap_entry().

Fixes: 5ad05b9c2490 ("x86/traps: Implement #CP handler and extend #PF for shadow stacks")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: 512863ed238d7390f74d43f0ba298b1dfa8f4803
master date: 2021-11-03 19:13:17 +0000
xen/arch/x86/traps.c