Enable generic PCIe by default in the LoongArch defconfig.
QEMU requires this configuration when booting the kernel with FDT.
Signed-off-by: Song Gao <[email protected]>
---
arch/loongarch/configs/loongson3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
index 33795e4a5bd6..6350be7e8ec8 100644
--- a/arch/loongarch/configs/loongson3_defconfig
+++ b/arch/loongarch/configs/loongson3_defconfig
@@ -348,6 +348,7 @@ CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
CONFIG_CEPH_LIB=m
CONFIG_PCIEPORTBUS=y
+CONFIG_PCI_HOST_GENERIC=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIEASPM is not set
--
2.39.3
Ping!
?? 2023/12/22 ????10:46, Song Gao д??:
> Enable generic PCIe by default in the LoongArch defconfig.
> QEMU requires this configuration when booting the kernel with FDT.
>
> Signed-off-by: Song Gao <[email protected]>
> ---
> arch/loongarch/configs/loongson3_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
> index 33795e4a5bd6..6350be7e8ec8 100644
> --- a/arch/loongarch/configs/loongson3_defconfig
> +++ b/arch/loongarch/configs/loongson3_defconfig
> @@ -348,6 +348,7 @@ CONFIG_NET_9P=y
> CONFIG_NET_9P_VIRTIO=y
> CONFIG_CEPH_LIB=m
> CONFIG_PCIEPORTBUS=y
> +CONFIG_PCI_HOST_GENERIC=y
> CONFIG_HOTPLUG_PCI_PCIE=y
> CONFIG_PCIEAER=y
> # CONFIG_PCIEASPM is not set
Queued, thanks.
Huacai
On Sat, Jan 6, 2024 at 3:23 PM gaosong <[email protected]> wrote:
>
> Ping!
>
> 在 2023/12/22 上午10:46, Song Gao 写道:
> > Enable generic PCIe by default in the LoongArch defconfig.
> > QEMU requires this configuration when booting the kernel with FDT.
> >
> > Signed-off-by: Song Gao <[email protected]>
> > ---
> > arch/loongarch/configs/loongson3_defconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
> > index 33795e4a5bd6..6350be7e8ec8 100644
> > --- a/arch/loongarch/configs/loongson3_defconfig
> > +++ b/arch/loongarch/configs/loongson3_defconfig
> > @@ -348,6 +348,7 @@ CONFIG_NET_9P=y
> > CONFIG_NET_9P_VIRTIO=y
> > CONFIG_CEPH_LIB=m
> > CONFIG_PCIEPORTBUS=y
> > +CONFIG_PCI_HOST_GENERIC=y
> > CONFIG_HOTPLUG_PCI_PCIE=y
> > CONFIG_PCIEAER=y
> > # CONFIG_PCIEASPM is not set
>
>