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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 31, 2025 at 01:46:03PM -0300, Jason Gunthorpe wrote:
> On Thu, Jul 31, 2025 at 02:22:50PM +0100, Jonathan Cameron wrote:
> 
> > If you mean create a class device with no parent, that's also something
> > we are slowly trying to fix.  Reminds me that fixing up more perf devices
> > is still on my todo list.
> 
> IIRC if you create a class device with no parent it gets placed on the
> virtual bus...
> 
> Do you mean we should not do that?
> 
> > Should be a child of something, so maybe that is a good reason for a
> > faux_device here if there is nothing else to use.
> 
> Don't see such a big difference to have it be the child of a faux
> device on the faux bus than to just be directly on the virtual bus?

Either is fine, but just never use a platform device for a
non-platform-resource-backed device please.

thanks,

greg k-h




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux