43f88d530e
Unmap the rx buffer before mapping the new one in rtl8192_rx. Failing to do so quickly exhausts the IOMMU memory during downloads: [...] DMA: Out of SW-IOMMU space for 9100 bytes at device ... Using "iommu=off mem=4g" also fixes the problem because then pci_map_single does not allocate memory. Tested on my personal laptop with a RTL8192E device. Without this patch the kernel quickly runs out of IOMMU memory (downloading 5 MB of data is sufficient to trigger it), with this patch applied I haven't experienced any issues so far. Signed-off-by: Daniel Lichtenberger <daniel.lichtenberger@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
ieee80211 | ||
dot11d.h | ||
ieee80211_crypt.h | ||
ieee80211.h | ||
Kconfig | ||
Makefile | ||
r819xE_cmdpkt.c | ||
r819xE_cmdpkt.h | ||
r819xE_firmware.c | ||
r819xE_phy.c | ||
r819xE_phy.h | ||
r819xE_phyreg.h | ||
r8180_93cx6.c | ||
r8180_93cx6.h | ||
r8190_rtl8256.c | ||
r8190_rtl8256.h | ||
r8192_pm.c | ||
r8192_pm.h | ||
r8192E_core.c | ||
r8192E_dm.c | ||
r8192E_dm.h | ||
r8192E_hw.h | ||
r8192E_wx.c | ||
r8192E_wx.h | ||
r8192E.h |