x86/vmware: Add VMware-specific handling for VMMCALL under SEV-ES
authorDoug Covelli <dcovelli@vmware.com>
Mon, 7 Sep 2020 13:16:05 +0000 (15:16 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 9 Sep 2020 09:33:20 +0000 (11:33 +0200)
commit1a222de8dcfb903d039810b0823570ee0be4e6c6
treeb9e35d2eae49a09487011291e62a3d325123cca7
parent99419b251e5427b89dbfae103d8a2f469efaa4b2
x86/vmware: Add VMware-specific handling for VMMCALL under SEV-ES

Add VMware-specific handling for #VC faults caused by VMMCALL
instructions.

Signed-off-by: Doug Covelli <dcovelli@vmware.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
[ jroedel@suse.de: - Adapt to different paravirt interface ]
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-65-joro@8bytes.org
arch/x86/kernel/cpu/vmware.c