xen-pciback: Document the 'quirks' sysfs file
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 14 Jul 2014 16:18:51 +0000 (12:18 -0400)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 1 Aug 2014 15:02:34 +0000 (16:02 +0100)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Documentation/ABI/testing/sysfs-driver-pciback [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-driver-pciback b/Documentation/ABI/testing/sysfs-driver-pciback
new file mode 100644 (file)
index 0000000..6a733bf
--- /dev/null
@@ -0,0 +1,13 @@
+What:           /sys/bus/pci/drivers/pciback/quirks
+Date:           Oct 2011
+KernelVersion:  3.1
+Contact:        xen-devel@lists.xenproject.org
+Description:
+                If the permissive attribute is set, then writing a string in
+                the format of DDDD:BB:DD.F-REG:SIZE:MASK will allow the guest
+                to write and read from the PCI device. That is Domain:Bus:
+                Device.Function-Register:Size:Mask (Domain is optional).
+                For example:
+                #echo 00:19.0-E0:2:FF > /sys/bus/pci/drivers/pciback/quirks
+                will allow the guest to read and write to the configuration
+                register 0x0E.