[PATCH] bus: fsl-mc: don't assume child devices are all fsl-mc devices

Greg KH gregkh at linuxfoundation.org
Tue Jan 31 03:56:32 PST 2023


On Fri, Jan 27, 2023 at 03:16:36PM +0200, laurentiu.tudor at nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> 
> Changes in VFIO caused a pseudo-device to be created as child of
> fsl-mc devices causing a crash [1] when trying to bind a fsl-mc
> device to VFIO. Fix this by checking the device type when enumerating
> fsl-mc child devices.

What changes?  What commit id does this fix?  Does it need to be
backported?

And what type of "pseudo device" is being created?  Why would it be
passed to this driver if it's the wrong type?

this feels wrong...

thanks,

greg k-h



More information about the linux-arm-kernel mailing list