Re: [PATCH 1/2] PCI: loongson: add skip-scan property for child DT node

From: Liu Peibao
Date: Fri Nov 04 2022 - 02:36:14 EST


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