From 649e766a64a0d001f040dfc225c601b3d0af6f40 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 2 Feb 2017 12:02:22 +0100 Subject: mac80211: update to wireless-testing 2017-01-31 Signed-off-by: Felix Fietkau --- ...-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 package/kernel/mac80211/patches/330-ath10k-wmi-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch (limited to 'package/kernel/mac80211/patches/330-ath10k-wmi-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch') diff --git a/package/kernel/mac80211/patches/330-ath10k-wmi-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch b/package/kernel/mac80211/patches/330-ath10k-wmi-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch deleted file mode 100644 index 4ac9bcd7d4..0000000000 --- a/package/kernel/mac80211/patches/330-ath10k-wmi-alloc-chunk-should-use-DMA_BIDIRECTIONAL.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Ben Greear -Date: Tue, 29 Nov 2016 14:00:28 -0800 -Subject: [PATCH] ath10k: wmi-alloc-chunk should use DMA_BIDIRECTIONAL. - -These memory chunks are often used as 'swap' by the NIC, -so it will be both reading and writing to these areas. - -This seems to fix errors like this on my x86-64 machine: - -kernel: DMAR: DMAR:[DMA Write] Request device [05:00.0] fault addr ff5de000 - DMAR:[fault reason 05] PTE Write access is not set - -Tested-by: Marek Behun -Signed-off-by: Ben Greear ---- - ---- a/drivers/net/wireless/ath/ath10k/wmi.c -+++ b/drivers/net/wireless/ath/ath10k/wmi.c -@@ -4495,7 +4495,7 @@ static int ath10k_wmi_alloc_chunk(struct - if (!num_units) - return -ENOMEM; - -- paddr = dma_map_single(ar->dev, vaddr, pool_size, DMA_TO_DEVICE); -+ paddr = dma_map_single(ar->dev, vaddr, pool_size, DMA_BIDIRECTIONAL); - if (dma_mapping_error(ar->dev, paddr)) { - kfree(vaddr); - return -ENOMEM; -- cgit v1.2.3