Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3911905rwb; Tue, 8 Nov 2022 09:42:39 -0800 (PST) X-Google-Smtp-Source: AMsMyM5XUN99sH4XfGP80q5dfmCyDnPOhBSrPm2wVXXR0/MekA4aTqWMkvbOLD0CR0zkDF3xlc9t X-Received: by 2002:a05:6402:27cf:b0:462:75b3:a277 with SMTP id c15-20020a05640227cf00b0046275b3a277mr59190177ede.175.1667929359060; Tue, 08 Nov 2022 09:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667929359; cv=none; d=google.com; s=arc-20160816; b=iorSLarfslydAZmSc2gSvsuwg6nUnH+dldfnq4dGSsCtqCfpF/LmV84pXJg5oUjVGL HnjS0UmitsPoBlliPhLejB/MUYYhjhrDycviSJhbNtCW+/r2kPR/dkNYT61wNn8sJSWO 9Qf/ggsjvX6SyDGl5RB7iloFH9431YnLcpsd2I3F3UBfUgSgkpHVOb5s/1hOA8CknxKD sQz0p5TUpjbFR5EpAvPLWBLPBQTOvMawrA7N+9FIwYpBQcxvC/ckiV1KM4X2g4B9gfeL CWVBWVDcQsNPkctj9d9Eb5oDiWHWQN+sVI0WzdD9X74ZJTg2tPpYYf9cDkoh7mtuvmJZ Ybyw== 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:dkim-signature; bh=dC3L8rB3CkJyDbuZvPYnhdgYhGJJjGWGEHVBgM03GHs=; b=qMM1sIX5F0KO4kjh95EURSsLDYpnXPsDvOlN1vri7jQZLX+PL7UjRvyP218sMVwJPN Vcl08DbL/S3ul8o4xZkeFJQWskHSm4e/vLB/ukEogz/WDaWMN7ADVoIQiF/CG9uaOGYb yR2pn0y2f7+yqhjJcCbuygUTX6qrT30CTWbXuS9hnpe+7tOx4fiZ8B+sg2qjABDUTMu3 QUPYdwXi7VMkSoTy9kmAYB085fbd/bp62cJvBn7IkU59raoCvyhMrhhDtJnoTRLZhVid S/j5OydvhFJMwZToVWZNeephoqQnJKbDTuneKguKZ9Q+cAjcC+g4UZZj9t7Os5mI3UJ7 WuNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IgUA4Ofm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj21-20020a170907985500b007a641e472f0si9867297ejc.139.2022.11.08.09.42.16; Tue, 08 Nov 2022 09:42:39 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IgUA4Ofm; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234399AbiKHRXR (ORCPT + 91 others); Tue, 8 Nov 2022 12:23:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234343AbiKHRXQ (ORCPT ); Tue, 8 Nov 2022 12:23:16 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 866F063AD; Tue, 8 Nov 2022 09:23:15 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id u24so23484849edd.13; Tue, 08 Nov 2022 09:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dC3L8rB3CkJyDbuZvPYnhdgYhGJJjGWGEHVBgM03GHs=; b=IgUA4OfmcJprV1FMZVj2AsH/Vv1caqsiAxOyP8ItQcOxavflQq6m1SHf/Z2Q7sKksH jNmhReqyWRlHw4PbXsnx68KMkNLWHbdcR7rGKfNLLTGG6+83KRD6GIVe2k9+Mp3egB0p LlizWFnOdvO29+5sXSJpzOe/SV7T30jeGHby2i8VYybQTLqjzUXdv1wW921WMl6D9H8j MXcGeS4Q1Qu9g3E2NxbhNCO4ldjzExw+gFvFQtsoR6WCeFRLIRBR+O0QmcZuSS8ebc3l cj6DnW2hoRv3LIN+/6S1+aF7PhqwvVZyvoV3Q+5uA6uyWlWr3oWWQ44cQR+3MFl3tKNX Zyng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dC3L8rB3CkJyDbuZvPYnhdgYhGJJjGWGEHVBgM03GHs=; b=C0Uqei7YxWHZgjgYTbknjI1H0aMvS2WrD/Lwi74IhT1OefAYlBa1zFvkrmVTDRIYLd v5ulGoG8wQNzZQCePK1SucotVC7xlWQxwS5xHS9AfaMdFhpWvJHV5U3aXC2RBM1oFXdp EjEG9ePAArygsBA/ZJeG4SHT0g2ITXfy2xH+KYx+aRM5UNM4dQoJu7dstUyiSadzo4AN t3oxLEJ+t0JoVXyoWtLDaBlesWy+u7bswKN9KvUcNWSyJdetRHSQdT88tu6W5XhLzO5e 2wRWsip1bFvTopvhtbDctaqIBwxy35oA5RKtToTB5ECOZ27Sayj2KnngAck0VskQbQPJ bU7w== X-Gm-Message-State: ACrzQf1gMjRN7ZtiRTJ00OAUKvgCHl9CqCzpODprdprIUMghFheFFlF9 j3RJWuJUm0W6Ak8A1UlMaLS3Pug275wxZSGWxkE= X-Received: by 2002:aa7:c389:0:b0:463:5926:7254 with SMTP id k9-20020aa7c389000000b0046359267254mr49367313edq.255.1667928194005; Tue, 08 Nov 2022 09:23:14 -0800 (PST) MIME-Version: 1.0 References: <20221028165921.94487-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20221028165921.94487-8-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Tue, 8 Nov 2022 17:22:47 +0000 Message-ID: Subject: Re: [PATCH v5 7/7] riscv: configs: defconfig: Enable Renesas RZ/Five SoC To: Geert Uytterhoeven Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Conor Dooley , Guo Ren , Anup Patel , Atish Patra , Heinrich Schuchardt , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi Geert, On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > wrote: > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven wrote: > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar wrote: > > > > From: Lad Prabhakar > > > > > > > > Enable Renesas RZ/Five SoC config in defconfig. It allows the default > > > > upstream kernel to boot on RZ/Five SMARC EVK board. > > > > > > > > Alongside enable SERIAL_SH_SCI config so that the serial driver used by > > > > RZ/Five SoC is built-in. > > > > > > > > Signed-off-by: Lad Prabhakar > > > > Reviewed-by: Conor Dooley > > > > Reviewed-by: Geert Uytterhoeven > > > > --- > > > > v4 -> v5 > > > > * No change > > > > > > > > v3 -> v4 > > > > * Explicitly enabled ARCH_R9A07G043 config (note I have restored the RB > > > > tags with this change) > > > > * Used riscv instead of RISC-V in subject line > > > > > > Thanks for the update! > > > > > > > --- a/arch/riscv/configs/defconfig > > > > +++ b/arch/riscv/configs/defconfig > > > > @@ -29,6 +29,8 @@ CONFIG_SOC_MICROCHIP_POLARFIRE=y > > > > CONFIG_SOC_SIFIVE=y > > > > CONFIG_SOC_STARFIVE=y > > > > CONFIG_SOC_VIRT=y > > > > +CONFIG_ARCH_RENESAS=y > > > > +CONFIG_ARCH_R9A07G043=y > > > > > > You forgot to refresh after moving ARCH_RENESAS in v5 of "riscv: > > > Kconfig.socs: Add ARCH_RENESAS kconfig option", and after relying on > > > ARCH_R9A07G043 in drivers/soc/renesas/Kconfig. > > > > > Sorry I missed your point here, could you please elaborate. > > I mean that the options have moved, so you should update > your patch like this: > Ouch got that. > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -26,11 +26,10 @@ CONFIG_EXPERT=y > # CONFIG_SYSFS_SYSCALL is not set > CONFIG_PROFILING=y > CONFIG_SOC_MICROCHIP_POLARFIRE=y > +CONFIG_ARCH_RENESAS=y > CONFIG_SOC_SIFIVE=y > CONFIG_SOC_STARFIVE=y > CONFIG_SOC_VIRT=y > -CONFIG_ARCH_RENESAS=y > -CONFIG_ARCH_R9A07G043=y > CONFIG_SMP=y > CONFIG_HOTPLUG_CPU=y > CONFIG_PM=y > @@ -163,6 +159,7 @@ CONFIG_MAILBOX=y > CONFIG_RPMSG_CHAR=y > CONFIG_RPMSG_CTRL=y > CONFIG_RPMSG_VIRTIO=y > +CONFIG_ARCH_R9A07G043=y > CONFIG_EXT4_FS=y > CONFIG_EXT4_FS_POSIX_ACL=y > CONFIG_EXT4_FS_SECURITY=y > > > > > CONFIG_SMP=y > > > > CONFIG_HOTPLUG_CPU=y > > > > CONFIG_PM=y > > > > > > PM and GPIOLIB are auto-selected by ARCH_R9A07G043 (through ARCH_RZG2L) > > > resp. SOC_RENESAS, so they can be dropped. But it's better to do this > > > after the release of v6.2-rc1, when all pieces have fallen together. > > > > > Are you suggesting dropping it from defconfig? > > Yes, but not right now, as that would make it depend on my > renesas-drivers-for-v6.2 branch to keep them enabled. > I was wondering if that's required by other platforms though. CONFIG_PM was added for VIRT machine and GPIOLIB for HiFive. Cheers, Prabhakar