ARM: 8256/1: driver coamba: add device binding path 'driver_override'
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Tue, 6 Jan 2015 10:15:11 +0000 (11:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Feb 2015 10:23:15 +0000 (10:23 +0000)
commit3cf385713460eb2bb4cb7ceb8ed89833b00b594b
treeb9c51c20e360b31aa2a567d3857b3039d6e08fdf
parent8684014d71e259f62f7dc24a20324e232806b2ef
ARM: 8256/1: driver coamba: add device binding path 'driver_override'

As already demonstrated with PCI [1] and the platform bus [2], a
driver_override property in sysfs can be used to bypass the id
matching of a device to a AMBA driver. This can be used by VFIO to
bind to any AMBA device requested by the user.

[1] http://lists-archives.com/linux-kernel/28030441-pci-introduce-new-device-binding-path-using-pci_dev-driver_override.html
[2] https://www.redhat.com/archives/libvir-list/2014-April/msg00382.html

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Reviewed-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/ABI/testing/sysfs-bus-amba [new file with mode: 0644]
drivers/amba/bus.c
include/linux/amba/bus.h