Re: [RFC 0/3] Expose Confidential Computing capabilities on sysfs

From: Kai Huang
Date: Mon Mar 14 2022 - 21:17:53 EST



>
> More concretely
> - CPU feature (Secure Arbitration Mode: SEAM) as "seam" flag in /proc/cpuinfo

In my current patchset we don't have "seam" flag in /proc/cpuinfo.  

https://lore.kernel.org/kvm/cover.1647167475.git.kai.huang@xxxxxxxxx/T/#m02542eb723394a81c35b9542b2763c783222d594

TDX architecture doesn't have a CPUID to report SEAM, so we will need a
synthetic flag if we want to add. If userspace has requirement to use it, then
it makes sense to add it and expose to /proc/cpuinfo. But so far I don't know
there's any.

Thanks
-Kai