LoongArch: Add PCI controller support
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 6 Aug 2022 07:19:33 +0000 (15:19 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 12 Aug 2022 05:10:11 +0000 (13:10 +0800)
commit57fc7323a8e7c2e7c1d5795ab63cb3ffea3cfdfb
tree3c0499d025c9634137c6a34229f2fabae2295a5e
parente9e7ff16d7f098f6fa9394e9d2b191c01ba0d5f6
LoongArch: Add PCI controller support

Loongson64 based systems are PC-like systems which use PCI/PCIe as its
I/O bus, This patch adds the PCI host controller support for LoongArch.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/Kconfig
arch/loongarch/Makefile
arch/loongarch/include/asm/dma.h [new file with mode: 0644]
arch/loongarch/include/asm/irq.h
arch/loongarch/include/asm/page.h
arch/loongarch/include/asm/pci.h [new file with mode: 0644]
arch/loongarch/pci/acpi.c [new file with mode: 0644]
arch/loongarch/pci/pci.c [new file with mode: 0644]