Thread (12 messages) 12 messages, 3 authors, 2021-02-12

Re: [PATCH v1 0/5] Enable fw_devlink=on by default

From: Jon Hunter <jonathanh@nvidia.com>
Date: 2021-01-14 16:57:45
Also in: lkml

Possibly related (same subject, not in this thread)

On 14/01/2021 16:47, Saravana Kannan wrote:

...
quoted
Yes this is the warning shown here [0] and this is coming from
the 'Generic PHY stmmac-0:00' device.
Can you print the supplier and consumer device when this warning is
happening and let me know? That'd help too. I'm guessing the phy is
the consumer.

Sorry I should have included that. I added a print to dump this on
another build but failed to include here.

WARNING KERN Generic PHY stmmac-0:00: supplier 2200000.gpio (status 1)

The status is the link->status and looks like the supplier is the
gpio controller. I have verified that the gpio controller is probed
before this successfully.
So the warning itself isn't a problem -- it's not breaking anything or
leaking memory or anything like that. But the device link is jumping
states in an incorrect manner. With enough context of this code (why
the device_bind_driver() is being called directly instead of going
through the normal probe path), it should be easy to fix (I'll just
need to fix up the device link state).

Correct, the board seems to boot fine, we just get this warning.

Cheers
Jon

-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help