iommu/vt-d: dmar_fault should only clear PPF/PFO field.
authorLi, Zhen-Hua <zhen-hual@hp.com>
Mon, 25 Mar 2013 08:20:52 +0000 (16:20 +0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 26 Mar 2013 16:17:54 +0000 (17:17 +0100)
commitbd5cdad0c8e0f0adcd6e9c582abe4c4233c19b03
tree978d99a04a9ee1be0cdcfb5f89da3a4169ee2379
parent8bb9660418e05bb1845ac1a2428444d78e322cc7
iommu/vt-d: dmar_fault should only clear PPF/PFO field.

When there is a dmar irq, dmar_fault is called and all of the fields
in FSTS are cleared. But ICE/IQE/ITE should not be cleared here,
they need to be processed and cleared in function qi_check_fault.

[Minor cleanup by Joerg Roedel]

Signed-off-by: Li, Zhen-Hua <zhen-hual@hp.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/dmar.c