summaryrefslogtreecommitdiffstats
path: root/qcom-msm89xx-fixes.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2017-09-07 16:18:25 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2017-09-07 16:18:25 -0500
commit7bc3819a0f140b4f887239852c3ac4c38ed716a7 (patch)
treee01aa5a6236b47337c27a649cb60b84173a4fa1f /qcom-msm89xx-fixes.patch
parent7c0c57cc1253c716ffabbfcb7bee34c24f0b86d2 (diff)
downloadkernel-7bc3819a0f140b4f887239852c3ac4c38ed716a7.tar.gz
kernel-7bc3819a0f140b4f887239852c3ac4c38ed716a7.tar.xz
kernel-7bc3819a0f140b4f887239852c3ac4c38ed716a7.zip
Linux v4.13-6657-g3b9f8ed25dbe
Diffstat (limited to 'qcom-msm89xx-fixes.patch')
-rw-r--r--qcom-msm89xx-fixes.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/qcom-msm89xx-fixes.patch b/qcom-msm89xx-fixes.patch
index a3298e432..4b5db8422 100644
--- a/qcom-msm89xx-fixes.patch
+++ b/qcom-msm89xx-fixes.patch
@@ -136,55 +136,3 @@ index b9069184df19..d008e5b82db4 100644
--
2.13.0
-From 173c1207986956ea4c00601a67c952751a1985e6 Mon Sep 17 00:00:00 2001
-From: Peter Robinson <pbrobinson@gmail.com>
-Date: Mon, 3 Jul 2017 10:10:21 +0100
-Subject: [PATCH 6/6] wcn36xx: check dma_mapping_error()
-
-Fixes splat:
-
- wcn36xx a204000.wcnss:smd-edge:wcnss:wifi: DMA-API: device driver failed to check map error[device address=0x00000000b45ba000] [size=3872 bytes] [mapped as single]
- ------------[ cut here ]------------
- WARNING: CPU: 0 PID: 0 at ../lib/dma-debug.c:1167 check_unmap+0x474/0x8d0
- Modules linked in: bnep(E) arc4(E) wcn36xx(E) mac80211(E) btqcomsmd(E) btqca(E) bluetooth(E) cfg80211(E) ecdh_generic(E) rfkill(E) vfat(E) fat(E) wcnss_ctrl qcom_wcnss_pil(E) mdt_loader(E) qcom_common(E) remoteproc(E) crc32_ce(E) virtio_ring(E) snd_soc_lpass_apq8016(E) snd_soc_lpass_cpu(E) virtio(E) snd_soc_lpass_platform(E) leds_gpio(E) snd_soc_hdmi_codec(E) snd_soc_apq8016_sbc(E) snd_soc_msm8916_digital(E) snd_soc_core(E) qcom_spmi_temp_alarm(E) ac97_bus(E) snd_pcm_dmaengine(E) snd_seq(E) snd_seq_device(E) snd_pcm(E) spi_qup(E) nvmem_qfprom(E) snd_timer(E) snd(E) soundcore(E) msm_rng(E) qcom_tsens(E) nvmem_core(E) uas(E) usb_storage(E) dm9601(E) cdc_ether(E) usbnet(E) mii(E) mmc_block(E) sdhci_msm(E) sdhci_pltfm(E) qcom_spmi_vadc(E) qcom_vadc_common(PE) clk_smd_rpm(E) industrialio(E)
- qcom_smd_regulator(E) pinctrl_spmi_mpp(E) pinctrl_spmi_gpio(E) rtc_pm8xxx(E) adv7511(E) smd_rpm(E) qcom_spmi_pmic(E) regmap_spmi(E) phy_msm_usb(E) usb3503(E) extcon_usb_gpio(E) ci_hdrc_msm(E) ci_hdrc(E) qcom_hwspinlock(E) udc_core(E) extcon_core(E) ehci_msm(E) i2c_qup(E) sdhci(E) msm(E) mmc_core(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) spmi_pmic_arb(E) drm(E) spmi(E) qcom_smd(E) rpmsg_core smsm(E) gpio_keys(E) smp2p(E) smem(E) hwspinlock_core(E) sunrpc(E) scsi_transport_iscsi(E)
- CPU: 0 PID: 0 Comm: swapper/0 Tainted: P E 4.12.0-rc7+ #1476
- Hardware name: qualcomm dragonboard410c/dragonboard410c, BIOS 2017.07-rc1-00234-g22fa70a-dirty 06/26/2017
- task: ffff000009049780 task.stack: ffff000009030000
- PC is at check_unmap+0x474/0x8d0
- LR is at check_unmap+0x474/0x8d0
- ...
- Mapped at:
- dma_entry_alloc+0x68/0xa8
- debug_dma_map_page+0x94/0x148
- wcn36xx_dxe_fill_skb.isra.1+0xbc/0xf8 [wcn36xx]
- wcn36xx_dxe_init+0x244/0x398 [wcn36xx]
- wcn36xx_start+0xf4/0x298 [wcn36xx]
-
-v2: pbrobinson: add kfree_skb(skb);
-
-Signed-off-by: Rob Clark <robdclark@gmail.com>
-Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
----
- drivers/net/wireless/ath/wcn36xx/dxe.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/net/wireless/ath/wcn36xx/dxe.c b/drivers/net/wireless/ath/wcn36xx/dxe.c
-index 87dfdaf9044c..d5c810a8cc52 100644
---- a/drivers/net/wireless/ath/wcn36xx/dxe.c
-+++ b/drivers/net/wireless/ath/wcn36xx/dxe.c
-@@ -289,6 +289,11 @@ static int wcn36xx_dxe_fill_skb(struct device *dev, struct wcn36xx_dxe_ctl *ctl)
- skb_tail_pointer(skb),
- WCN36XX_PKT_SIZE,
- DMA_FROM_DEVICE);
-+ if (dma_mapping_error(dev, dxe->dst_addr_l)) {
-+ dev_err(dev, "unable to map skb\n");
-+ kfree_skb(skb);
-+ return -ENOMEM;
-+ }
- ctl->skb = skb;
-
- return 0;
---
-2.13.0
-