kumquat-buildroot/board/qemu
Romain Naour 6fb7513a9c board/qemu/aarch64-virt/linux.config: enable PCIe and PCI host generic driver
Add the CONFIG_PCI symbol due a change in kernel 5.0 [1].
The option was previously enabled by default (default y).

"PCI: consolidate PCI config entry in drivers/pci

There is no good reason to duplicate the PCI menu in every architecture.
Instead provide a selectable HAVE_PCI symbol that indicates availability
of PCI support, and a FORCE_PCI symbol to for PCI on and the handle the
rest in drivers/pci."

Qemu aarch64 provide a PCIe Host bridge but it require CONFIG_PCI_HOST_GENERIC
enabled in the kernel.

With CONFIG_PCI_HOST_GENERIC enabled PCIe host bridge is detected:

$ dmesg
pci-host-generic 4010000000.pcie: host bridge /pcie@10000000 ranges:
pci-host-generic 4010000000.pcie:    IO 0x3eff0000..0x3effffff -> 0x00000000
pci-host-generic 4010000000.pcie:   MEM 0x10000000..0x3efeffff -> 0x10000000
pci-host-generic 4010000000.pcie:   MEM 0x8000000000..0xffffffffff -> 0x8000000000
pci-host-generic 4010000000.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000

$ lspci
00:00.0 Host bridge: Red Hat, Inc. QEMU PCIe Host bridge

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eb01d42a77785ff96b6e66a2a2e7027fc6d78e4a

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-11 15:52:03 +02:00
..
aarch64-virt board/qemu/aarch64-virt/linux.config: enable PCIe and PCI host generic driver 2020-07-11 15:52:03 +02:00
arm-versatile board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
arm-vexpress-tz board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
csky board/qemu: add defconfig file name as tag after the qemu command line 2020-04-13 21:51:12 +02:00
m68k-mcf5208 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
m68k-q800 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazebe-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
microblazeel-mmu board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r2el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r6-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips32r6el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64r6-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
mips64r6el-malta board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
nios2-10m50 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
or1k board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-e5500 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc64le-pseries board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-g3beige board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mac99 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-mpc8544ds board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
ppc-virtex-ml507 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
riscv32-virt board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
riscv64-virt board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
sh4-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sh4eb-r2d board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33 2020-06-24 22:40:55 +02:00
sparc64-sun4u board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
sparc-ss10 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
x86_64 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
xtensa-lx60 board/qemu: remove the Qemu version from readme.txt 2020-04-26 13:44:21 +02:00
post-image.sh board/qemu: add post-image script for gitlab qemu testing 2020-04-13 21:51:12 +02:00