> -----Original Message----- > From: Kim Phillips [mailto:[email protected]] > Sent: Tuesday, May 20, 2014 7:26 PM > To: [email protected] > Cc: [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; Yoder Stuart- > B08248; [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; Julien Grall; Ian > Campbell; Stefano Stabellini; Alexander Graf > Subject: [RFC PATCH v5_v2 01/11] driver core: platform: add device > binding path 'driver_override' > > From: Kim Phillips <[email protected]> > > Needed by platform device drivers, such as the vfio-platform driver > later in series, in order to bypass the existing OF, ACPI, id_table and > name string matches, and successfully be able to be bound to any > device, like so: > > echo vfio-platform > > /sys/bus/platform/devices/fff51000.ethernet/driver_override > echo fff51000.ethernet > > /sys/bus/platform/devices/fff51000.ethernet/driver/unbind > echo fff51000.ethernet > /sys/bus/platform/drivers_probe > > This mimics "PCI: Introduce new device binding path using > pci_dev.driver_override" [1], which is an interface enhancement > for more deterministic PCI device binding, e.g., when in the > presence of hotplug. > > [1] https://lists.cs.columbia.edu/pipermail/kvmarm/2014-May/009527.html > > Suggested-by: Alex Williamson <[email protected]> > Signed-off-by: Kim Phillips <[email protected]> > --- > changes in v2 patch of v5 of this patchseries: > - rebased onto today's Linus' ToT > - added kfree to match PCI counterpart fix, as Alex Williamson > just posted a v3 of the patch (thanks Christoffer for the > notification) > - in the commit text, replaced vfio platform driver reference with > 'later in series', and updated the PCI version mailing list reference > to the v3 version.
Reviewed-by: Stuart Yoder <[email protected]> Stuart _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
