diff options
author | John Stultz <john.stultz@linaro.org> | 2014-01-10 06:08:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-10 06:16:40 +0100 |
commit | 4c45b1a80ee9c85aee13445b85fd55541ec26d27 (patch) | |
tree | cc7771abedfcb0dfa8dd31c616856a08c077c1ae /drivers/iio | |
parent | ion: Add dummy driver for testing (diff) | |
download | linux-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