diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-12 23:08:07 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-23 10:23:57 +0000 |
commit | 45cd5290bfd358e9885c0bf47a8c46671a92f716 (patch) | |
tree | a1831403d646336b022b973fd48427263d349e8b /arch/arm/kernel/traps.c | |
parent | 6bebb572404f96d367170fb263603cda7251f932 (diff) | |
download | linux-45cd5290bfd358e9885c0bf47a8c46671a92f716.tar.gz linux-45cd5290bfd358e9885c0bf47a8c46671a92f716.tar.bz2 linux-45cd5290bfd358e9885c0bf47a8c46671a92f716.zip |
ARM: add dma coherent region reporting via procfs
Add a new seqfile for reporting coherent DMA allocations. This contains
the address range, size and the function which was used to allocate
each region, allowing these allocations to be viewed in much the same
way as /proc/vmallocinfo.
The DMA coherent region has limited space, so this allows allocation
failures to be viewed, as well as finding out how much space is being
used.
Make sure this file is only readable by root - same as vmallocinfo - to
prevent information leakage.
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions