Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Huacai Chen <chenhuacai@loongson.cn>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	"Rafael J . Wysocki" <rjw@rjwysocki.net>,
	Len Brown <lenb@kernel.org>,
	linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org,
	Jianmin Lv <lvjianmin@loongson.cn>,
	Xuefeng Li <lixuefeng@loongson.cn>,
	Huacai Chen <chenhuacai@gmail.com>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Haowei Zheng <zhenghaowei@loongson.cn>
Subject: Re: [PATCH] PCI/ACPI: Increase the number of Loongson's PCI host up to 8
Date: Thu, 1 Aug 2024 18:05:05 -0500	[thread overview]
Message-ID: <20240801230505.GA127410@bhelgaas> (raw)
In-Reply-To: <20240726092911.2042656-1-chenhuacai@loongson.cn>

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@loongson.cn>
> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>

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
> 

      reply	other threads:[~2024-08-01 23:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26  9:29 [PATCH] PCI/ACPI: Increase the number of Loongson's PCI host up to 8 Huacai Chen
2024-08-01 23:05 ` Bjorn Helgaas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240801230505.GA127410@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=chenhuacai@gmail.com \
    --cc=chenhuacai@loongson.cn \
    --cc=jiaxun.yang@flygoat.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lixuefeng@loongson.cn \
    --cc=lvjianmin@loongson.cn \
    --cc=rjw@rjwysocki.net \
    --cc=zhenghaowei@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox