linux-coco.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] configfs-tsm-report: TCB Stability
@ 2024-09-13  0:25 Dan Williams
  2024-09-13  0:26 ` [PATCH 1/4] configfs-tsm: Namespace TSM report symbols Dan Williams
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Dan Williams @ 2024-09-13  0:25 UTC (permalink / raw)
  To: linux-coco
  Cc: Kai Huang, Kuppuswamy Sathyanarayanan, Borislav Petkov (AMD),
	Tom Lendacky, x86, Thomas Gleixner, Samuel Ortiz, Wu Hao,
	Michael Roth, Dave Hansen, Yilun Xu, Alexey Kardashevskiy,
	Kirill A. Shutemov, elena.reshetova, pgonda

As detailed in patch4, the TDX Module update capability has raised the
question  "what is the kernel's responsibility for mitigating 'surprise'
updates to a confidential VM's launch attestation?".

The approach taken in this patch set is to move it from an implicit
policy of the platform technology and hosting provider to an explicit
policy selected by the confidential VM kernel. Specifically, add
enumeration and choice so that the problem can be discussed in terms of
a TCB stability policy.

See patch4 for more details. Patches 1-3 are preparatory work for
building new guest-side "tsm" functionality.

This is untested for now, the initial focus for review is arriving at a
cross-vendor consensus view of the "surprise update" problem. Then
follow-up with finalizing the low-level details.

Note this is v6.13 material at the earliest, i.e. not for the imminent
merge window.

---

Dan Williams (4):
      configfs-tsm: Namespace TSM report symbols
      coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/
      x86/tdx: Introduce guest global metadata retrieval infrastructure
      configfs-tsm-report: Introduce TCB stability enumeration and watchdog


 Documentation/ABI/testing/configfs-tsm-report |   41 +++++++++
 MAINTAINERS                                   |    4 -
 arch/x86/coco/tdx/tdx.c                       |   39 ++++++++
 arch/x86/include/asm/shared/tdx.h             |    9 ++
 drivers/virt/coco/Kconfig                     |    6 -
 drivers/virt/coco/Makefile                    |    2 
 drivers/virt/coco/guest/Kconfig               |   72 ++++++++++++++++
 drivers/virt/coco/guest/Makefile              |    4 +
 drivers/virt/coco/guest/report.c              |  115 ++++++++++++++++++++++---
 drivers/virt/coco/guest/watchdog.c            |   59 +++++++++++++
 drivers/virt/coco/guest/watchdog.h            |   40 +++++++++
 drivers/virt/coco/sev-guest/sev-guest.c       |   12 +--
 drivers/virt/coco/tdx-guest/tdx-guest.c       |   15 ++-
 include/linux/tsm.h                           |   29 ++++--
 14 files changed, 403 insertions(+), 44 deletions(-)
 rename Documentation/ABI/testing/{configfs-tsm => configfs-tsm-report} (75%)
 create mode 100644 drivers/virt/coco/guest/Kconfig
 create mode 100644 drivers/virt/coco/guest/Makefile
 rename drivers/virt/coco/{tsm.c => guest/report.c} (79%)
 create mode 100644 drivers/virt/coco/guest/watchdog.c
 create mode 100644 drivers/virt/coco/guest/watchdog.h

base-commit: 5be63fc19fcaa4c236b307420483578a56986a37

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-10-07 19:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-13  0:25 [PATCH 0/4] configfs-tsm-report: TCB Stability Dan Williams
2024-09-13  0:26 ` [PATCH 1/4] configfs-tsm: Namespace TSM report symbols Dan Williams
2024-09-13  0:26 ` [PATCH 2/4] coco/guest: Move shared guest CC infrastructure to drivers/virt/coco/guest/ Dan Williams
2024-09-13  0:26 ` [PATCH 3/4] x86/tdx: Introduce guest global metadata retrieval infrastructure Dan Williams
2024-09-16  8:56   ` Kirill A. Shutemov
2024-10-01  7:56     ` Dan Williams
2024-09-13  0:26 ` [PATCH 4/4] configfs-tsm-report: Introduce TCB stability enumeration and watchdog Dan Williams
2024-09-16  9:06   ` Kirill A. Shutemov
2024-10-01  0:33     ` Dan Williams
2024-10-01  8:50   ` Alexander Graf
2024-10-04 21:36     ` Dan Williams
2024-10-07  8:33       ` Alexander Graf
2024-10-07 18:22         ` Dave Hansen
2024-10-07 18:59           ` Dan Williams
2024-10-07 19:43             ` Dionna Amalie Glaze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).