Hi Javen
On 2.12.2026 09:55, Javen wrote:
> [...]
>> What happens when r8169 is runtime suspended? Nothing on this path
>> resumes it.
>
> I think we could resume the MAC around the PHC callbacks with pm_runtime_resume_and_get(phydev->mdio.bus->parent), or only take a reference with pm_runtime_get_if_active() and return -EBUSY while the MAC is suspended, so the PHC doesn't wake up the NIC (and re-init the PHY) while there is no link.
> Which one do you prefer?
I'd lean towards the second one.
Waking the NIC on every clock read would probably keep it from suspending
while phc2sys runs, and without link there isn't much to sync. But I'm not
sure, hwmon has the same issue, so maybe Heiner prefers fixing it on the
r8169 side ?
> [...]
Regards
Nicolai