aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChunhao Lin <[email protected]>2022-12-26 20:31:53 +0800
committerDavid S. Miller <[email protected]>2022-12-28 11:58:08 +0000
commitbb41c13c05c23d9bc46b4e37d8914078c6a40e3a (patch)
tree2b6bd273aff03f1f3431f8d5b6bb331cec21c8d1 /tools/perf/scripts/python
parentad425666a1f05d9b215a84cf010c3789b2ea8206 (diff)
r8169: fix dmar pte write access is not set error
When close device, if wol is enabled, rx will be enabled. When open device it will cause rx packet to be dma to the wrong memory address after pci_set_master() and system log will show blow messages. DMAR: DRHD: handling fault status reg 3 DMAR: [DMA Write] Request device [02:00.0] PASID ffffffff fault addr ffdd4000 [fault reason 05] PTE Write access is not set In this patch, driver disable tx/rx when close device. If wol is enabled, only enable rx filter and disable rxdv_gate(if support) to let hardware only receive packet to fifo but not to dma it. Signed-off-by: Chunhao Lin <[email protected]> Reviewed-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions