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

2017-02-10 Thread Lino Sanfilippo
> , "linux-kernel@vger.kernel.org" > , Linuxarm , "Yankejian > (Hackim Yim)" > Betreff: RE: [PATCH net] net: hns: Fix the device being used for dma mapping > during TX > > > -Original Message- > > From: Lino Sanfilippo [mailto:li

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

2017-02-09 Thread Salil Mehta
er...@vger.kernel.org; Linuxarm; Yankejian (Hackim Yim) > Subject: Re: [PATCH net] net: hns: Fix the device being used for dma > mapping during TX > > Hi, > > > From: Kejian Yan > > > > This patch fixes the device being used to DMA map skb->data. > > Er

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

2017-02-09 Thread Lino Sanfilippo
Hi, > From: Kejian Yan > > 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 > relate

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

2017-02-09 Thread Salil Mehta
jian (Hackim Yim) > Subject: RE: [PATCH net] net: hns: Fix the device being used for dma > mapping during TX > > > -Original Message- > > From: YUAN Linyu [mailto:linyu.y...@alcatel-sbell.com.cn] > > Sent: Thursday, February 09, 2017 9:36 AM > > To: Salil Meht

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

2017-02-09 Thread Salil Mehta
rnel.org; Linuxarm; > Yankejian (Hackim Yim) > Subject: RE: [PATCH net] net: hns: Fix the device being used for dma > mapping during TX > > > > > -Original Message- > > From: netdev-ow...@vger.kernel.org [mailto:netdev- > ow...@vger.kernel.org] > > On Beha

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

2017-02-09 Thread YUAN Linyu
il@gmail.com; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux...@huawei.com; Kejian Yan > Subject: [PATCH net] net: hns: Fix the device being used for dma mapping > during > TX > > From: Kejian Yan > > This patch fixes the device being used to DMA map skb-&g

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

2017-02-09 Thread Salil Mehta
From: Kejian Yan 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-