summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2014-01-10 06:08:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-10 06:16:40 +0100
commit4c45b1a80ee9c85aee13445b85fd55541ec26d27 (patch)
treecc7771abedfcb0dfa8dd31c616856a08c077c1ae /drivers/iio
parention: Add dummy driver for testing (diff)
downloadlinux-4c45b1a80ee9c85aee13445b85fd55541ec26d27.tar.xz
linux-4c45b1a80ee9c85aee13445b85fd55541ec26d27.zip
ion: Add carveout and chunk heaps to dummy driver
Add support to the dummy driver for basic carveout and chunk heaps. Since we're generating these heaps at module_init, and we want this driver to be generic enough to be tested on any arch, we don't have the ability to alloc bootmem, so both of these heaps are conventionally allocated using alloc_pages(), which limits us to 4M in size. Should look into using CMA for heap allocation eventually, but this provides enough to test the basic functionality of the heaps. Cc: Colin Cross <ccross@android.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Jesse Barker <jesse.barker@arm.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions