linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V6 0/4] add pvpanic driver framework
@ 2019-02-19 11:27 Peng Hao
  2019-02-19 11:27 ` [PATCH V6 1/4] misc/pvpanic : preparing for " Peng Hao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peng Hao @ 2019-02-19 11:27 UTC (permalink / raw)
  To: gregkh, arnd, andy.shevchenko; +Cc: linux-kernel, Peng Hao

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)".

v5 ---> v6 : add mutex lock in pvpanic_remove_device.

v4 ---> v5 : Merge some patches to one for avoiding bisectability issues.
             Make sure that just one pvpanic device is working.

v3 ---> v4 : add help text info in Konfig.
             adjust structure definition position.
v2 ---> v3 : add change infomation.

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

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                |   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      | 140 ++++++++++++++++++++++++++
 drivers/misc/pvpanic/pvpanic.h      |  15 +++
 10 files changed, 385 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-19  3:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19 11:27 [PATCH V6 0/4] add pvpanic driver framework Peng Hao
2019-02-19 11:27 ` [PATCH V6 1/4] misc/pvpanic : preparing for " Peng Hao
2019-02-19 11:27 ` [PATCH V6 2/4] misc/pvpanic: Add " Peng Hao
2019-02-19 11:27 ` [PATCH V6 3/4] misc/pvpanic: Avoid initializing multiple pvpanic devices Peng Hao
2019-02-19 11:27 ` [PATCH V6 4/4] misc/pvpanic: add new pvpanic pci driver Peng Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).