Re: [PATCH 2/2] platform/x86: Add Intel Software Defined Silicon driver

From: Greg KH
Date: Sat Sep 25 2021 - 10:47:04 EST


On Fri, Sep 24, 2021 at 02:31:57PM -0700, David E. Box wrote:
> The SDSi device itself is enumerated as a PCIe VSEC capability on the Intel
> Out Of Band Management Services Module (OOBMSM) device. The SDSi device is
> a cell of the intel_pmt MFD driver and as such has a build dependency on
> CONFIG_MFD_INTEL_PMT.

I don't understand this. It looks like if this driver is loaded it
instantly grabs the first iomem resource it can find and assumes that
this is the device in the system. Where does it check to verify that
the hardware really is present?

And this isn't really a platform device, so why is it written like one?
Just because it is using the mfd subsystem?

PCIe devices are not platform devices, please use the real pci device
structures for this type of thing.

thanks,

greg k-h