From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751444AbcCVDRX (ORCPT ); Mon, 21 Mar 2016 23:17:23 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:48672 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbcCVDRW (ORCPT ); Mon, 21 Mar 2016 23:17:22 -0400 From: Zhen Lei To: Catalin Marinas , Will Deacon , linux-arm-kernel , linux-kernel CC: Zefan Li , Xinwei Hu , "Tianhong Ding" , Hanjun Guo , Zhen Lei Subject: [PATCH v3 0/1] arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA Date: Tue, 22 Mar 2016 11:18:28 +0800 Message-ID: <1458616709-21888-1-git-send-email-thunder.leizhen@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.56F0B93C.0136,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: fc2f953c6e6383168af21dc2cae764ac Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changelog: v2 -> v3: 1. Just add some description for this patch. v1 -> v2: 1. Give up removing the conversion, because of thoughtless, instead moved it into branch if (!is_device_dma_coherent(dev)). Thanks for Catalin's detailed explanation, I directly take some relies as comment in the code. Zhen Lei (1): arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA arch/arm64/mm/dma-mapping.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 2.5.0