Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751792AbdISG2n (ORCPT ); Tue, 19 Sep 2017 02:28:43 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6491 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbdISG2m (ORCPT ); Tue, 19 Sep 2017 02:28:42 -0400 Subject: Re: [PATCH v2 0/3] arm-smmu: performance optimization To: Nate Watterson , Will Deacon , Joerg Roedel , linux-arm-kernel , iommu , Robin Murphy , linux-kernel References: <1505221238-9428-1-git-send-email-thunder.leizhen@huawei.com> <6b051916-c49f-f9d0-81d8-05f857e4672e@codeaurora.org> CC: Jinyue Li , Kefeng Wang , Libin , Hanjun Guo From: "Leizhen (ThunderTown)" Message-ID: <59C0B8AD.4010201@huawei.com> Date: Tue, 19 Sep 2017 14:26:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <6b051916-c49f-f9d0-81d8-05f857e4672e@codeaurora.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.59C0B8E5.0056,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: bf1150b0e65fca757f9206d03ee2980a Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1269 Lines: 42 On 2017/9/19 12:31, Nate Watterson wrote: > Hi Leizhen, > > On 9/12/2017 9:00 AM, Zhen Lei wrote: >> v1 -> v2: >> base on (add02cfdc9bc2 "iommu: Introduce Interface for IOMMU TLB Flushing") >> >> Zhen Lei (3): >> iommu/arm-smmu-v3: put off the execution of TLBI* to reduce lock >> confliction >> iommu/arm-smmu-v3: add support for unmap an iova range with only one >> tlb sync > > I tested these (2) patches on QDF2400 hardware and saw performance > improvements in line with those I reported when testing the original > series. I don't have any hardware close at hand to test the 3rd patch > in the series so that will have to come from someone else. Thanks a lot. > > Tested-by: Nate Watterson > > Thanks, > Nate > >> iommu/arm-smmu: add support for unmap a memory range with only one tlb >> sync >> >> drivers/iommu/arm-smmu-v3.c | 52 ++++++++++++++++++++++++++++++++++---- >> drivers/iommu/arm-smmu.c | 10 ++++++++ >> drivers/iommu/io-pgtable-arm-v7s.c | 32 +++++++++++++++-------- >> drivers/iommu/io-pgtable-arm.c | 30 ++++++++++++++-------- >> drivers/iommu/io-pgtable.h | 1 + >> 5 files changed, 99 insertions(+), 26 deletions(-) >> > -- Thanks! BestRegards