[PATCH v3 0/3] OpenRISC support for virt platform with PCI
From: Stafford Horne
Date: Sun Jul 24 2022 - 22:08:12 EST
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
--
2.36.1