r8169: enable ASPM L1.2 if system vendor flags it as safe
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 26 Jan 2022 19:49:59 +0000 (20:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2022 13:54:54 +0000 (13:54 +0000)
commitc217ab7a3961df568233faf485ac67aea1f8c5cb
tree802b0bbef4bf4c04452f4a20b142d3f391a969ca
parent2fbafb828ec716ef35e877b17a927f3af70c91c6
r8169: enable ASPM L1.2 if system vendor flags it as safe

On some systems there are compatibility issues with ASPM L1.2 and
RTL8125, therefore this state is disabled per default. To allow for
the L1.2 power saving on not affected systems, Realtek provides
vendors that successfully tested ASPM L1.2 the option to flag this
state as safe. According to Realtek this flag will be set first on
certain Chromebox devices.

Suggested-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c