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
algos
busses
muxes
Kconfig -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 643 bytes
i2c-boardinfo.c -rw-r--r-- 3.3 KB
i2c-core-acpi.c -rw-r--r-- 15.8 KB
i2c-core-base.c -rw-r--r-- 60.5 KB
i2c-core-of.c -rw-r--r-- 6.6 KB
i2c-core-slave.c -rw-r--r-- 2.9 KB
i2c-core-smbus.c -rw-r--r-- 17.0 KB
i2c-core.h -rw-r--r-- 2.2 KB
i2c-dev.c -rw-r--r-- 17.9 KB
i2c-mux.c -rw-r--r-- 12.2 KB
i2c-slave-eeprom.c -rw-r--r-- 4.5 KB
i2c-smbus.c -rw-r--r-- 6.8 KB
i2c-stub.c -rw-r--r-- 10.3 KB

back to top