Revision 30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f authored by Akinobu Mita on 06 September 2017, 10:15:31 UTC, committed by Christoph Hellwig on 11 September 2017, 16:29:38 UTC
The initial chunk size for host memory buffer allocation is currently
PAGE_SIZE << MAX_ORDER.  MAX_ORDER order allocation is usually failed
without CONFIG_DMA_CMA.  So the HMB allocation is retried with chunk size
PAGE_SIZE << (MAX_ORDER - 1) in general, but there is no problem if the
retry allocation works correctly.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
[hch: rebased]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Cc: stable@vger.kernel.org
1 parent 92dc689
History
File Mode Size
ar5523
ath10k
ath5k
ath6kl
ath9k
carl9170
wcn36xx
wil6210
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 511 bytes
ath.h -rw-r--r-- 9.2 KB
debug.c -rw-r--r-- 1.5 KB
dfs_pattern_detector.c -rw-r--r-- 10.9 KB
dfs_pattern_detector.h -rw-r--r-- 3.8 KB
dfs_pri_detector.c -rw-r--r-- 10.8 KB
dfs_pri_detector.h -rw-r--r-- 2.6 KB
hw.c -rw-r--r-- 6.4 KB
key.c -rw-r--r-- 16.9 KB
main.c -rw-r--r-- 2.8 KB
reg.h -rw-r--r-- 2.4 KB
regd.c -rw-r--r-- 19.9 KB
regd.h -rw-r--r-- 6.2 KB
regd_common.h -rw-r--r-- 13.3 KB
spectral_common.h -rw-r--r-- 2.4 KB
trace.c -rw-r--r-- 859 bytes
trace.h -rw-r--r-- 2.0 KB

back to top