Re: [PATCH v10 00/12] Fix the on-flight DMA issue on system with amd iommu

From: Baoquan He
Date: Tue Aug 15 2017 - 21:32:04 EST


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.