[Skiboot] [PATCH v2 0/3] Support PCI Virtual Device
Gavin Shan
gwshan at linux.vnet.ibm.com
Thu Aug 11 12:12:35 AEST 2016
The patches support PCI virtual device. The NVLinks are presented to Linux
kernel via PCI virtual (emulated) device. As we're going to support NVLink2
pretty soon, we need support PCI virtual device in common layer so that it
can be shared by NVLINK1/2.
Changelog
=========
v1 -> v2:
* Rebased to master branch per requested by Stewart. No code changes
since v1. The last commit is f102c9d19078 ("Merge skiboot-5.3.1
release notes").
* Had quick test on Garrison1 and no obvious issues found.
Gavin Shan (3):
core/pci: Improve PCI config register filter
core/pci: Support virtual device
hw/npu: Use PCI virtual device
core/Makefile.inc | 6 +-
core/pci-virt.c | 260 ++++++++++++++++++++++++++++
hw/npu-hw-procedures.c | 32 ++--
hw/npu.c | 450 +++++++++++++++----------------------------------
hw/phb3.c | 14 +-
include/npu.h | 22 +--
include/pci-virt.h | 85 ++++++++++
include/pci.h | 9 +-
8 files changed, 518 insertions(+), 360 deletions(-)
create mode 100644 core/pci-virt.c
create mode 100644 include/pci-virt.h
--
2.1.0
More information about the Skiboot
mailing list