1. 11 Jan, 2014 2 commits
  2. 10 Jan, 2014 2 commits
    • John Stultz's avatar
      ion: Add carveout and chunk heaps to dummy driver · 4c45b1a8
      John Stultz authored
      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: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c45b1a8
    • John Stultz's avatar
      ion: Add dummy driver for testing · 1184ead8
      John Stultz authored
      Provide a basic dummy driver to register the ion device
      and to install basic SYSTEM and SYSTEM_CONTIG heaps.
      
      This allows for basic testing with ION without having
      access to drivers or systems that have been enabled to use
      ION.
      
      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: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1184ead8
  3. 09 Jan, 2014 36 commits