[PATCH V4 0/6] add pvpanic driver framework

From: Peng Hao
Date: Thu Jan 24 2019 - 03:18:13 EST


QEMU community requires additional PCI devices to simulate PVPANIC
devices so that some architectures can not occupy precious less than 4G
of memory space.
Previously, I added PCI driver directly to the original version of the driver,
which made the whole driver file look a bit cluttered. So Andy Shevchenko suggests:
"I would recommend to split it in a way how it's done for ChipIdea USB driver,
for example. (drivers/usb/chipidea if I'm not mistaken)".

v3 ---> v4 : add help text info in Konfig from patch_0004 to
patch_0006
adjust structure definition position in patch_0002
and patch_0003
v2 ---> v3 : add change infomation.

v1 ---> v2 : add patch 0000 to descript the whole patch series.
modify text infomation from patch_0002 to patch_0006.
modify "SPDX-License-Identifier: GPL-2.0-or-later"
to "SPDX-License-Identifier: GPL-2.0+"

Peng Hao (6):
misc/pvpanic: preparing for pvpanic driver framework
misc/pvpanic: Add pvpanic driver framework
misc/pvpanic: add API for pvpanic driver framework
misc/pvpanic: add pvpanic acpi driver
misc/pvpanic: add pvpanic mmio driver
misc/pvpanic: add new pvpanic pci driver

drivers/misc/Kconfig | 9 +-
drivers/misc/Makefile | 2 +-
drivers/misc/pvpanic.c | 192 ------------------------------------
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 | 131 ++++++++++++++++++++++++
drivers/misc/pvpanic/pvpanic.h | 14 +++
10 files changed, 366 insertions(+), 201 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