[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52375b57e4b8493a8563aca98b7ba041@DM2PR03MB352.namprd03.prod.outlook.com>
Date: Thu, 10 Apr 2014 20:03:15 +0000
From: Stuart Yoder <stuart.yoder@...escale.com>
To: Kim Phillips <Kim.Phillips@...escale.com>,
Alex Williamson <alex.williamson@...hat.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "bhelgaas@...gle.com" <bhelgaas@...gle.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>,
"libvir-list@...hat.com" <libvir-list@...hat.com>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
"tech@...tualopensystems.com" <tech@...tualopensystems.com>,
"kvmarm@...ts.cs.columbia.edu" <kvmarm@...ts.cs.columbia.edu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Guenter Roeck <linux@...ck-us.net>,
"christoffer.dall@...aro.org" <christoffer.dall@...aro.org>
Subject: RE: [PATCH] driver core: platform: add device binding path
'driver_override'
> -----Original Message-----
> From: Kim Phillips [mailto:kim.phillips@...escale.com]
> Sent: Tuesday, April 08, 2014 8:47 PM
> To: Alex Williamson; gregkh@...uxfoundation.org
> Cc: bhelgaas@...gle.com; linux-pci@...r.kernel.org; kvm@...r.kernel.org;
> konrad.wilk@...cle.com; Yoder Stuart-B08248; libvir-list@...hat.com;
> iommu@...ts.linux-foundation.org; tech@...tualopensystems.com;
> kvmarm@...ts.cs.columbia.edu; linux-kernel@...r.kernel.org; Guenter
> Roeck; christoffer.dall@...aro.org
> Subject: [PATCH] driver core: platform: add device binding path
> 'driver_override'
>
> Needed by platform device drivers, such as the vfio-platform driver [1],
> 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" [2], which is an interface enhancement
> for more deterministic PCI device binding, e.g., when in the
> presence of hotplug.
>
> [1] http://lkml.iu.edu/hypermail/linux/kernel/1402.1/00177.html
> [2] http://lists-archives.com/linux-kernel/28030441-pci-introduce-new-
> device-binding-path-using-pci_dev-driver_override.html
>
> Suggested-by: Alex Williamson <alex.williamson@...hat.com>
> Signed-off-by: Kim Phillips <kim.phillips@...escale.com>
> ---
Reviewed-by: Stuart Yoder <stuart.yoder@...escale.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists