x86/sev-es: Handle #DB Events
authorJoerg Roedel <jroedel@suse.de>
Mon, 7 Sep 2020 13:16:02 +0000 (15:16 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 9 Sep 2020 09:33:20 +0000 (11:33 +0200)
commitcb1ad3ecea959593400dfac4f027dbc005e62c39
tree06bcf285e1f07a59a8e4bfde430344c2d41eb282
parenta2d0171a9cf59637411281a929900fde80e6c1cb
x86/sev-es: Handle #DB Events

Handle #VC exceptions caused by #DB exceptions in the guest. Those
must be handled outside of instrumentation_begin()/end() so that the
handler will not be raised recursively.

Handle them by calling the kernel's debug exception handler.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-62-joro@8bytes.org
arch/x86/kernel/sev-es.c