Re: [PATCH v6 3/8] dt-bindings: PCI: qcom,pcie-x1e80100: Add 'global' interrupt

Krzysztof Kozlowski
2024-10-11T15:44:40Z

On 11/10/2024 17:42, Manivannan Sadhasivam wrote:
>
>
> On October 11, 2024 8:03:58 PM GMT+05:30, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>> On Fri, Oct 11, 2024 at 03:41:37AM -0700, Qiang Yu wrote:
>>> Document 'global' SPI interrupt along with the existing MSI interrupts so
>>> that QCOM PCIe RC driver can make use of it to get events such as PCIe
>>> link specific events, safety events, etc.
>>
>> Describe the hardware, not what the driver will do.
>>
>>>
>>> Though adding a new interrupt will break the ABI, it is required to
>>> accurately describe the hardware.
>>
>> That's poor reason. Hardware was described and missing optional piece
>> (because according to your description above everything was working
>> fine) is not needed to break ABI.
>>
>
> Hardware was described but not completely. 'global' IRQ let's the controller driver to handle PCIe link specific events like Link up, Link down etc... They improve user experience like the driver can use those interrupts to start bus enumeration on its own. So breaking the ABI for good in this case.
>
>> Sorry, if your driver changes the ABI for this poor reason.
>>
>
> Is the above reasoning sufficient?

I tried to look for corresponding driver change, but could not, so maybe
there is no ABI break in the first place. Above explanation is good, but
still feels like improvement and device could work without global clock.

Best regards,
Krzysztof