Re: [RFC PATCH v1 11/38] KVM: arm64: CCA: register host tsm platform device

Greg KH
2025-10-15T12:38:00Z

On Wed, Oct 15, 2025 at 09:15:33AM -0300, Jason Gunthorpe wrote:
> On Wed, Oct 15, 2025 at 01:57:38PM +0200, Greg KH wrote:
>
> > If this really is a firmware thing, and you have a firmware device, then
> > I am confused why this was even brought up at all? Use a real platform
> > device, with the resources that are needed to talk to this platform
> > device and you should be fine.
>
> I think the issue today is the PSCI does not always get a
> platform_device, fixing that seems straightforward then all the
> downstream things can switch from using more platform devices to using
> an aux device with the PSCI as the parent..

Great, fix that up and it should get much easier.

> > BUT, if you are making child devices that are NOT actually talking to
> > the firmware,
>
> This thread is about how to bind various subsystems to this shared
> firmware interface.

Great, use the platform device that the firmware created for you!

thanks,

greg k-h