[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH v2] [arm64] Add more options



On Fri, 2017-01-13 at 16:41 +0200, riku.voipio@linaro.org wrote:
> From: Riku Voipio <riku.voipio@linaro.org>
> 
> * Enable Cavium ThunderX server architecutre
> * Enable server related options
> * Enable CMA for DB410c DRM

CMA and NUMA both require an ABI bump (which we'll do at some point
before release, but probably not the next upload).

> * Some missing gpio driver enabled in upstream defconfig
> * DT cpufreq, spidev and missing DB410c audio setting
> ---
[...]
> +##
> +## file: drivers/base/Kconfig
> +##
> +CONFIG_DMA_CMA=y
> +CONFIG_CMA_SIZE_MBYTES=64

I notice this is higher than the default (16).  Is it a sensible
default for all/most platforms that will need CMA?  What about
platforms that don't use CMA at all, where the CMA zone will be wasted?

[...]
>  @@ -682,6 +734,18 @@ CONFIG_USB_DWC3_DUAL_ROLE=y
>  ## file: drivers/usb/gadget/Kconfig
>  ##
>  CONFIG_USB_GADGET=m
> +CONFIG_USB_CONFIGFS=m

I don't think that does anything useful unless we also enable some more
CONFIG_USB_CONFIGFS_* options.

> +
> +##
> +## file: drivers/usb/gadget/legacy/Kconfig
> +##
> +CONFIG_USB_ETH=m
> +CONFIG_USB_ETH_RNDIS=y
> +CONFIG_USB_GADGETFS=m
> +CONFIG_USB_FUNCTIONFS=m
> +CONFIG_USB_FUNCTIONFS_ETH=y
> +CONFIG_USB_FUNCTIONFS_RNDIS=y
> +CONFIG_USB_FUNCTIONFS_GENERIC=y
[...]

I think the gadget config should be consolidated in
debian/config/config, leaving individual architectures to enable only
CONFIG_USB_GADGET and driver-specific symbols for gadget support.  Can
you do that as a preparatory patch?

Ben.

-- 
Ben Hutchings
Never put off till tomorrow what you can avoid all together.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: