Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578703

Re: [PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX
Date Fri, 10 Feb 2017 19:50:01 +0100
Message-ID <t9oqB-7bE-7@gated-at.bofh.it> (permalink)
References <t8VoC-5CX-17@gated-at.bofh.it>
X-Original-To salil.mehta@huawei.com
X-Mailer Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 10 Feb 2017 09:41:57 -0800 (PST)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
X-Original-Cc yisen.zhuang@huawei.com, mehta.salil.lnk@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, yankejian@huawei.com
X-Original-Date Fri, 10 Feb 2017 13:40:53 -0500 (EST)
X-Original-Message-ID <20170210.134053.1587518147779422167.davem@davemloft.net>
X-Original-References <20170209114615.179560-1-salil.mehta@huawei.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1578703

Show key headers only | View raw


From: Salil Mehta <salil.mehta@huawei.com>
Date: Thu, 9 Feb 2017 11:46:15 +0000

> From: Kejian Yan <yankejian@huawei.com>
> 
> This patch fixes the device being used to DMA map skb->data.
> Erroneous device assignment causes the crash when SMMU is enabled.
> This happens during TX since buffer gets DMA mapped with device
> correspondign to net_device and gets unmapped using the device
> related to DSAF.
> 
> Signed-off-by: Kejian Yan <yankejian@huawei.com>
> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
> Signed-off-by: Salil Mehta <salil.mehta@huawei.com>

Applied, thank you.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH V2 net] net: hns: Fix the device being used for dma mapping during TX Salil Mehta <salil.mehta@huawei.com> - 2017-02-09 12:50 +0100
  Re: [PATCH V2 net] net: hns: Fix the device being used for dma  mapping during TX David Miller <davem@davemloft.net> - 2017-02-10 19:50 +0100

csiph-web