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
Kconfig -rw-r--r-- 6.3 KB
Makefile -rw-r--r-- 1.5 KB
arm-versatile-reboot.c -rw-r--r-- 4.2 KB
as3722-poweroff.c -rw-r--r-- 2.4 KB
at91-poweroff.c -rw-r--r-- 6.2 KB
at91-reset.c -rw-r--r-- 6.9 KB
at91-sama5d2_shdwc.c -rw-r--r-- 8.4 KB
axxia-reset.c -rw-r--r-- 2.6 KB
brcm-kona-reset.c -rw-r--r-- 2.0 KB
brcmstb-reboot.c -rw-r--r-- 3.7 KB
gemini-poweroff.c -rw-r--r-- 3.9 KB
gpio-poweroff.c -rw-r--r-- 2.4 KB
gpio-restart.c -rw-r--r-- 4.0 KB
hisi-reboot.c -rw-r--r-- 1.8 KB
imx-snvs-poweroff.c -rw-r--r-- 1.7 KB
keystone-reset.c -rw-r--r-- 4.2 KB
ltc2952-poweroff.c -rw-r--r-- 9.1 KB
msm-poweroff.c -rw-r--r-- 2.0 KB
piix4-poweroff.c -rw-r--r-- 2.9 KB
qnap-poweroff.c -rw-r--r-- 3.4 KB
reboot-mode.c -rw-r--r-- 4.5 KB
restart-poweroff.c -rw-r--r-- 1.6 KB
rmobile-reset.c -rw-r--r-- 2.1 KB
st-poweroff.c -rw-r--r-- 2.7 KB
syscon-poweroff.c -rw-r--r-- 2.8 KB
syscon-reboot-mode.c -rw-r--r-- 2.4 KB
syscon-reboot.c -rw-r--r-- 2.4 KB
vexpress-poweroff.c -rw-r--r-- 3.7 KB
xgene-reboot.c -rw-r--r-- 2.9 KB
zx-reboot.c -rw-r--r-- 1.8 KB

back to top