Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753275AbdHPBbz (ORCPT ); Tue, 15 Aug 2017 21:31:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43178 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752593AbdHPBby (ORCPT ); Tue, 15 Aug 2017 21:31:54 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5A58191FCE Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=bhe@redhat.com Date: Wed, 16 Aug 2017 09:31:50 +0800 From: Baoquan He To: Joerg Roedel Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 00/12] Fix the on-flight DMA issue on system with amd iommu Message-ID: <20170816013150.GA24877@x1> References: <1502267624-7066-1-git-send-email-bhe@redhat.com> <20170815161810.GI2853@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170815161810.GI2853@suse.de> User-Agent: Mutt/1.7.0 (2016-08-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 16 Aug 2017 01:31:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 22 On 08/15/17 at 06:18pm, Joerg Roedel wrote: > On Wed, Aug 09, 2017 at 04:33:32PM +0800, Baoquan He wrote: > > Baoquan He (12): > > iommu/amd: Detect pre enabled translation > > iommu/amd: add several helper functions > > Revert "iommu/amd: Suppress IO_PAGE_FAULTs in kdump kernel" > > iommu/amd: Define bit fields for DTE particularly > > iommu/amd: Add function copy_dev_tables() > > iommu/amd: copy old trans table from old kernel > > iommu/amd: Do sanity check for address translation and irq remap of > > old dev table entry > > iommu: Add is_attach_deferred call-back to iommu-ops > > iommu/amd: Use is_attach_deferred call-back > > iommu/amd: Allocate memory below 4G for dev table if translation > > pre-enabled > > iommu/amd: Don't copy GCR3 table root pointer > > iommu/amd: Disable iommu only if amd_iommu=off is specified > > Applied all of them, thanks a lot for your continued effort, Baoquan! Really appreciate your help and great suggestions on design and code changes since the first post! Without your help I can't make it.