PVPANIC PCI driver
+Cc: LKML and Peng
Quoted 12 lines · Mihai Carabas
Hello Andy,
Some time ago you have created a patchset where you have combined ACPI/MMIO into a single driver for pvpanic:
commit
f104060813fe79350565b68c1098fcea050a6504Author: Andy Shevchenko <[email protected]> Date: Wed Dec 9 22:36:41 2020 +0200misc: pvpanic: Combine ACPI and platform drivers
Quoted 8 lines
I also have sent some patches where I created a driver framework for adding a PCI driver. These being said, I want to send again another patchset to add a PVPANIC PCI driver, but I am not sure what is the right approach you would like to see:
- create a totally different driver for pvpanic pci and naming itpvpanic-pci.cwith its configPVPANIC_PCI
- create the framework I have sent before but having only two buses (ACPI/MMIO in one file and PCI in another)
Generic approach is to have three files:
- core part
- platform driver
- PCI driver
in this case.
Quoted 4 lines
In qemu they are basically two different devices (one is -device pvpanic and the other is -device pvpanic-pci)
I could not find any precedence in other drivers. Your input is welcome.
Signature · 2 lines
With Best Regards, Andy Shevchenko