[PORT FROM R2] atomisp: acc: use vmalloc() when loading/allocating acceleration firmware
BZ: 23757
Currently acceleration API tries to allocate memory for loaded firmware
with kmalloc(). As such firmwares used to be bigger than PAGE_SIZE,
kmalloc() may get in trouble if memory is too fragmented. vmalloc() is a
safer option.
Change-Id: I43a4cb829a62ea4672ff20eafcb5d17d7815a54e
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/37828
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Govindapillai, Vinod <vinod.govindapillai@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/42095
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Lampila, KalleX <kallex.lampila@intel.com>