On Wed, 10 Aug 2022 09:02:57 +0300 Krzysztof Kozlowski <krzysztof.kozlow...@linaro.org> wrote:
> On 09/08/2022 20:58, Stephen Hemminger wrote: > >> > >> However, due to the patch[1] merged into 5.19 kernel, 'driver_override' > >> in the pci_dev is no longer NULL by writing '\00' to driver_override file. > >> This causes PCI match device failure and the device will never be bound to > >> their kernel driver. > > > > > > Linux kernel does not look favorably on API changes and that looks like > > the kernel changed behavior. That should be reported and fixed there. > > To clarify around this issue: > > There were no API changes. Linux kernel follows the API exactly how it > is described in the API document since 2014: > Documentation/ABI/testing/sysfs-bus-pci > > There was no change in kernel API. > > There was a change in undocumented, unsupported and wrong usage of > driver_override API. > > Best regards, > Krzysztof Linux documentation is not the standard, the code is.