iwlwifi: pcie: prefer to load the firmware in one shot
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 30 Apr 2013 11:33:04 +0000 (14:33 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 May 2013 16:12:01 +0000 (18:12 +0200)
Users complained about allocation failures, so we loaded
the firmware in small chunks (PAGE_SIZE). This makes the
firmware restart considerably slower.
So, always prefer to load it in one shot allocating a big
chunk of coherent, and use smaller chunks as a fallback
solution.

On my laptop, this reduces the fw loading time from 120ms
to 20ms.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Moshe Island <moshe.island@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found