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
Raw File
Kconfig
#
# ST Microelectronics SPEAr PINCTRL drivers
#

if PLAT_SPEAR

config PINCTRL_SPEAR
	bool
	depends on OF
	select PINMUX
	help
	  This enables pin control drivers for SPEAr Platform

config PINCTRL_SPEAR3XX
	bool
	depends on ARCH_SPEAR3XX
	select PINCTRL_SPEAR

config PINCTRL_SPEAR300
	bool "ST Microelectronics SPEAr300 SoC pin controller driver"
	depends on MACH_SPEAR300
	select PINCTRL_SPEAR3XX

config PINCTRL_SPEAR310
	bool "ST Microelectronics SPEAr310 SoC pin controller driver"
	depends on MACH_SPEAR310
	select PINCTRL_SPEAR3XX
	select PINCTRL_SPEAR_PLGPIO

config PINCTRL_SPEAR320
	bool "ST Microelectronics SPEAr320 SoC pin controller driver"
	depends on MACH_SPEAR320
	select PINCTRL_SPEAR3XX
	select PINCTRL_SPEAR_PLGPIO

config PINCTRL_SPEAR1310
	bool "ST Microelectronics SPEAr1310 SoC pin controller driver"
	depends on MACH_SPEAR1310
	select PINCTRL_SPEAR
	select PINCTRL_SPEAR_PLGPIO

config PINCTRL_SPEAR1340
	bool "ST Microelectronics SPEAr1340 SoC pin controller driver"
	depends on MACH_SPEAR1340
	select PINCTRL_SPEAR
	select PINCTRL_SPEAR_PLGPIO

config PINCTRL_SPEAR_PLGPIO
	bool "SPEAr SoC PLGPIO Controller"
	depends on GPIOLIB && PINCTRL_SPEAR
	select GPIOLIB_IRQCHIP
	help
	  Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
	  SoCs.

endif
back to top