diff options
| author | Mihai Carabas <mihai.carabas@oracle.com> | 2021-03-24 17:49:16 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-28 15:57:11 +0300 |
| commit | db3a4f0abefd7be96089fcd74029c259df3bed76 (patch) | |
| tree | 757c7c77f089f01df358a9001b6a44ae5ff85827 /drivers/misc/pvpanic/Makefile | |
| parent | b3c0f8774668fd30a3efb2d0afc1a6527dacb858 (diff) | |
| download | linux-db3a4f0abefd7be96089fcd74029c259df3bed76.tar.xz | |
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/Makefile')
| -rw-r--r-- | drivers/misc/pvpanic/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/pvpanic/Makefile b/drivers/misc/pvpanic/Makefile index e12a2dc2e982..9471df7d4f9c 100644 --- a/drivers/misc/pvpanic/Makefile +++ b/drivers/misc/pvpanic/Makefile @@ -5,3 +5,4 @@ # Copyright (C) 2021 Oracle. # obj-$(CONFIG_PVPANIC_MMIO) += pvpanic.o pvpanic-mmio.o +obj-$(CONFIG_PVPANIC_PCI) += pvpanic.o pvpanic-pci.o |
