[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140603042842.GD14668@kroah.com>
Date: Mon, 2 Jun 2014 21:28:42 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Kim Phillips <kim.phillips@...escale.com>
Cc: a.motakis@...tualopensystems.com, alex.williamson@...hat.com,
kvmarm@...ts.cs.columbia.edu, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
linux-doc@...r.kernel.org, jhovold@...il.com, will.deacon@....com,
a.rigo@...tualopensystems.com, rob.herring@...xeda.com,
stuart.yoder@...escale.com, rob@...dley.net,
grant.likely@...aro.org, tech@...tualopensystems.com,
clbchenlibo.chen@...wei.com, christoffer.dall@...aro.org,
eric.auger@...aro.org, Julien Grall <julien.grall@...aro.org>,
Ian Campbell <ian.campbell@...rix.com>,
Stefano Stabellini <stefano.stabellini@...citrix.com>,
Alexander Graf <agraf@...e.de>
Subject: Re: [PATCH] driver core: platform: add device binding path
'driver_override'
On Mon, Jun 02, 2014 at 07:42:58PM -0500, Kim Phillips wrote:
> Needed by platform device drivers, such as the upcoming
> vfio-platform driver, 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", which is an interface enhancement
> for more deterministic PCI device binding, e.g., when in the
> presence of hotplug.
>
> Reviewed-by: Alex Williamson <alex.williamson@...hat.com>
> Reviewed-by: Alexander Graf <agraf@...e.de>
> Reviewed-by: Stuart Yoder <stuart.yoder@...escale.com>
> Signed-off-by: Kim Phillips <kim.phillips@...escale.com>
> ---
> Greg,
>
> This is largely identical to the PCI version of the same that has
> been accepted for v3.16 and ack'd by you:
>
> https://lists.cs.columbia.edu/pipermail/kvmarm/2014-May/009674.html
>
> and applied to Bjorn Helgaas' PCI tree:
>
> https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=pci/virtualization&id=782a985d7af26db39e86070d28f987cad21313c0
>
> You are the platform driver core maintainer: can you apply this to
> your driver-core tree now?
Yes, I will after this merge window ends, it's too late for 3.16-rc1
with the window opening up a week early, sorry.
greg k-h
--
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