From: Jiri Pirko <jiri@resnulli.us>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: Alexey Kardashevskiy <aik@amd.com>,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
Borislav Petkov <bp@alien8.de>, Jonathan Corbet <corbet@lwn.net>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Kiryl Shutsemau <kas@kernel.org>,
kvm@vger.kernel.org, linux-coco@lists.linux.dev,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
Lukas Wunner <lukas@wunner.de>, Ingo Molnar <mingo@redhat.com>,
Randy Dunlap <rdunlap@infradead.org>,
Rick Edgecombe <rick.p.edgecombe@intel.com>,
Shuah Khan <shuah@kernel.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Thomas Gleixner <tglx@kernel.org>,
x86@kernel.org, patches@lists.linux.dev,
Yeoreum Yun <yeoreum.yun@arm.com>
Subject: Re: [PATCH tsm 0/4] Start building drivers/attestation
Date: Tue, 1 Dec 2026 15:32:29 +0100 [thread overview]
Message-ID: <aw7YA_dPuqaGKRRS@FV6GYCPJ69> (raw)
In-Reply-To: <0-v1-56c8df81fd64+16c-att_start_jgg@nvidia.com>
Tue, Dec 01, 2026 at 01:52:20AM +0100, jgg@nvidia.com wrote:
>Move tsm_report and tsm_mr, along with all their drivers, into
>drivers/attestation. There are no functional changes, but some modules
>are renamed to consistent attestation_* names.
>
>This largely just moves drivers/virt/coco/* stuff to drivers/attestation
>and makes some adjustments to have per-arch subdirectories to hold all the
>stuff. virt/coco was OK when this was only going to be used inside
>confidential VMs, but with the new coming needs for bare metal and host
>support under the same umbrella it isn't a good place to build an entire
>subsystem.
>
>The attestation subsystem is intended to support drivers for all Roots of
>Trust (ROTs), both local to the CPU and on-device ROTs accessed through
>SPDM. A well-known example of a ROT is a Trusted Platform Module, though
>many different specifications for much simpler ROTs now exist.
>
>The existing drivers are all for the ROTs integrated into confidential
>VMs. AMD, Intel and ARM each have an attestation ROT linked to their
>respective implementations.
>
>A following set of drivers, like ARM FIRME, will start to bring in non-TPM
>ROTs on bare metal systems. The kernel SPDM implementation will also live
>here and use the upcoming enhanced uAPI.
>
>Eventually we hope to provide a kernel multiplexer so that in-kernel
>users, like IMA, can access any attestation measurement register instead
>of being hardwired to use only the TPM.
>
>Several reorganization and cleanup passes will be needed after this to
>turn it into a well-formed subsystem.
Looks fine to me overall. Thanks!
set-
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
prev parent reply other threads:[~2026-12-01 14:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 0:52 [PATCH tsm 0/4] Start building drivers/attestation Jason Gunthorpe
2026-12-01 0:52 ` [PATCH tsm 1/4] attestation: Start the new subsystem using tsm_report and mr Jason Gunthorpe
2026-12-01 0:52 ` [PATCH tsm 2/4] attestation: Move the ARM Realm Token tsm_report driver Jason Gunthorpe
2026-12-01 5:25 ` Aneesh Kumar K.V
2026-12-01 13:03 ` Jason Gunthorpe
2026-12-01 0:52 ` [PATCH tsm 3/4] attestation: Move Intel TDX Guest tsm_report and mr driver Jason Gunthorpe
2026-12-01 0:52 ` [PATCH tsm 4/4] attestation: Move AMD SEV Guest tsm_report driver Jason Gunthorpe
2026-12-01 1:00 ` sashiko-bot
2026-12-01 3:05 ` Borislav Petkov
2026-12-01 13:07 ` Jason Gunthorpe
2026-12-01 14:32 ` Jiri Pirko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw7YA_dPuqaGKRRS@FV6GYCPJ69 \
--to=jiri@resnulli.us \
--cc=aik@amd.com \
--cc=aneesh.kumar@kernel.org \
--cc=bp@alien8.de \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jgg@nvidia.com \
--cc=kas@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-coco@lists.linux.dev \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=mingo@redhat.com \
--cc=patches@lists.linux.dev \
--cc=rdunlap@infradead.org \
--cc=rick.p.edgecombe@intel.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
--cc=yeoreum.yun@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox