From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: Huacai Chen <chenhuacai@gmail.com>
Cc: Huacai Chen <chenhuacai@loongson.cn>,
Bjorn Helgaas <bhelgaas@google.com>,
linux-pci <linux-pci@vger.kernel.org>,
Xuefeng Li <lixuefeng@loongson.cn>
Subject: Re: [PATCH V4 2/4] PCI: Move loongson pci quirks to quirks.c
Date: Mon, 28 Jun 2021 18:57:26 +0800 [thread overview]
Message-ID: <896f834f-887b-4216-cdcc-cd5eaba6717c@flygoat.com> (raw)
In-Reply-To: <CAAhV-H524hSStZRzO2Nsthi86mHu2e4dernPM8_bX+zEN5qiKQ@mail.gmail.com>
在 2021/6/28 下午6:55, Huacai Chen 写道:
> Hi, Jiaxun,
>
> On Mon, Jun 28, 2021 at 6:41 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>>
>>
>> 在 2021/6/28 下午6:38, Huacai Chen 写道:
>>> Hi, Jiaxun,
>>>
>>> On Mon, Jun 28, 2021 at 6:13 PM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>>>>
>>>> 在 2021/6/28 下午6:10, Huacai Chen 写道:
>>>>> Loongson PCH (LS7A chipset) will be used by both MIPS-based and
>>>>> LoongArch-based Loongson processors. MIPS-based Loongson uses FDT
>>>>> but LoongArch-base Loongson uses ACPI, but the driver in drivers/
>>>>> pci/controller/pci-loongson.c is FDT-only. So move the quirks to
>>>>> quirks.c where can be shared by all architectures.
>>>>>
>>>>> LoongArch is a new RISC ISA, mainline support will come soon, and
>>>>> documentations are here (in translation):
>>>>>
>>>>> https://github.com/loongson/LoongArch-Documentation
>>>> Probably you should guard it with CONFIG_MACH_LOONGSON64 now and add
>>>> CONFIG_LOONGARCH
>>>> once LOONGARCH code is mainlined.
>>> These quirks won't match non-Loongson platforms (because they are
>>> matched by pci ids), so I think that is unnecessary.
>> Are you sure?
>> As I saw
>> +DECLARE_PCI_FIXUP_ENABLE(PCI_ANY_ID, PCI_ANY_ID
>> It will slow down boot progress on all systems.
> This ANY ID matching is only used by loongson_mrrs_quirk(), but the
> next patch will rework loongson_mrrs_quirk().
Oh I see. That seems better.
Thanks.
- Jiaxun
>
> Huacai
>
next prev parent reply other threads:[~2021-06-28 10:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 10:10 [PATCH V4 0/4] PCI: Loongson-related pci quirks Huacai Chen
2021-06-28 10:10 ` [PATCH V4 1/4] PCI/portdrv: Don't disable device during shutdown Huacai Chen
2021-06-28 10:10 ` [PATCH V4 2/4] PCI: Move loongson pci quirks to quirks.c Huacai Chen
2021-06-28 10:13 ` Jiaxun Yang
2021-06-28 10:38 ` Huacai Chen
2021-06-28 10:41 ` Jiaxun Yang
2021-06-28 10:55 ` Huacai Chen
2021-06-28 10:57 ` Jiaxun Yang [this message]
2021-06-28 10:58 ` Jiaxun Yang
2021-06-28 10:10 ` [PATCH V4 3/4] PCI: Improve the MRRS quirk for LS7A Huacai Chen
2021-06-28 10:59 ` Jiaxun Yang
2021-06-28 22:35 ` Bjorn Helgaas
2021-06-29 3:20 ` Huacai Chen
2021-06-29 19:42 ` Bjorn Helgaas
2021-06-28 10:10 ` [PATCH V4 4/4] PCI: Add quirk for multifunction devices of LS7A Huacai Chen
2021-06-28 10:59 ` Jiaxun Yang
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=896f834f-887b-4216-cdcc-cd5eaba6717c@flygoat.com \
--to=jiaxun.yang@flygoat.com \
--cc=bhelgaas@google.com \
--cc=chenhuacai@gmail.com \
--cc=chenhuacai@loongson.cn \
--cc=linux-pci@vger.kernel.org \
--cc=lixuefeng@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