Re: [PATCH 1/1] iommu: dmar_fault should only clear PPF/PFO field.

From: Joerg Roedel
Date: Tue Mar 26 2013 - 11:03:23 EST


On Mon, Mar 25, 2013 at 04:20:52PM +0800, Li, Zhen-Hua wrote:
> + writel(DMA_FSTS_PPF, iommu->reg + DMAR_FSTS_REG);
> + if (fault_status & DMA_FSTS_PFO)
> + writel(DMA_FSTS_PFO, iommu->reg + DMAR_FSTS_REG);

Changes this to:

writel(DMA_FSTS_PFO | DMA_FSTS_PPF, iommu->reg + DMAR_FSTS_REG);

and applied the patch to iommu/vt-d, thanks.


Joerg


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/