]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sev-guest: configfs-tsm: Allow the privlevel_floor attribute to be updated
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 5 Jun 2024 15:18:52 +0000 (10:18 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 17 Jun 2024 18:42:57 +0000 (20:42 +0200)
commit614dc0fb76327dbd81abd4612fbc2e4ba8f205e6
tree901f7c095c973385e1ac890b842a3c49f26b2649
parenteb65f96cb332d577b490ab9c9f5f8de8c0316076
sev-guest: configfs-tsm: Allow the privlevel_floor attribute to be updated

With the introduction of an SVSM, Linux will be running at a non-zero
VMPL. Any request for an attestation report at a higher privilege VMPL
than what Linux is currently running will result in an error. Allow for
the privlevel_floor attribute to be updated dynamically.

  [ bp: Trim commit message. ]

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/5a736be9384aebd98a0b7c929660f8a97cbdc366.1717600736.git.thomas.lendacky@amd.com
drivers/virt/coco/sev-guest/sev-guest.c
include/linux/tsm.h