summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2022-01-28 23:41:42 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-31 14:32:20 +0300
commitd192181c2ccbeb6403397b070b82676d9d665ec2 (patch)
tree4ba7fee283243009c592266dea8a146a71813f1e /tools/perf/scripts/python/export-to-postgresql.py
parent73c105ad2a3e142d81fc59761ce8353d0b211b8f (diff)
downloadlinux-d192181c2ccbeb6403397b070b82676d9d665ec2.tar.xz
r8169: add rtl_disable_exit_l1()
Add rtl_disable_exit_l1() for ensuring that the chip doesn't inadvertently exit ASPM L1 when being in a low-power mode. The new function is called from rtl_prepare_power_down() which has to be moved in the code to avoid a forward declaration. According to Realtek OCP register 0xc0ac shadows ERI register 0xd4 on RTL8168 versions from RTL8168g. This allows to simplify the code a little. v2: - call rtl_disable_exit_l1() also if DASH or WoL are enabled 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions