iommu/omap: Switch pagetable debugfs entry to use seq_file
authorSuman Anna <s-anna@ti.com>
Wed, 22 Oct 2014 22:22:35 +0000 (17:22 -0500)
committerJoerg Roedel <jroedel@suse.de>
Thu, 23 Oct 2014 12:33:48 +0000 (14:33 +0200)
commit9c83e9f384f5d1513e42935af43c13a601aad842
treed622c905507aaddf267b15ee3a3c118e13f93cf6
parentc5cf5c5377fbd0a1ff2a09ad1f0c7e261aabc567
iommu/omap: Switch pagetable debugfs entry to use seq_file

The debugfs entry 'pagetable' that shows the page table entry
(PTE) data currently outputs only data that can be fit into a
page. Switch the entry to use the seq_file interface so that
it can show all the valid page table entries.

The patch also corrected the output for L2 entries, and prints
the proper L2 PTE instead of the previous L1 page descriptor
pointer.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu-debug.c