Re: [PATCH] Revert "of: property: fw_devlink: Add support for remote-endpoint"

From: Greg Kroah-Hartman
Date: Tue Sep 28 2021 - 08:30:52 EST


On Mon, Sep 27, 2021 at 06:13:12PM -0700, Saravana Kannan wrote:
> On Mon, Sep 27, 2021 at 5:56 PM Dmitry Baryshkov
> > root@qcom-armv8a:~# ls -l /sys/bus/platform/devices/88e9000.phy/
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13
> > consumer:platform:a600000.usb ->
> > ../../../virtual/devlink/platform:88e9000.phy--platform:a600000.usb
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13
> > consumer:platform:af00000.clock-controller ->
> > ../../../virtual/devlink/platform:88e9000.phy--platform:af00000.clock-controller
> > -rw-r--r-- 1 root root 4096 Aug 4 15:13 driver_override
> > -r--r--r-- 1 root root 4096 Aug 4 15:13 modalias
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13 of_node ->
> > ../../../../firmware/devicetree/base/soc@0/phy@88e9000
> > drwxr-xr-x 2 root root 0 Aug 4 15:13 power
> > lrwxrwxrwx 1 root root 0 Aug 4 15:10 subsystem ->
> > ../../../../bus/platform
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13
> > supplier:platform:100000.clock-controller ->
> > ../../../virtual/devlink/platform:100000.clock-controller--platform:88e9000.phy
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13
> > supplier:platform:18200000.rsc:clock-controller ->
> > ../../../virtual/devlink/platform:18200000.rsc:clock-controller--platform:88e9000.phy
> > lrwxrwxrwx 1 root root 0 Aug 4 15:13
> > supplier:platform:18200000.rsc:pm8150-rpmh-regulators ->
> > ../../../virtual/devlink/platform:18200000.rsc:pm8150-rpmh-regulators--platform:88e9000.phy
> > -rw-r--r-- 1 root root 4096 Aug 4 15:10 uevent
> > -r--r--r-- 1 root root 4096 Aug 4 15:13
> > waiting_for_supplier
> >
> > Thus it is not possible to spot this device link without
> > CONFIG_DEBUG_DRIVER=y (or any similar debugging technique).
>
> I sent out some patches to make this easier. But doesn't look like
> it'll land in 5.15.
> https://lore.kernel.org/lkml/20210915172808.620546-1-saravanak@xxxxxxxxxx/

I have now queued these up to make it into 5.15-final, this thread has
convinced me :)

greg k-h