Re: [PATCH v2 2/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 11:18 AM Greg KH wrote: le > > @@ -1,2 +1,4 @@ > > obj-$(CONFIG_PVPANIC_MMIO) += pvpanic-mmio.o > > pvpanic-mmio-objs := pvpanic-common.o mmio.o > > +obj-$(CONFIG_PVPANIC_PCI)+= pvpanic-pci.o > > +pvpanic-pci-objs := pvpanic-common.o pci.o > > So you now have the pv

Re: [PATCH v2 2/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Greg KH
On Fri, Feb 12, 2021 at 11:17:05AM +0200, Mihai Carabas wrote: > 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 r

Re: [PATCH v2 2/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 10:17 AM Mihai Carabas wrote: > > 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

[PATCH v2 2/3] misc/pvpanic: add PCI driver

2021-02-12 Thread Mihai Carabas
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://gith