From: Chris Wright Date: Mon, 15 Jun 2009 13:42:00 +0000 (+0200) Subject: amd-iommu: flush domain tlb when attaching a new device X-Git-Tag: v2.6.31-rc1~97^2~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42a49f965a8d24ed92af04f5b564d63f17fd9c56;p=pandora-kernel.git amd-iommu: flush domain tlb when attaching a new device When kexec'ing to a new kernel (for example, when crashing and launching a kdump session), the AMD IOMMU may have cached translations. The kexec'd kernel, during initialization, will invalidate the IOMMU device table entries, but not the domain translations. These stale entries can cause a device's DMA to fail, makes it rough to write a dump to disk when the disk controller can't DMA ;-) Signed-off-by: Chris Wright Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed