aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2023-03-06 22:24:00 +0100
committerDavid S. Miller <[email protected]>2023-03-08 09:30:41 +0000
commit6bc6c4e6893ee79a9862c61d1635e7da6d5a3333 (patch)
treedc1b508439a705310f9f8621e6d02b5107dadff6 /tools/perf/scripts/python/mem-phys-addr.py
parent91c8643578a21e435c412ffbe902bb4b4773e262 (diff)
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 <[email protected]> Tested-by: Kai-Heng Feng <[email protected]> Tested-by: Holger Hoffstätte <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions