Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3079884imj; Mon, 18 Feb 2019 19:20:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZtMDmtaSRKM9WMdXobN3K5ixGDMa/WrzwNn8E7VV4b6wb6zv6iYY9DMpTk9vpljK5eV12 X-Received: by 2002:a63:545:: with SMTP id 66mr21574735pgf.102.1550546458276; Mon, 18 Feb 2019 19:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550546458; cv=none; d=google.com; s=arc-20160816; b=Fxb8MlczX4GDIlP8dl09TGFqmzvQoUUJ3LuV6oDLgm8drb63oCXn48Z2qxnhSeSHhX Wmh6XTAwNk+pRgLdsb5SdWWikTYGab4AaGTX9fR6lk6CI49kTNJzq4EbqUeaymAxKeNv GIF7E3QZ0t0FajmbjJfgklxL9LoB45nrChaSGxXibA37SF8oxpFs/xxwxD2SGKX8mUDK IhXMv4Lzyju3/ocvRnlGDoXTBXOdP+RqT1swM6qYQGA9RpHMdTfM5cpjou0JpFNMraJo 7HfaeTgEWNKWZnNVXviEd7fUNchUsi+/Xvdjd+N6nfjDqCe7HWi47aJFtwS8w7gN1wrv BFig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=sS1qCQ3mOcIUykbMmmZHqnoh/mby9KiK6Ult/9eLuzc=; b=ErZnFeIIBt0wV0fmE3oWJoQvidJRDvlmoYPe87667CdLa/ur19HzmxLEQmOvgKFnWg TovtSztFrQhJN9iJtxREgDquaVUYprFMgVF59lCdOd+brEsj34kLIC9thLLVWKrf/2GD 2pWEbQbmGd71HGHovUQfF4O43PEZZ3ZtcS7b9umSntuosxokTtgX5NpVV+ysjIyhzZ/W y/49ZuPM163nRJhC7tZ0uxtv4il/8bItC3+drLqXXFo1QYt42oiqeY7w8RLg0Rtd4BbQ UsBrVkxevglfElSJvr6To29dfyUQNPF8kfZOflpQYYDEjJDHA7PYEqy8WKzc5bHkCGEG GFkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si15099396plo.109.2019.02.18.19.20.42; Mon, 18 Feb 2019 19:20:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726056AbfBSDPP (ORCPT + 99 others); Mon, 18 Feb 2019 22:15:15 -0500 Received: from mx.socionext.com ([202.248.49.38]:29749 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfBSDPP (ORCPT ); Mon, 18 Feb 2019 22:15:15 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 19 Feb 2019 12:15:13 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id C6E95180C10; Tue, 19 Feb 2019 12:15:13 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 19 Feb 2019 12:15:13 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 765A31A15B7; Tue, 19 Feb 2019 12:15:13 +0900 (JST) Received: from [127.0.0.1] (unknown [10.213.119.83]) by yuzu.css.socionext.com (Postfix) with ESMTP id 64398120459; Tue, 19 Feb 2019 12:15:13 +0900 (JST) Subject: Re: [PATCH v2 14/15] ARM: configs: Add Milbeaut M10V defconfig To: Arnd Bergmann Cc: Shinji Kanematsu , Masami Hiramatsu , Linux Kernel Mailing List , Russell King , Jassi Brar , Takao Orito , Kazuhiro Kasai , Linux ARM References: <1549628937-363-1-git-send-email-sugaya.taichi@socionext.com> From: "Sugaya, Taichi" Message-ID: <7a608801-bf7f-2728-e26e-265e921728ea@socionext.com> Date: Tue, 19 Feb 2019 12:15:12 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thank you for comments. On 2019/02/18 21:06, Arnd Bergmann wrote: > On Fri, Feb 8, 2019 at 1:30 PM Sugaya Taichi > wrote: >> >> This patch adds the minimal defconfig for the Milbeaut M10V. >> >> Signed-off-by: Sugaya Taichi >> --- >> arch/arm/configs/milbeaut_m10v_defconfig | 366 +++++++++++++++++++++++++++++++ >> 1 file changed, 366 insertions(+) > > > I think it would be good to reduce this a little bit. Please also add any > options you need for booting to multi_v7_defconfig. Device drivers you > don't need for booting but for additional features should be loadable > modules there. > Yeah, I should have refined more. OK, add aome options to multi_v7_defconfig also. >> +CONFIG_KALLSYMS_ALL=y >> +CONFIG_EMBEDDED=y > > CONFIG_EMBEDDED should not normally be set on device > configurations. Despite the name it's not something for general > embedded computing, but it's rather an option that lets you > turn other option that one should normally not have to change. > OK, drop it. >> +CONFIG_PROFILING=y >> +CONFIG_OPROFILE=m > > Oprofile is rarely used these days, maybe change the default to > PERF_EVENTS=y? > I see. I try to use PERF_EVENTS instead. >> +CONFIG_HAVE_ARM_ARCH_TIMER=y >> +CONFIG_VMSPLIT_2G=y >> +CONFIG_PREEMPT=y >> +CONFIG_THUMB2_KERNEL=y > > I think this will be the first armv8-a platform with thumb2 by default, > and it's probably a good thing to start testing that more. > I still leave it in the next patch. >> +CONFIG_HIGHMEM=y > > It's unusual to have both VMSPLIT_2G and HIGHMEM. > OK. try to drop either. >> +CONFIG_ARM_APPENDED_DTB=y > > If you are able to fix the boot loaders, this should be turned off > The boot loader is fixed, so I think it can be turned off. >> +CONFIG_NL80211_TESTMODE=y >> +CONFIG_CFG80211_DEVELOPER_WARNINGS=y >> +CONFIG_CFG80211_REG_DEBUG=y > > That seems like more debugging that you should need. > Yes, drop entirely. >> +# CONFIG_I2C is not set >> +# CONFIG_I2C_BOARDINFO is not set >> +# CONFIG_I2C_COMPAT is not set >> +# CONFIG_I2C_CHARDEV is not set >> +# CONFIG_I2C_MUX is not set >> +# CONFIG_I2C_HELPER_AUTO is not set >> +# CONFIG_I2C_ALGOBIT is not set >> +# CONFIG_I2C_SNI_M10V is not set > > If I2C is disabled, you shoulnd't need any of the later > options here. > I2C is disable now... drop entirely. >> +CONFIG_FB=y >> +# CONFIG_VGA_ARB is not set > > Since you don't have a framebuffer driver, and likely won't > add one (new drivers should use drivers/gpu/drm), I'd drop > this. > framebuffer is disable too... drop it. >> +# CONFIG_USB is not set >> +# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set >> +# CONFIG_USB_MON is not set >> +# CONFIG_USB_XHCI_HCD is not set >> +# CONFIG_USB_EHCI_HCD is not set >> +# CONFIG_USB_EHCI_ROOT_HUB_TT is not set > ... >> +# CONFIG_MMC is not set >> +# CONFIG_MMC_SDHCI is not set >> +# CONFIG_MMC_SDHCI_PLTFM is not set >> +# CONFIG_MMC_SDHCI_F_SDH30 is not set >> +# CONFIG_MMC_SDHCI_F_EMMC50 is not set > > Also for USB and MMC: if you don't have the subsystem, you > should not need to list the other options. > USB, MMC, and more peripherals are disable now. I will drop them in the next patch. >> +CONFIG_NEW_LEDS=y >> +CONFIG_LEDS_CLASS=y >> +CONFIG_LEDS_GPIO=y >> +CONFIG_LEDS_TRIGGER_TIMER=y >> +CONFIG_LEDS_TRIGGER_HEARTBEAT=y >> +CONFIG_RTC_CLASS=y >> +# CONFIG_RTC_HCTOSYS is not set >> +# CONFIG_RTC_SYSTOHC is not set >> +CONFIG_RTC_DEBUG=y >> +CONFIG_RTC_DRV_RX8025=y >> +CONFIG_DMADEVICES=y >> +CONFIG_MB86S7X_HDMAC=y >> +CONFIG_MB8AC0300_XDMAC=y >> +CONFIG_UIO=y >> +CONFIG_UIO_SNI=y >> +# CONFIG_IOMMU_SUPPORT is not set >> +#CONFIG_PWM=y is not set >> +# CONFIG_PWM_SYSFS is not set >> +#CONFIG_PWM_M10V=y is not set >> +CONFIG_RESET_CONTROLLER=y >> +CONFIG_EXFAT=y > > CONFIG_EXFAT does not exist in mainline kernels. > Yes. drop it. >> +CONFIG_IPCU_FS=y >> +# CONFIG_TEST_IPCU_FS is not set > > same for IPCU_FS, and probably a lot of other options. > Yes. I will check again for unnecessary options. Thanks, Sugaya Taichi > Arnd > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >