OMAP: iommu: add initial debugfs support
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Fri, 28 Aug 2009 17:54:41 +0000 (10:54 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Aug 2009 17:54:41 +0000 (10:54 -0700)
commit14e0e6796a0d460ac6f7727616161dc317bbbf3a
tree06ff0894445ad8b08aa15e479742131396e1021b
parent613f77696e2c489e87def86a443fb4889acb95aa
OMAP: iommu: add initial debugfs support

This enables to peek the following data.

$ /debug/iommu/isp# ls
mem             nr_tlb_entries  regs
mmap            pagetable       tlb
$ /debug/iommu/isp# head pagetable
L:      da:      pa:
-----------------------------------------
2: 00001000 8ae4a002
2: 00002000 8e7bb002
2: 00003000 8ae49002
2: 00004000 8ae65002
.....

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/iommu2.c
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/include/mach/iommu.h
arch/arm/plat-omap/iommu-debug.c [new file with mode: 0644]
arch/arm/plat-omap/iommu.c