Re: [PATCH v5 10/14] dt-bindings: PCI: Add CIX Sky1 PCIe Root Complex bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2025/7/14 15:43, Krzysztof Kozlowski wrote:
EXTERNAL EMAIL

On 03/07/2025 03:47, Hans Zhang wrote:

We initially used the logic of Cadence common driver as follows:
drivers/pci/controller/cadence/pcie-cadence-host.c
of_property_read_u32(np, "vendor-id", &rc->vendor_id);

of_property_read_u32(np, "device-id", &rc->device_id);

So, can the code in Cadence be deleted?

Don't know. If this is ABI, then not.


According to my understanding, this is not ABI.

Huh? Then what is ABI, by your understanding?


Dear Krzysztof,

I understand kernel ABI primarily refers to the stable binary contract between the kernel and userspace (e.g., syscalls, /sys/proc interfaces). Device tree properties are part of the boot-time hardware description consumed by drivers during initialization. They are not directly exposed to userspace as ABI interfaces.

If I understand wrongly, please correct me.


It was about half a year ago when I submitted the patch that could view LTSSM link status in dwc that I learned about the ABI. There are not many studies on this.

https://lore.kernel.org/linux-pci/20250123164944.GA1223935@bhelgaas/


Best regards,
Hans




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux