dma mapping : export caller to vmallocinfo
authorMatthieu CASTET <matthieu.castet@parrot.com>
Mon, 2 Oct 2017 13:01:55 +0000 (15:01 +0200)
committerWill Deacon <will.deacon@arm.com>
Wed, 4 Oct 2017 12:43:00 +0000 (13:43 +0100)
commit359be67862c5e013fcf7c04e352d8824105a76ed
treeff41565025e5ad28bfbf7e9baabc3f9c51ca6995
parent396a5d4a5c32598aea5bff5cb2a995026a6f05dc
dma mapping : export caller to vmallocinfo

For example on arm64 board, this add info to "user" entries in vmallocinfo

Before :
[...]
0xffffff8008997000 0xffffff80089d8000 266240 user
[...]

Afer :
[...]
0xffffff8008997000 0xffffff80089d8000 266240 atomic_pool_init+0x0/0x1d8 user
[...]

This help to debug mapping issues, and is consistent with others entries
(ioremap, vmalloc, ...) that already provide caller.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/dma-mapping.c