> -----Original Message----- > From: Kim Phillips [mailto:kim.phillips@xxxxxxxxxx] > Sent: Tuesday, May 20, 2014 7:26 PM > To: a.motakis@xxxxxxxxxxxxxxxxxxxxxx > Cc: alex.williamson@xxxxxxxxxx; kvmarm@xxxxxxxxxxxxxxxxxxxxx; > iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; > kvm@xxxxxxxxxxxxxxx; linux-doc@xxxxxxxxxxxxxxx; > gregkh@xxxxxxxxxxxxxxxxxxx; jhovold@xxxxxxxxx; will.deacon@xxxxxxx; > a.rigo@xxxxxxxxxxxxxxxxxxxxxx; rob.herring@xxxxxxxxxxx; Yoder Stuart- > B08248; rob@xxxxxxxxxxx; grant.likely@xxxxxxxxxx; > tech@xxxxxxxxxxxxxxxxxxxxxx; clbchenlibo.chen@xxxxxxxxxx; > christoffer.dall@xxxxxxxxxx; eric.auger@xxxxxxxxxx; 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 <kim.phillips@xxxxxxxxxxxxx> > > 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 <alex.williamson@xxxxxxxxxx> > Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx> > --- > 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 <stuart.yoder@xxxxxxxxxxxxx> Stuart _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm