diff options
author | Michael Roth <michael.roth@amd.com> | 2022-02-24 10:56:12 -0600 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-07 16:47:11 +0200 |
commit | ee0bfa08a345370df28c07288e886abcbaac481f (patch) | |
tree | 671581997cc19cd6d43041c12fb3713de66976e0 /Documentation/x86/zero-page.rst | |
parent | 801baa693c1f6d7327475c39100c456db340cd3e (diff) | |
download | linux-ee0bfa08a345370df28c07288e886abcbaac481f.tar.gz linux-ee0bfa08a345370df28c07288e886abcbaac481f.tar.bz2 linux-ee0bfa08a345370df28c07288e886abcbaac481f.zip |
x86/compressed/64: Add support for SEV-SNP CPUID table in #VC handlers
CPUID instructions generate a #VC exception for SEV-ES/SEV-SNP guests,
for which early handlers are currently set up to handle. In the case
of SEV-SNP, guests can use a configurable location in guest memory
that has been pre-populated with a firmware-validated CPUID table to
look up the relevant CPUID values rather than requesting them from
hypervisor via a VMGEXIT. Add the various hooks in the #VC handlers to
allow CPUID instructions to be handled via the table. The code to
actually configure/enable the table will be added in a subsequent
commit.
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-33-brijesh.singh@amd.com
Diffstat (limited to 'Documentation/x86/zero-page.rst')
0 files changed, 0 insertions, 0 deletions