system76 / firmware-open

System76 Open Firmware
Other
946 stars 84 forks source link

GLAN blocks C-states deeper than C3 #483

Open crawfxrd opened 9 months ago

crawfxrd commented 9 months ago

The system will not go to C-states lower than C3 when idle.

Steps to reproduce

Expected behavior

Actual behavior

Additional info

Power management for GLAN is disabled.

$ cat "/sys/bus/pci/devices/0000:2e:00.0/power/control"
on

Setting automatic power management will allow deeper C-states.

sudo sh -c "echo auto > '/sys/bus/pci/devices/0000:2e:00.0/power/control'"
crawfxrd commented 9 months ago

I'm not convinced GLAN config for boards is configured correctly (should we be using drivers/net?), so I'll leave this open until the configs can be checked.

I don't know what is disabling power management in the kernel. May be the kernel itself with all the commits mentioning ASPM problems I see in drivers/net/ethernet/realtek.