> -----Original Message-----
> From: Greg KH [mailto:[email protected]]
> Sent: Friday, February 14, 2014 4:27 PM
> To: Antonios Motakis
> Cc: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Yoder Stuart-
> B08248; [email protected]; [email protected];
> [email protected]; Bhushan Bharat-R65777; Wood Scott-B07421;
> [email protected]; [email protected]; Sethi Varun-B16395;
> [email protected]; Tejun Heo; Rafael J. Wysocki; Guenter Roeck; Toshi
> Kani; Joe Perches; Dmitry Kasatkin; Michal Hocko; Bjorn Helgaas
> Subject: Re: [RFC PATCH v4 01/10] driver core: export
> driver_probe_device()
> 
> On Sat, Feb 08, 2014 at 06:29:31PM +0100, Antonios Motakis wrote:
> > From: Kim Phillips <[email protected]>
> >
> > Needed by drivers, such as the vfio platform driver [1], seeking to
> > bypass bind_store()'s driver_match_device(), and bind to any device
> > via a private sysfs bind file.
> >
> > [1] https://lkml.org/lkml/2013/12/11/522
> >
> > note: the EXPORT_SYMBOL is needed because vfio-platform can be built
> > as a module.
> 
> No code outside of drivers/base/ should be calling this function

Why?  driver_probe_device() allows a driver to explicitly bind
to a specific device.   What is conceptually wrong with allowing
that?

Thanks,
Stuart


_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to