Re: [PATCH] PCI/ACPI: Increase the number of Loongson's PCI host up to 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 26, 2024 at 05:29:11PM +0800, Huacai Chen wrote:
> Begin with Loongson-3C6000, the number of PCI host can be as many as 8
> for multi-chip machines. To support these machines we also increase the
> number of entries in mcfg_quirks up to 8.
> 
> Signed-off-by: Haowei Zheng <zhenghaowei@xxxxxxxxxxx>
> Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>

Applied to pci/controller/loongson for v6.12, thanks!

> ---
>  drivers/acpi/pci_mcfg.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/drivers/acpi/pci_mcfg.c b/drivers/acpi/pci_mcfg.c
> index 860014b89b8e..58e10a980114 100644
> --- a/drivers/acpi/pci_mcfg.c
> +++ b/drivers/acpi/pci_mcfg.c
> @@ -181,6 +181,18 @@ static struct mcfg_fixup mcfg_quirks[] = {
>  	LOONGSON_ECAM_MCFG("LOONGSON", 0),
>  	LOONGSON_ECAM_MCFG("\0", 1),
>  	LOONGSON_ECAM_MCFG("LOONGSON", 1),
> +	LOONGSON_ECAM_MCFG("\0", 2),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 2),
> +	LOONGSON_ECAM_MCFG("\0", 3),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 3),
> +	LOONGSON_ECAM_MCFG("\0", 4),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 4),
> +	LOONGSON_ECAM_MCFG("\0", 5),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 5),
> +	LOONGSON_ECAM_MCFG("\0", 6),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 6),
> +	LOONGSON_ECAM_MCFG("\0", 7),
> +	LOONGSON_ECAM_MCFG("LOONGSON", 7),
>  #endif /* LOONGARCH */
>  };
>  
> -- 
> 2.43.5
> 




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux