x86/sev-es: Handle MSR events
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 7 Sep 2020 13:15:52 +0000 (15:15 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 9 Sep 2020 09:33:19 +0000 (11:33 +0200)
commita4afa6081c88701635e1e20090f953a25f9444e0
treeaacea9a1b1f68a44d90c92c5bb2dd4f232997ce8
parent0118b604c2c94c6e34982015cfa7891af4764786
x86/sev-es: Handle MSR events

Implement a handler for #VC exceptions caused by RDMSR/WRMSR
instructions.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
[ jroedel@suse.de: Adapt to #VC handling infrastructure. ]
Co-developed-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-52-joro@8bytes.org
arch/x86/kernel/sev-es.c