On Mon, Feb 14, 2011 at 12:33 AM, Varadarajan, Charulatha <charu@xxxxxx> wrote: > On Sat, Feb 12, 2011 at 18:42, David Cohen <dacohen@xxxxxxxxx> wrote: >> Generic IOMMU errors code are necessary to handle errors on generic >> layer. >> >> Signed-off-by: David Cohen <dacohen@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..71f369d 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 OMAP_IOMMU_ERR_TLB_MISS Â Â Â Â Â Â Â Â(1 << 0) >> +#define OMAP_IOMMU_ERR_TRANS_FAULT Â Â (1 << 1) >> +#define OMAP_IOMMU_ERR_EMU_MISS Â Â Â Â Â Â Â Â(1 << 2) >> +#define OMAP_IOMMU_ERR_TBLWALK_FAULT Â (1 << 3) >> +#define OMAP_IOMMU_ERR_MULTIHIT_FAULT Â(1 << 4) > > Define these macros in the patch where they are used. That's fine for me. I can merge patches 1 and 3. Regards, David > >> + >> Â#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