qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Add support for pvpanic pci device
@ 2020-12-18 12:53 Mihai Carabas
  2020-12-18 12:53 ` [PATCH 1/3] hw/misc/pvpanic: split-out generic and bus dependent code Mihai Carabas
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mihai Carabas @ 2020-12-18 12:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mihai Carabas, peter.maydell, kraxel

This patchset adds support for pvpanic pci device. This is the second revision,
re-written after Peter Maydell's feedback:
- split the code in common, isa and pci
- obtained 0x101 device id per documenation from Gerd Hoffmann
- fix-up minor documentation issue

How to test this:
/usr/bin/qemu-system-aarch64 \
        -machine virt,gic-version=3 -device pvpanic-pci

After that you need to run a Linux kernel as guest, but you have to also apply
the patches I have sent for adding pci support for the pvpanic driver [1].

[1] https://lkml.org/lkml/2020/10/29/645



Mihai Carabas (3):
  hw/misc/pvpanic: split-out generic and bus dependent code
  hw/misc/pvpanic: add PCI interface support
  pvpanic : update pvpanic spec document

 docs/specs/pci-ids.txt    |  2 +
 docs/specs/pvpanic.txt    | 13 ++++++-
 hw/i386/Kconfig           |  1 -
 hw/misc/Kconfig           | 13 ++++++-
 hw/misc/meson.build       |  4 +-
 hw/misc/pvpanic-isa.c     | 95 +++++++++++++++++++++++++++++++++++++++++++++++
 hw/misc/pvpanic-pci.c     | 87 +++++++++++++++++++++++++++++++++++++++++++
 hw/misc/pvpanic.c         | 85 +++---------------------------------------
 include/hw/misc/pvpanic.h | 24 +++++++++++-
 include/hw/pci/pci.h      |  1 +
 tests/qtest/meson.build   |  2 +-
 11 files changed, 241 insertions(+), 86 deletions(-)
 create mode 100644 hw/misc/pvpanic-isa.c
 create mode 100644 hw/misc/pvpanic-pci.c

-- 
1.8.3.1



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

end of thread, other threads:[~2021-01-08 12:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-18 12:53 [PATCH v2] Add support for pvpanic pci device Mihai Carabas
2020-12-18 12:53 ` [PATCH 1/3] hw/misc/pvpanic: split-out generic and bus dependent code Mihai Carabas
2021-01-08 12:14   ` Peter Maydell
2020-12-18 12:53 ` [PATCH 2/3] hw/misc/pvpanic: add PCI interface support Mihai Carabas
2020-12-22 15:30   ` Gerd Hoffmann
2020-12-22 16:03     ` Mihai Carabas
2021-01-08 12:28   ` Peter Maydell
2020-12-18 12:53 ` [PATCH 3/3] pvpanic : update pvpanic spec document Mihai Carabas
2021-01-08 12:00   ` Peter Maydell

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