Re: [PATCH] amd/iommu: flush old domains in kdump kernel

2019-09-06 Thread Joerg Roedel
On Thu, Sep 05, 2019 at 12:09:48PM -0500, Stuart Hayes wrote: > When devices are attached to the amd_iommu in a kdump kernel, the old device > table entries (DTEs), which were copied from the crashed kernel, will be > overwritten with a new domain number. When the new DTE is written, the IOMMU > i

[PATCH] amd/iommu: flush old domains in kdump kernel

2019-09-05 Thread Stuart Hayes
When devices are attached to the amd_iommu in a kdump kernel, the old device table entries (DTEs), which were copied from the crashed kernel, will be overwritten with a new domain number. When the new DTE is written, the IOMMU is told to flush the DTE from its internal cache--but it is not told to