Chunhao Lin
af0bedfbcb
r8169: fix dmar pte write access is not set error
...
[ Upstream commit bb41c13c05 ]
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 <hau@realtek.com >
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-01-24 07:24:31 +01:00
..
2022-11-09 15:25:24 +01:00
2023-01-18 11:58:15 +01:00
2022-11-09 15:41:27 +01:00
2023-01-07 11:11:46 +01:00
2023-01-07 11:11:54 +01:00
2022-10-12 10:23:24 -07:00
2023-01-18 11:58:33 +01:00
2022-12-31 13:33:05 +01:00
2023-01-07 11:11:54 +01:00
2023-01-12 12:02:49 +01:00
2022-12-31 13:33:09 +01:00
2022-12-31 13:31:59 +01:00
2022-12-31 13:32:41 +01:00
2023-01-18 11:58:12 +01:00
2022-12-31 13:31:55 +01:00
2023-01-12 12:02:08 +01:00
2023-01-07 11:11:39 +01:00
2022-11-21 15:34:40 -08:00
2023-01-07 11:11:40 +01:00
2022-12-31 13:32:38 +01:00
2022-12-31 13:32:47 +01:00
2023-01-24 07:24:30 +01:00
2023-01-18 11:58:22 +01:00
2022-12-31 13:32:39 +01:00
2023-01-18 11:58:32 +01:00
2022-11-15 21:46:58 +08:00
2022-09-28 21:10:57 +09:30
2023-01-12 12:02:24 +01:00
2023-01-18 11:58:33 +01:00
2023-01-07 11:11:43 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:32:56 +01:00
2022-12-31 13:33:06 +01:00
2022-09-13 17:01:18 -05:00
2022-12-31 13:32:41 +01:00
2022-12-31 13:32:42 +01:00
2022-10-12 23:45:29 +02:00
2022-09-21 20:33:49 +02:00
2022-12-31 13:33:10 +01:00
2023-01-12 12:02:21 +01:00
2022-12-31 13:33:08 +01:00
2022-12-31 13:32:39 +01:00
2023-01-18 11:58:21 +01:00
2022-10-08 08:56:37 -07:00
2022-12-31 13:31:57 +01:00
2022-12-31 13:32:53 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:32:50 +01:00
2022-12-31 13:32:55 +01:00
2022-12-31 13:32:41 +01:00
2023-01-18 11:58:33 +01:00
2023-01-07 11:11:49 +01:00
2022-12-31 13:31:48 +01:00
2022-12-31 13:32:25 +01:00
2023-01-04 11:29:01 +01:00
2022-12-31 13:33:07 +01:00
2023-01-07 11:11:37 +01:00
2023-01-18 11:58:24 +01:00
2023-01-24 07:24:31 +01:00
2023-01-18 11:58:26 +01:00
2022-10-14 18:41:41 -07:00
2023-01-18 11:58:33 +01:00
2022-11-22 18:22:05 +01:00
2023-01-12 12:02:51 +01:00
2023-01-07 11:11:55 +01:00
2022-11-09 15:40:32 +01:00
2023-01-07 11:11:53 +01:00
2022-09-27 08:12:16 +02:00
2022-12-31 13:31:53 +01:00
2023-01-12 12:01:56 +01:00
2023-01-18 11:58:34 +01:00
2023-01-18 11:58:32 +01:00
2022-12-31 13:31:56 +01:00
2022-12-31 13:32:45 +01:00
2022-10-10 09:10:28 -07:00
2022-10-10 08:37:24 +01:00
2022-12-31 13:33:12 +01:00
2022-12-31 13:32:00 +01:00
2023-01-18 11:58:22 +01:00
2023-01-07 11:11:55 +01:00
2022-10-08 10:06:48 -07:00
2022-09-21 11:21:33 -06:00
2023-01-07 11:11:50 +01:00
2023-01-18 11:58:33 +01:00
2023-01-18 11:58:23 +01:00
2022-11-09 15:40:14 +01:00
2022-11-10 18:45:40 +01:00
2023-01-07 11:11:38 +01:00
2023-01-04 11:28:56 +01:00
2022-12-31 13:33:11 +01:00
2022-09-30 14:33:23 +02:00
2022-09-19 15:08:38 +02:00
2023-01-07 11:11:51 +01:00
2022-12-31 13:33:06 +01:00
2022-11-17 09:22:12 +01:00
2023-01-12 12:02:50 +01:00
2022-10-11 17:42:58 -06:00
2023-01-18 11:58:26 +01:00
2023-01-18 11:58:23 +01:00
2022-12-31 13:32:38 +01:00
2023-01-18 11:58:33 +01:00
2023-01-24 07:24:31 +01:00
2022-12-31 13:32:41 +01:00
2023-01-12 12:02:49 +01:00
2023-01-12 12:02:44 +01:00
2022-12-31 13:32:09 +01:00
2023-01-24 07:24:31 +01:00
2022-10-08 08:56:37 -07:00
2022-12-31 13:32:44 +01:00
2022-12-31 13:31:59 +01:00