summaryrefslogtreecommitdiff
path: root/drivers/misc/pvpanic/Kconfig
diff options
context:
space:
mode:
authorMihai Carabas <mihai.carabas@oracle.com>2021-03-24 16:49:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 14:57:11 +0200
commitdb3a4f0abefd7be96089fcd74029c259df3bed76 (patch)
tree757c7c77f089f01df358a9001b6a44ae5ff85827 /drivers/misc/pvpanic/Kconfig
parentb3c0f8774668fd30a3efb2d0afc1a6527dacb858 (diff)
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] https://github.com/qemu/qemu/commit/9df52f58e76e904fb141b10318362d718f470db2 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>
Diffstat (limited to 'drivers/misc/pvpanic/Kconfig')
-rw-r--r--drivers/misc/pvpanic/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/pvpanic/Kconfig b/drivers/misc/pvpanic/Kconfig
index 454f1ee62b72..12d40a21f698 100644
--- a/drivers/misc/pvpanic/Kconfig
+++ b/drivers/misc/pvpanic/Kconfig
@@ -17,3 +17,11 @@ config PVPANIC_MMIO
depends on HAS_IOMEM && (ACPI || OF) && PVPANIC
help
This driver provides support for the MMIO pvpanic device.
+
+config PVPANIC_PCI
+ tristate "pvpanic PCI device support"
+ depends on PCI && PVPANIC
+ help
+ This driver provides support for the PCI pvpanic device.
+ pvpanic is a paravirtualized device provided by QEMU which
+ forwards the panic events from the guest to the host.