From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v5 0/5] add non-strict mode support for arm-smmu-v3 Date: Wed, 12 Sep 2018 17:57:00 +0100 Message-ID: <20180912165700.GC16071@arm.com> References: <1534296510-12888-1-git-send-email-thunder.leizhen@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1534296510-12888-1-git-send-email-thunder.leizhen@huawei.com> Sender: linux-kernel-owner@vger.kernel.org To: Zhen Lei Cc: Robin Murphy , Joerg Roedel , linux-arm-kernel , iommu , linux-kernel , LinuxArm , Hanjun Guo , Libin , John Garry List-Id: iommu@lists.linux-foundation.org Hi all, On Wed, Aug 15, 2018 at 09:28:25AM +0800, Zhen Lei wrote: > v4 -> v5: > 1. change the type of global variable and struct member named "non_strict" from > "int" to "bool". > 2. cancel the unnecessary parameter "strict" of __arm_lpae_unmap which was added > in v4. > 3. change boot option "arm_iommu" to "iommu.non_strict". > 4. convert __iommu_dma_unmap to use iommu_unmap_fast()/iommu_tlb_sync(), because > non-leaf unmaps still need to be synchronous. > > Thanks for Robin's review comments. Since this is 90% of the way there now, I suggest Robin picks up what's here and incorporates his remaining review comments directly (especially since it sounded like Zhen Lei hasn't got much free time lately). With that, I can queue this lot via my smmu branch, which already has some stuff queued for SMMUv3 and io-pgtable. Please shout if you have any objections, but I'm keen for this not to languish on the lists given how close it is! Will