[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <72c08f35-934d-8e30-2b5d-44093d108613@loongson.cn>
Date: Fri, 4 Nov 2022 14:36:04 +0800
From: Liu Peibao <liupeibao@...ngson.cn>
To: Jiaxun Yang <jiaxun.yang@...goat.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof Wilczyński <kw@...ux.com>
Cc: chenhuacai@...ngson.cn, lvjianmin@...ngson.cn,
zhuyinbo@...ngson.cn, linux-pci@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] PCI: loongson: add skip-scan property for child DT
node
On 11/3/22 7:37 PM, Jiaxun Yang wrote:
>
>
> 在 2022/11/3 09:00, Liu Peibao 写道:
>> The PCI Controller of 2k1000 could not mask devices by
>> setting vender id & device id in configuration space header
>> as invalid values. When there are pins shareble between
>> the platform device and PCI device, if the platform device
>> is preferred, we should not scan this PCI device. In the
>> above scene, add "skip-scan" property in DT node of this
>> PCI device.
>
> If you are going to add a new property you need to document it somewhere.
>
> From my point of view you can use existing property `status = "disabled"`
> to for this semantic...
>
That is really constructive. I will let it work with `status = "disabled"`.
BR,
Peibao
Powered by blists - more mailing lists