[PATCH 1/2] OMAP: Add generic IOMMU errors code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Generic IOMMU errors code are necessary to handle errors on generic
layer.

Signed-off-by: David Cohen <david.cohen@xxxxxxxxx>
---
 arch/arm/plat-omap/include/plat/iommu.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h
index 69230d6..c653fd7 100644
--- a/arch/arm/plat-omap/include/plat/iommu.h
+++ b/arch/arm/plat-omap/include/plat/iommu.h
@@ -109,6 +109,13 @@ struct iommu_platform_data {
 	u32 da_end;
 };
 
+/* IOMMU errors */
+#define IOMMU_ERR_TLB_MISS		(1 << 0)
+#define IOMMU_ERR_TRANS_FAULT		(1 << 1)
+#define IOMMU_ERR_EMU_MISS		(1 << 2)
+#define IOMMU_ERR_TBLWALK_FAULT		(1 << 3)
+#define IOMMU_ERR_MULTIHIT_FAULT	(1 << 4)
+
 #if defined(CONFIG_ARCH_OMAP1)
 #error "iommu for this processor not implemented yet"
 #else
-- 
1.7.1

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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux