Skip to content

OpenRISC support for virt platform with PCI

Stafford Horne linux-arch linux-pci lkml openrisc 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesIn review
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- This is based on the pci cleanup patches from
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log/?h=pci/header-cleanup-immutable
so pci.h is removed.
- Change comment about parport.h in patch 2/3.
- Added a patch to define __pci_ioport_map as NULL when when IO ports are not supported.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3asm-generic: Support NO_IOPORT_MAP in pci_iomap.hinclude/asm-generic/pci_iomap.h+2 -02 replies
2/3openrisc: Add pci bus supportarch/openrisc/Kconfig arch/openrisc/include/asm/Kbuild arch/openrisc/include/asm/io.h+6 -24 replies
3/3openrisc: Add virt defconfigarch/openrisc/configs/virt_defconfig+108 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] OpenRISC support for virt platform with PCI

Hello,

This is a set of kernel patches which I have been using to support the new QEMU virt platform [1]. The virt platform supports PCI hence I have a patch here to add PCI support to OpenRISC.

A defconfig is also included which turns on drivers supported devices include virt network cards and the goldfish RTC.

[1] https://github.com/stffrdhrn/qemu/tree/or1k-virt-3

Changes since v2:
- This is based on the pci cleanup patches from
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log/?h=pci/header-cleanup-immutable
so pci.h is removed.
- Change comment about parport.h in patch 2/3.
- Added a patch to define __pci_ioport_map as NULL when when IO ports are not supported.
Changes since v1:
- Remove PIO support as suggest by Arnd

Stafford Horne (3):
asm-generic: Support NO_IOPORT_MAP in pci_iomap.h
openrisc: Add pci bus support
openrisc: Add virt defconfig

 arch/openrisc/Kconfig                |   5 +-
 arch/openrisc/configs/virt_defconfig | 108 +++++++++++++++++++++++++++
 arch/openrisc/include/asm/Kbuild     |   1 +
 arch/openrisc/include/asm/io.h       |   2 +-
 include/asm-generic/pci_iomap.h      |   2 +
 5 files changed, 116 insertions(+), 2 deletions(-)
 create mode 100644 arch/openrisc/configs/virt_defconfig
Signature · 1 line
2.36.1