diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-03-07 00:24:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-08 12:30:41 +0300 |
commit | 6bc6c4e6893ee79a9862c61d1635e7da6d5a3333 (patch) | |
tree | dc1b508439a705310f9f8621e6d02b5107dadff6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91c8643578a21e435c412ffbe902bb4b4773e262 (diff) | |
download | linux-6bc6c4e6893ee79a9862c61d1635e7da6d5a3333.tar.xz |
r8169: use spinlock to protect access to registers Config2 and Config5
For disabling ASPM during NAPI poll we'll have to access both registers
in atomic context. Use a spinlock to protect access.
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.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