This patchset adds support for pci in the pvpanic driver. They were assembled from an old RFC from 2019 [1] which was left unmerged.
In order to test this, you need also to apply the patches I have sent for pci pvpanic support in qemu [2]. [1] https://lwn.net/ml/linux-kernel/1550575668-6240-1-git-send-email-peng.h...@zte.com.cn/ [2] https://lists.nongnu.org/archive/html/qemu-devel/2020-10/msg08709.html Peng Hao (4): misc/pvpanic : preparing for pvpanic driver framework misc/pvpanic: Add pvpanic driver framework misc/pvpanic: Avoid initializing multiple pvpanic devices misc/pvpanic: add new pvpanic pci driver drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 2 +- drivers/misc/pvpanic.c | 196 ------------------------------------ drivers/misc/pvpanic/Kconfig | 34 +++++++ drivers/misc/pvpanic/Makefile | 8 ++ drivers/misc/pvpanic/pvpanic-acpi.c | 77 ++++++++++++++ drivers/misc/pvpanic/pvpanic-of.c | 53 ++++++++++ drivers/misc/pvpanic/pvpanic-pci.c | 56 +++++++++++ drivers/misc/pvpanic/pvpanic.c | 150 +++++++++++++++++++++++++++ drivers/misc/pvpanic/pvpanic.h | 15 +++ 10 files changed, 395 insertions(+), 197 deletions(-) delete mode 100644 drivers/misc/pvpanic.c create mode 100644 drivers/misc/pvpanic/Kconfig create mode 100644 drivers/misc/pvpanic/Makefile create mode 100644 drivers/misc/pvpanic/pvpanic-acpi.c create mode 100644 drivers/misc/pvpanic/pvpanic-of.c create mode 100644 drivers/misc/pvpanic/pvpanic-pci.c create mode 100644 drivers/misc/pvpanic/pvpanic.c create mode 100644 drivers/misc/pvpanic/pvpanic.h -- 1.8.3.1