]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Add GHCB definitions
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 7 Sep 2020 13:15:03 +0000 (15:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 7 Sep 2020 17:45:24 +0000 (19:45 +0200)
commitd56867e31bcc4437565f95d94e61a276888d9396
treebc7368d42076932483ae16ef685e58b83ce359f7
parente74bddf11dce8df47c964ef19c2fd6729446b874
KVM: SVM: Add GHCB definitions

Extend the vmcb_safe_area with SEV-ES fields and add a new
'struct ghcb' which will be used for guest-hypervisor communication.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-3-joro@8bytes.org
arch/x86/include/asm/svm.h
arch/x86/kvm/svm/svm.c