Message ID | 20221028165921.94487-8-prabhakar.mahadev-lad.rj@bp.renesas.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp941953wru; Fri, 28 Oct 2022 10:04:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Yy27FBp4P4m9TmIsNlLGC25fp2YQTJQP/8oDV1HnO5M3SvUC1ytOAYVjBx6ys4mVT+BfF X-Received: by 2002:a05:6402:2486:b0:460:8f86:1fca with SMTP id q6-20020a056402248600b004608f861fcamr424549eda.70.1666976692147; Fri, 28 Oct 2022 10:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666976692; cv=none; d=google.com; s=arc-20160816; b=dKqWSaGt3LKzxbEXzXyvdzGIcZrWBckYG40tHBkbTmPwwVOurXYdFrhlCfEY/kuYTO K5ardd94yt1ZZMsvVN8tuybhU0wuUnfNxEf1Xi6xTaXyi2+3hDlH57CymsKiZFy0U+xy hYPiCo1YIshOLnnnrZnS96ZQKe687Ei7iRwIer1GruA3vI/uxZ2Fd6Y0kjyvcYl4QeAN LDoQU1JK6o3vTiuFlRQ9zlZflmE8GaYDgv5cP7cG06tfxOYMmozsw8Qsh6e7aHRbY/QD QFuRUVWWyVtfPk6eYPGtTnQEOQPiykG1AlZdDjisDFT58tnZeHP8+9qGBMWu+ORQeRNt CXvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LKcaGbOXyklscEgGaVZeABkCmiJQn+cua48lgHGMfSM=; b=mNb9IR2pIHyLoB1FExzipH4bVp6BQUUdANSFp7qvBj0xhfCYhWtKJW8AmP4CAW9oO5 mB/1G1YPonmrXC6e+HBW6hEHMCk7KG9cmbAFk5zQaDZIVjdxFwa4aHvmm9GICTbKSIKr rD+ErLtrUKdoISNad1KozRRS+JD6yoId1RSdPADq+otZzNARnu1tBs2xRHzFmq3vxPbT CXr1wpmKPyLvn2ytldYWInlS2OS1ihGHuIUJhp4xKoChh84nkQdgiY/JmDA5eHiltjOZ 9DqWzyXc7rZeJ7jLoFQW9qqNFPgGQHSCj/YakFI33X73jmAvC3FSj/BCIcP/RMbPwQ3H bkaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XktKVyJA; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd7-20020a170907968700b00777581091d9si5193378ejc.634.2022.10.28.10.04.21; Fri, 28 Oct 2022 10:04:52 -0700 (PDT) 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=XktKVyJA; 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 S230421AbiJ1RBI (ORCPT <rfc822;norden.jeffspam@gmail.com> + 99 others); Fri, 28 Oct 2022 13:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230482AbiJ1RAC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 13:00:02 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52236183AF; Fri, 28 Oct 2022 09:59:40 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id bh7-20020a05600c3d0700b003c6fb3b2052so4280703wmb.2; Fri, 28 Oct 2022 09:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LKcaGbOXyklscEgGaVZeABkCmiJQn+cua48lgHGMfSM=; b=XktKVyJAuhuTpNR50IVXpi86/f94SIWNs0zsXo+KJ65lgHjA881DzW/wOJXK/1NGc2 0vkKWNR6w4FpkETSCedXeeprIXWBMiL0fGkeqZkV1X4nW7QgeZu8YrsRg4j0oNJJoDOD lJFRSxAahXLc8XpGSkCGmZOvlEo1ogXWzGZQwpVfvtTs+0bwszHZCdLTjkd9CmaF9kVR yHPkAyWqdTogWDLkOKOOXOZ1qpEJZdmTsEoBlyhHrzxJ20bI3iIECOMZIQ8ZyifX4M83 K6C73Law77r6z7dCI039sPXzxm3FSRo1d95BOSOB6WWKH5+Zi08rRYTzXpJr3QCKZfYW yJKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LKcaGbOXyklscEgGaVZeABkCmiJQn+cua48lgHGMfSM=; b=fWLQYM+R9T5hGdbxaGJfmEanQd7rxdV4VVThBoU4mlY2irl+6HCNgntb4tAuJsrUnk cdrTE2c25jZEl1gvh5T+LFBAVkXcVArU/JCs+bmDCzRY11cC4Jn5X1LTsoZ3HheTutpM eakjHNHjcc3i747eP0S7iTbCpJtFXDJ1J86xzAedrT2HH9utMjpJ1YT+M0r40TY1c8N/ G1n3rEpohb4ieiyWqlrK2q8aZQrYZsWFG5vpYY3ucpg3McKlfehAcPs9QGVSLH8Ttnbj OZlBIxSdNxDCUCj6JGKHXARFKkjLIJCg5bHBk41quBs9JOvuHG4OK0T+zOVKyfgxWiPA 2LIw== X-Gm-Message-State: ACrzQf2tiYK8E9e6t7uIJiePRfVeREGJ3u7s1OYEf4eIX09J3Ba0/zKv qeBo1x8txevlXp61FLRJFLo= X-Received: by 2002:a05:600c:230d:b0:3c4:2975:321a with SMTP id 13-20020a05600c230d00b003c42975321amr10195946wmo.155.1666976379388; Fri, 28 Oct 2022 09:59:39 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:d53b:eaf9:15f:6a8a]) by smtp.gmail.com with ESMTPSA id h2-20020adfe982000000b002322bff5b3bsm4939689wrm.54.2022.10.28.09.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 09:59:38 -0700 (PDT) From: Prabhakar <prabhakar.csengg@gmail.com> X-Google-Original-From: Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> To: Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com> Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Conor Dooley <conor.dooley@microchip.com>, Guo Ren <guoren@kernel.org>, Anup Patel <anup@brainfault.org>, Atish Patra <atishp@rivosinc.com>, Heinrich Schuchardt <heinrich.schuchardt@canonical.com>, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar <prabhakar.csengg@gmail.com>, Biju Das <biju.das.jz@bp.renesas.com>, Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Subject: [PATCH v5 7/7] riscv: configs: defconfig: Enable Renesas RZ/Five SoC Date: Fri, 28 Oct 2022 17:59:21 +0100 Message-Id: <20221028165921.94487-8-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028165921.94487-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20221028165921.94487-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747951751841133892?= X-GMAIL-MSGID: =?utf-8?q?1747951751841133892?= |
Series |
Add support for Renesas RZ/Five SoC
|
|
Commit Message
Lad, Prabhakar
Oct. 28, 2022, 4:59 p.m. UTC
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> --- 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 v2 -> v3 * Included RB tags * Updated commit description v1 -> v2 * New patch --- arch/riscv/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)
Comments
Reviewed-by: Guo Ren <guoren@kernel.org> On Sat, Oct 29, 2022 at 12:59 AM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > 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 > > v2 -> v3 > * Included RB tags > * Updated commit description > > v1 -> v2 > * New patch > --- > arch/riscv/configs/defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 05fd5fcf24f9..97fba7884d7a 100644 > --- 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 > CONFIG_SMP=y > CONFIG_HOTPLUG_CPU=y > CONFIG_PM=y > @@ -123,6 +125,7 @@ CONFIG_INPUT_MOUSEDEV=y > CONFIG_SERIAL_8250=y > CONFIG_SERIAL_8250_CONSOLE=y > CONFIG_SERIAL_OF_PLATFORM=y > +CONFIG_SERIAL_SH_SCI=y > CONFIG_VIRTIO_CONSOLE=y > CONFIG_HW_RANDOM=y > CONFIG_HW_RANDOM_VIRTIO=y > -- > 2.25.1 >
Hi Prabhakar, On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > 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. > 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. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert, Thank you for the review. On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > 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. > > 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? Cheers, Prabhakar
Hi Prabhakar, On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar <prabhakar.csengg@gmail.com> wrote: > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > --- > > > 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: --- 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. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert, On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > <prabhakar.csengg@gmail.com> wrote: > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > --- > > > > 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
Hi Prabhakar, On Tue, Nov 8, 2022 at 6:23 PM Lad, Prabhakar <prabhakar.csengg@gmail.com> wrote: > On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > > <prabhakar.csengg@gmail.com> wrote: > > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > --- > > > > > 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. Does that matter? They would still get it, as long as they use the defconfig. If you want to remove unwanted platforms from your configuration, you do that in the .config file, not in the defconfig file. If you have CONFIG_PM=y in your .config, it will be retained. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert, On Tue, Nov 8, 2022 at 7:20 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Tue, Nov 8, 2022 at 6:23 PM Lad, Prabhakar > <prabhakar.csengg@gmail.com> wrote: > > On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > > > <prabhakar.csengg@gmail.com> wrote: > > > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > --- > > > > > > 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. > > Does that matter? They would still get it, as long as they use the > defconfig. > Confused, didnt you say about dropping it from defconfig... Cheers, Prabhakar
Hi Prabhakar, On Tue, Nov 8, 2022 at 11:05 PM Lad, Prabhakar <prabhakar.csengg@gmail.com> wrote: > On Tue, Nov 8, 2022 at 7:20 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > On Tue, Nov 8, 2022 at 6:23 PM Lad, Prabhakar > > <prabhakar.csengg@gmail.com> wrote: > > > On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > > > > <prabhakar.csengg@gmail.com> wrote: > > > > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > > --- > > > > > > > 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. > > > > Does that matter? They would still get it, as long as they use the > > defconfig. > > > Confused, didnt you say about dropping it from defconfig... Yes, I did, but not right now, only after v6.2-rc1. - Once the defconfig has CONFIG_ARCH_R9A07G043=y, ARCH_RZG2L will be auto-selected (commit ebd0e06f3063cc2e ("soc: renesas: Identify RZ/Five SoC") is already upstream), and CONFIG_PM as well. So there is no longer a need for the defconfig to enable it explicitly. - Once the defconfig has CONFIG_ARCH_RENESAS=y, SOC_RENESAS will be auto-selected, but auto-selecting CONFIG_GPIOLIB depends on commit b3acbca3c80e6124 ("soc: renesas: Kconfig: Explicitly select GPIOLIB and PINCTRL config under SOC_RENESAS") is only in renesas-drivers-for-v6.2. Please run "make savedefconfig", and compare the generated defconfig with arch/riscv/configs/defconfig. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert, On Wed, Nov 9, 2022 at 7:48 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Tue, Nov 8, 2022 at 11:05 PM Lad, Prabhakar > <prabhakar.csengg@gmail.com> wrote: > > On Tue, Nov 8, 2022 at 7:20 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > On Tue, Nov 8, 2022 at 6:23 PM Lad, Prabhakar > > > <prabhakar.csengg@gmail.com> wrote: > > > > On Tue, Nov 8, 2022 at 4:12 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > > On Tue, Nov 8, 2022 at 5:07 PM Lad, Prabhakar > > > > > <prabhakar.csengg@gmail.com> wrote: > > > > > > On Tue, Nov 8, 2022 at 3:52 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > > > > > On Fri, Oct 28, 2022 at 6:59 PM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > > > > > > > > > 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 <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > > > --- > > > > > > > > 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. > > > > > > Does that matter? They would still get it, as long as they use the > > > defconfig. > > > > > Confused, didnt you say about dropping it from defconfig... > > Yes, I did, but not right now, only after v6.2-rc1. > > - Once the defconfig has CONFIG_ARCH_R9A07G043=y, ARCH_RZG2L will > be auto-selected (commit ebd0e06f3063cc2e ("soc: renesas: Identify > RZ/Five SoC") is already upstream), and CONFIG_PM as well. So there > is no longer a need for the defconfig to enable it explicitly. > - Once the defconfig has CONFIG_ARCH_RENESAS=y, SOC_RENESAS will > be auto-selected, but auto-selecting CONFIG_GPIOLIB depends on commit > b3acbca3c80e6124 ("soc: renesas: Kconfig: Explicitly select GPIOLIB and > PINCTRL config under SOC_RENESAS") is only in renesas-drivers-for-v6.2. > > Please run "make savedefconfig", and compare the generated defconfig > with arch/riscv/configs/defconfig. > Thanks for the detailed explanation, I got you now :) Cheers, Prabhakar
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 05fd5fcf24f9..97fba7884d7a 100644 --- 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 CONFIG_SMP=y CONFIG_HOTPLUG_CPU=y CONFIG_PM=y @@ -123,6 +125,7 @@ CONFIG_INPUT_MOUSEDEV=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_SH_SCI=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y