[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170210.134053.1587518147779422167.davem@davemloft.net>
Date: Fri, 10 Feb 2017 13:40:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: salil.mehta@...wei.com
Cc: yisen.zhuang@...wei.com, mehta.salil.lnk@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, yankejian@...wei.com
Subject: Re: [PATCH V2 net] net: hns: Fix the device being used for dma
mapping during TX
From: Salil Mehta <salil.mehta@...wei.com>
Date: Thu, 9 Feb 2017 11:46:15 +0000
> From: Kejian Yan <yankejian@...wei.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@...wei.com>
> Reviewed-by: Yisen Zhuang <yisen.zhuang@...wei.com>
> Signed-off-by: Salil Mehta <salil.mehta@...wei.com>
Applied, thank you.
Powered by blists - more mailing lists