From: Emmanuel Grumbach Date: Tue, 30 Apr 2013 11:33:04 +0000 (+0300) Subject: iwlwifi: pcie: prefer to load the firmware in one shot X-Git-Tag: v3.11-rc1~16^2~103^2^2~42^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c571573a027bb65ac415141f919df3c0fa0fedb4;p=pandora-kernel.git iwlwifi: pcie: prefer to load the firmware in one shot 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 Reviewed-by: Moshe Island Signed-off-by: Johannes Berg --- Reading git-diff-tree failed