Received: by 2002:ac2:5a04:0:0:0:0:0 with SMTP id q4csp100747lfn; Wed, 16 Feb 2022 19:24:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhHg5VgXw6a6kSJYdRlxXRl3JlykDxzAmVS61TdPm/wcO6paghXyPuASPuFaYqHHEJDfij X-Received: by 2002:a62:e90f:0:b0:4d1:7437:f0c2 with SMTP id j15-20020a62e90f000000b004d17437f0c2mr1178444pfh.5.1645068294829; Wed, 16 Feb 2022 19:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645068294; cv=none; d=google.com; s=arc-20160816; b=u4Jzfnl771syS1xmQZjvKU6MUQN7PLIL8kIGpbqnijvJbrJdRGvi36x3fYRh7LKj13 dTp/5XrzX4ukukdnMrEYLksyCZ77NedERSUse8t/bsNq4igpcL4RBmwg7oiqKEJ4tE2j ChX6w5EQww1eDMknCYMfH9OX5sXRHg6/F8z7T+TwkbHHZNKXo2a6gqKl9NVYIFiimd8q o61m5IpXkKEI+a+mGh6JfuryCbf0WibOQIN/B44X0qRjN/jMqI5u1bDDeiLiqwfnJN5Q u9yvqTUHEouSbGGUUi0B1gOtUAsO+vH2oRtM6PAcpywvMJ3MSFcDyH0hMdVoahhKTS/P IFiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=nvZLeRxc1q8I4vOfXfL/x5IoqumERWK3dWv5dRDZYWU=; b=hiMAQXHOAVMz26FxmUPTfxHU3rJWLXkl8DG0CeYRp7Nygulx4xkedQmgrCP7ZE+UUj O/c3U2PVe6HHJ4JSvmb9+QK3j+sdM38ZTq+bWCrGTxms3o6IrciSJ7dhSWV1HtSZH3kC hXfmyazl2d32IsqtxQpWbBHbbhm0CpRaseOpnD83aYsVOBs1vA6hyotKBfeE1pYfNGXJ 0wEZIebezv5plCegdEp5s4GWbOB4yXSFIFZHsWqfPjD0rsiHHLXOWIGL+r9IeKSWt4nM vOmsrWoMaRaVxnZ72hi8Swi6MSiKLmc67J3UfZ58JfbnlD11DLk5irAl5wqaW9G8EQcl M9xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19si655468pjo.120.2022.02.16.19.24.38; Wed, 16 Feb 2022 19:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235876AbiBPV5n (ORCPT + 99 others); Wed, 16 Feb 2022 16:57:43 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbiBPV5m (ORCPT ); Wed, 16 Feb 2022 16:57:42 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85961C0877 for ; Wed, 16 Feb 2022 13:57:28 -0800 (PST) Received: from mail-wr1-f46.google.com ([209.85.221.46]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N7zJl-1oOjyv3eE7-0155LK for ; Wed, 16 Feb 2022 22:57:26 +0100 Received: by mail-wr1-f46.google.com with SMTP id p9so5593213wra.12 for ; Wed, 16 Feb 2022 13:57:26 -0800 (PST) X-Gm-Message-State: AOAM531pOF0NGET/47C6e93tRVmynxFJRwByagclvh3SDv6mKNKyEw+P dDUP7vx+PweCcCfejsXaPPmyqtdaMJgIIpCIaVw= X-Received: by 2002:adf:90c1:0:b0:1e4:ad27:22b9 with SMTP id i59-20020adf90c1000000b001e4ad2722b9mr19974wri.219.1645048646454; Wed, 16 Feb 2022 13:57:26 -0800 (PST) MIME-Version: 1.0 References: <20220216183704.42084-1-nick.hawkins@hpe.com> In-Reply-To: <20220216183704.42084-1-nick.hawkins@hpe.com> From: Arnd Bergmann Date: Wed, 16 Feb 2022 22:57:10 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] [v1] arch: arm: configs: gxp_defconfig To: "Hawkins, Nick" Cc: "Verdun, Jean-Marie" , Russell King , Joel Stanley , Andrew Jeffery , Olof Johansson , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:RD6IGPs35jvz9huTuylUJHNsorL0sMoNb0B0rKBnuOUaw1/hHsS eN+K3oOgVgk7DkY+zkhcb9rXbqaigrVTgna+LKXngDf8tUKOzdNHVhAD3KZqe7cc/1QzH0C reADJHTrJ0VOct5SMJSiknTr+PSmpTe8tfFq/GPU4F96I1uRg2LArhDeX25WinlcLaITPRi 5T/tmdTl5ViM1UgJHvyOQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:YIPEPRLBR9E=:7GvOp3MNW7e8EONZiGrqqY Vt9O1wWl9kDPDB5/LQXopNEw4mIOWVDfA+LZ74sbyjmFf9AbYlRPNURsnZpLXezB17eYg+4gy eMdXYA51KOAjFJ4+/+XyDL1IKdSXLUoygoavtlwvnkLEhQJB9KUQTMGOIxFp43PCgYYxzqu6K dA7uDcg2I/Pw1h68wFjAlp3ovH+AqeWhtOaTOYdYRzDXULUfAEEItfvkfHy+friPesDe9isvJ ecaOOits+kKm42rfm5vFZUpY7WWSe8ThlrSr6p2tp3ilkoYWcN00TXa21WkxERQIlNMQmYsre 7Z9SMH9ZxnVZZ+oCOQFU7r6Tf6bjz2J2vFuB1ruU/Lna80QAZvZXlGHcBMvk0/j2aXXR8Hjk7 d+G6upHkGtm+J1gieGV5aH9hfDYrj12wA0y+Yn/4471vUx3YjfoNEbrbo+zkknuRywNkfio2p 8hFjtF53+4F5bTIISPzY5ramNr7gNFkiarpjURd6TSiR/8Z+UtkSRXIPW1xE9nO1tVdRpOKiT 5MQc2H5p7YWfNUHAFJrJtSlUIwk1rcmj2neMh+tShGPF+1uzPGNJIrCVoRQqTz2q00ejHxtj1 91FecTz76ASSrDfjhwTshoouMRP6hDUWXb3y45m9p+UoGLd9z3qboP50Qyq4aUMDJy2Dvv8Gh M1rmTVipfGGQlbztrhogArmw9YbA4yAg5fFLLhNlHIiUe/KuYhcX+DCnJutMzg5JVkak= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 16, 2022 at 7:36 PM wrote: > > From: Nick Hawkins > > Description: Adding the configuration file for the upcoming > hpe gxp soc. > > Note: This patch is part of a set with patches: > [v4] arch: arm: boot: dts: Create HPE GXP Device Tree > [v1] dt-bindings: timer: Add HPE GXP Timer binding > [v1] dt-bindings: watchdog: Add HPE GXP Watchdog timer binding > [v1]dt-bindings: vendor-prefixes: add HPE Prefix > [v1] dt-bindings: soc: Add HPE GXP SOC binding > > Additional Note: Maintainers will be updated in separate patch > to cover all of the above patches. Please have a look at other patch series for the style of the submission. All the information above doesn't really go in the individual patches, as it is not meant as part of the permanent git history. Instead, keep the series together as one thread the way that git-format-patch generates it, and put information about the patch series into the cover letter. One bit of information that I would like to see in the defconfig patch is an explanation about why you need a custom defconfig in the first place, rather than using multi_v7_defconfig. Please also add a patch to enable your platform in the multi_v7_defconfig, along with the drivers you need (as loadable modules). See Documentation/process/submitting-patches.rst for more detail. > Information: GXP is the name of the HPE SoC. > This SoC is used to implement BMC features of HPE servers > (all ProLiant, Synergy, and many Apollo, and Superdome machines) > It does support many features including: > ARMv7 architecture, and it is based on a Cortex A9 core > Use an AXI bus to which a memory controller is attached, > as well as multiple SPI interfaces to connect boot flash, > and ROM flash, a 10/100/1000 Mac engine which > supports SGMII (2 ports) and RMII Multiple I2C engines to > drive connectivity with a host infrastructure > A video engine which support VGA and DP, as well as > an hardware video encoder > Multiple PCIe ports > A PECI interface, and LPC eSPI > Multiple UART for debug purpose, and Virtual UART for > host connectivity > A GPIO engine. More whitespace damage here, probably from a copy-paste mistake. > Signed-off-by: Nick Hawkins > --- > arch/arm/configs/gxp_defconfig | 243 +++++++++++++++++++++++++++++++++ > 1 file changed, 243 insertions(+) > create mode 100644 arch/arm/configs/gxp_defconfig > > diff --git a/arch/arm/configs/gxp_defconfig b/arch/arm/configs/gxp_defconfig > new file mode 100644 > index 000000000000..f37c6630e06d > --- /dev/null > +++ b/arch/arm/configs/gxp_defconfig > @@ -0,0 +1,243 @@ > +CONFIG_KERNEL_XZ=y > +CONFIG_DEFAULT_HOSTNAME="gxp" > +CONFIG_SYSVIPC=y > +CONFIG_NO_HZ=y > +CONFIG_HIGH_RES_TIMERS=y > +CONFIG_BSD_PROCESS_ACCT=y > +CONFIG_BSD_PROCESS_ACCT_V3=y > +CONFIG_LOG_BUF_SHIFT=18 > +CONFIG_CFS_BANDWIDTH=y > +CONFIG_RT_GROUP_SCHED=y Try to trim the bits that you don't actually rely on, such as hostname > +CONFIG_CGROUP_FREEZER=y > +CONFIG_CGROUP_DEVICE=y > +CONFIG_CGROUP_CPUACCT=y > +CONFIG_NAMESPACES=y > +CONFIG_SCHED_AUTOGROUP=y > +CONFIG_RELAY=y > +CONFIG_BLK_DEV_INITRD=y > +CONFIG_CC_OPTIMIZE_FOR_SIZE=y > +CONFIG_KALLSYMS_ALL=y > +CONFIG_EMBEDDED=y You probably don't need BLK_DEV_INITRD if you use initramfs instead, and you should not need EMBEDDED either. > +# CONFIG_COMPAT_BRK is not set > +CONFIG_SLAB=y > +CONFIG_ARCH_MULTI_V6=y Since there is only one ARMv7 SoC enabled in here, there is no need for enabling ARMv6. A v7-only kernel will run more efficiently and allow you to build with more features such as THUMB2. > +CONFIG_ZBOOT_ROM_TEXT=0x0 > +CONFIG_ZBOOT_ROM_BSS=0x0 These are just the default > +CONFIG_NETDEVICES=y > +# CONFIG_NET_VENDOR_ALACRITECH is not set > +# CONFIG_NET_VENDOR_AMAZON is not set > +# CONFIG_NET_VENDOR_AQUANTIA is not set > +# CONFIG_NET_VENDOR_ARC is not set > +# CONFIG_NET_VENDOR_AURORA is not set > +# CONFIG_NET_VENDOR_BROADCOM is not set > +# CONFIG_NET_VENDOR_CADENCE is not set > +# CONFIG_NET_VENDOR_CAVIUM is not set > +# CONFIG_NET_VENDOR_CIRRUS is not set > +# CONFIG_NET_VENDOR_CORTINA is not set > +# CONFIG_NET_VENDOR_EZCHIP is not set > +# CONFIG_NET_VENDOR_FARADAY is not set > +# CONFIG_NET_VENDOR_GOOGLE is not set > +# CONFIG_NET_VENDOR_HISILICON is not set > +# CONFIG_NET_VENDOR_HUAWEI is not set > +# CONFIG_NET_VENDOR_INTEL is not set > +# CONFIG_NET_VENDOR_MARVELL is not set > +# CONFIG_NET_VENDOR_MELLANOX is not set > +# CONFIG_NET_VENDOR_MICREL is not set > +# CONFIG_NET_VENDOR_MICROCHIP is not set > +# CONFIG_NET_VENDOR_MICROSEMI is not set > +# CONFIG_NET_VENDOR_NATSEMI is not set > +# CONFIG_NET_VENDOR_NETRONOME is not set > +# CONFIG_NET_VENDOR_NI is not set > +# CONFIG_NET_VENDOR_QUALCOMM is not set > +# CONFIG_NET_VENDOR_RENESAS is not set > +# CONFIG_NET_VENDOR_ROCKER is not set > +# CONFIG_NET_VENDOR_SAMSUNG is not set > +# CONFIG_NET_VENDOR_SEEQ is not set > +# CONFIG_NET_VENDOR_SOLARFLARE is not set > +# CONFIG_NET_VENDOR_SMSC is not set > +# CONFIG_NET_VENDOR_SOCIONEXT is not set > +# CONFIG_NET_VENDOR_STMICRO is not set > +# CONFIG_NET_VENDOR_SYNOPSYS is not set > +# CONFIG_NET_VENDOR_VIA is not set > +# CONFIG_NET_VENDOR_WIZNET is not set > +# CONFIG_NET_VENDOR_XILINX is not set No need to mention all these, leaving them default-enabled is fine. > +CONFIG_TTY_PRINTK=y > +CONFIG_IPMI_HANDLER=y > +CONFIG_IPMI_DEVICE_INTERFACE=y > +CONFIG_IPMI_SI=y > +CONFIG_IPMI_SSIF=y > +CONFIG_HPE_KCS_IPMI_BMC=y > +CONFIG_HW_RANDOM_TIMERIOMEM=y > +CONFIG_I2C_CHARDEV=y > +CONFIG_I2C_GXP=y > +CONFIG_I2C_SLAVE=y > +CONFIG_I2C_SLAVE_EEPROM=y > +CONFIG_SPI=y > +CONFIG_GPIOLIB=y > +CONFIG_GPIO_SYSFS=y > +CONFIG_GPIO_GXP=y > +CONFIG_SENSORS_EMC1403=y > +CONFIG_SENSORS_GXP_FAN_CTRL=y > +CONFIG_SENSORS_GXP_CORETEMP=y > +CONFIG_SENSORS_GXP_PSU=y > +CONFIG_SENSORS_GXP_POWER=y Maybe leave out the custom drivers for now, and only enable the drivers that are already merged, or added as part of the same series. > +CONFIG_WATCHDOG=y > +CONFIG_GXP_WATCHDOG=y > +CONFIG_MFD_SYSCON=y > +CONFIG_FB=y > +CONFIG_FB_THUMBNAIL=y > +CONFIG_FB_SIMPLE=y I would keep CONFIG_FB disabled for new platforms. > +CONFIG_DEBUG_USER=y > +CONFIG_DEBUG_LL=y > +CONFIG_DEBUG_LL_UART_8250=y > +CONFIG_DEBUG_UART_PHYS=0xC00000F0 > +CONFIG_DEBUG_UART_VIRT=0xF00000F0 > +CONFIG_DEBUG_UART_8250_SHIFT=0 > +CONFIG_EARLY_PRINTK=y Better leave out the debugging options here, and only list the ones that you would enable in a production device. Arnd