[svsm-devel] Using a linux bus for SVSM devices

James Bottomley James.Bottomley at HansenPartnership.com
Wed Feb 26 15:34:15 CET 2025


On Wed, 2025-02-26 at 15:04 +0100, Stefano Garzarella wrote:
[...]
> IIUC the SVSM vTPM driver will be the first one using the new bus.
> Since I have the new version almost ready (need to finish writing
> better commit descriptions), do you think I should post it in any
> case as RFC, or better to wait to include also the SVSM bus?
> 
> The current version is here [1] but it still uses platform devices,
> even though I removed one as requested during the review of the
> previous version.

So on this, yes, it's always wise to post early and often, particularly
where there's a discussion about where the code is going.  Seeing
updated code helps people frame arguments.

Just on the platform device: Greg seems to be going on an anti-platform
device bender at the moment

https://lore.kernel.org/linux-usb/2025021023-sandstorm-precise-9f5d@gregkh/

So you may need to humour him and use his faux bus instead.

> If no one is working on the new SVSM bus or planning to (don't want
> to step on anyone's toes), I can try adding something to that branch
> and send an RFC here.

I was going to do an RFC in my copious free time, but I've no objection
at all to someone else doing it...

Regards,

James



More information about the Svsm-devel mailing list