diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-05-02 22:39:56 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-02 23:23:49 +0300 |
| commit | ff1d733155da3fdba29e2ba99be428da86070989 (patch) | |
| tree | 0e4c5e3ec112a88f95edafaa8fcc75c4b31b258f /tools/perf/scripts/python/syscall-counts.py | |
| parent | eda40b8cbe8e4b099233ce30535cb4c835896637 (diff) | |
| download | linux-ff1d733155da3fdba29e2ba99be428da86070989.tar.xz | |
r8169: improve PCI config space access
Some chips have a non-zero function id, however instead of hardcoding
the id's (CSIAR_FUNC_NIC and CSIAR_FUNC_NIC2) we can get them
dynamically via PCI_FUNC(pci_dev->devfn). This way we can get rid
of the csi_ops.
In general csi is just a fallback mechanism for PCI config space
access in case no native access is supported. Therefore let's
try native access first.
I checked with Realtek regarding the functionality of config space
byte 0x070f and according to them it controls the L0s/L1
entrance latency.
Currently ASPM is disabled in general and therefore this value
isn't used. However we may introduce a whitelist for chips
where ASPM is known to work, therefore let's keep this code.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
