Re: [PATCH 4/5] x86/cc: Add cc_platform_set/_clear() helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 3/27/24 10:43, Borislav Petkov wrote:
From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>

Add functionality to set and/or clear different attributes of the
machine as a confidential computing platform. Add the first one too:
whether the machine is running as a host for SEV-SNP guests.

Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

  arch/x86/coco/core.c        | 52 +++++++++++++++++++++++++++++++++++++
  include/linux/cc_platform.h | 12 +++++++++
  2 files changed, 64 insertions(+)

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux