]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/dma-debug.c
dma-debug: add support for resource mappings
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 10 Aug 2016 11:22:15 +0000 (13:22 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:46:41 +0000 (22:16 +0530)
commit0e74b34dfc3318bf4c7e51349d453d49fb8e9e16
treeb70ed304ada0970420008f7131e043bc75c8ae6d
parentba409b31b3d37b52dda4eefcde04f5837c7ee4aa
dma-debug: add support for resource mappings

A MMIO mapped resource can not be represented by a struct page so a new
debug type is needed to handle this. This patch add such type and
functionality to add/remove entries and how to translate them to a
physical address.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/dma-debug.h
lib/dma-debug.c