linux-imx/Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic
Mihai Carabas db3a4f0abe misc/pvpanic: add PCI driver
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the
address where to read/write pvpanic events and pass it to the generic handling
code. Will follow the same logic as pvpanic MMIO device driver. At remove time,
unmap base address and disable PCI device.

[1] 9df52f58e7

Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Link: https://lore.kernel.org/r/1616597356-20696-4-git-send-email-mihai.carabas@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-28 14:57:11 +02:00

911 B

What: /sys/devices/pci0000:00//QEMU0001:00/capability for MMIO /sys/bus/pci/drivers/pvpanic-pci/0000:00:0.0/capability for PCI Date: Jan 2021 Contact: zhenwei pi pizhenwei@bytedance.com Description: Read-only attribute. Capabilities of pvpanic device which are supported by QEMU.

	Format: %x.

	Detailed bit definition refers to section <Bit Definition>
	from pvpanic device specification:
	https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/specs/pvpanic.txt

What: /sys/devices/pci0000:00//QEMU0001:00/events /sys/bus/pci/drivers/pvpanic-pci/0000:00:0.0/events for PCI Date: Jan 2021 Contact: zhenwei pi pizhenwei@bytedance.com Description: RW attribute. Set/get which features in-use. This attribute is used to enable/disable feature(s) of pvpanic device. Notice that this value should be a subset of capability.

	Format: %x.

	Also refer to pvpanic device specification.