Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4204349rwb; Fri, 30 Sep 2022 14:43:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5tlVl6s1UIYDEotyTAmUSWrpRAY+0mvllCcteMFfPBlpSrH+UODSlqEFFBS3JoxCrCYC6Y X-Received: by 2002:a17:907:8a1a:b0:783:182e:aa00 with SMTP id sc26-20020a1709078a1a00b00783182eaa00mr7924785ejc.65.1664574226274; Fri, 30 Sep 2022 14:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664574226; cv=none; d=google.com; s=arc-20160816; b=jqjjmm03UujZIgAyMfZgl3iZPRpkG2z2HkzhpkyN46Eg0UvZTVd0OG5/Q5t/JhVV6L DMlf/1SP6M19nJ/v1bB7l4cAAm5wKnyFcoIDlWw5/lqnWqvTqV53zyN+35FZIHWOYWzZ bNl9/CSSjucIiGXJpquOPrH07RS+60p+zLgMUj4A/PGL9GwFOQPrGXZb0LhakRzEBsN1 sfXVtn48U8rfGwJiwD7Or5Z+wUhFx/j5bbG4ASe3nUacKvnnl1hwX1lz59N8CSsqHFam 8RJg6hu85xeHJkRc8RJbnWTiYY0i1HLZYE4+qJldDHUio6A1Z8Ja1koMcgr6QQynPK5p SVuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M9k61fuvJQ19q4wpmPKx4wtotGRLfZ/Cy41iF8vWmIM=; b=wMEkHhONNIZYwNk0oqflkjMZ5vH7gn2+Y9D+IdAZofTBm0WKYwUOHJPLyLVM9E21wf JTeOxN1CBtSr/YqavJi7HjgsCuNgEQC0Dlz8bQGf4/CDJ8Azc/pd9gHAENLcg/PIc7K+ 1mcSe/jTFehtYFsvq1ZkhK/U7o8vjVDwowKTV5kjEkVvAAXdel4NECwbXK8XuAy+qBZ2 pyL+tvdOtNkmHVmlgX9Si6VvWgewV2VZnvZmT3AjZZgL1uWJcTsyp5XPGKRMxitGXQBz ZhcljdQtZzH4ki2AQqeeCSHCTU9livbYqCjJuoblFCyWFwSohEFIOPxutuorpjpbnziS C7iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aoNAyXvQ; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a1709067d4f00b00781dbeebeb1si2313920ejp.585.2022.09.30.14.43.13; Fri, 30 Sep 2022 14:43:46 -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=@kernel.org header.s=k20201202 header.b=aoNAyXvQ; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232383AbiI3Vli (ORCPT + 99 others); Fri, 30 Sep 2022 17:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232344AbiI3Vlc (ORCPT ); Fri, 30 Sep 2022 17:41:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A505F1A6E8F; Fri, 30 Sep 2022 14:41:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3D2D162516; Fri, 30 Sep 2022 21:41:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD021C433C1; Fri, 30 Sep 2022 21:41:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664574090; bh=EWwElnoQ3zIq+7TaGrma83diIit5m496+HZGkaC/q44=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aoNAyXvQ6XZUKlvHJdQTgOYhYGSHuu/exBYucbS88m47QiHG6E0E0z2THsu2YvMb2 Ya/kB5pgAeZpJtOsAdSsn6JWCV0Qhw/unu3XJMp/GpfxNi3EneQcZ9gcf8vLFak67w NMa072xAK0FZVg6MvUsWXAcwrGkNa0Bdgvm5kyeY7Ag7jmKMzIlw1EFiqZq5qQ+ZT1 ibzZa3Ex+6bYE6LwxtNDofRa3aS8Ma49ouf3WVS7qJbU+adqHmrYWgVLMT0M8CXn26 Hd69niFIk3XXUhyTQUPaFsNNnBYgy6SJTSYbKJ62F16xFXHaAqRJ4imrNpA/HpYT/W //xEpCHEwTJlA== Date: Fri, 30 Sep 2022 22:41:23 +0100 From: Conor Dooley To: Ben Dooks Cc: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 29/30] RISC-V: defconfig: Enable CONFIG_SERIAL_8250_DW Message-ID: References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> <20220930090653.7449-1-hal.feng@linux.starfivetech.com> <01c658ad-7f73-20fc-03c0-c82dcd820aa4@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c658ad-7f73-20fc-03c0-c82dcd820aa4@codethink.co.uk> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Fri, Sep 30, 2022 at 09:54:14PM +0100, Ben Dooks wrote: > On 30/09/2022 10:06, Hal Feng wrote: > > Add CONFIG_SERIAL_8250_DW=y, which is a necessary option for > > StarFive JH7110 and JH7100 SoCs to boot with serial ports. > > > > Signed-off-by: Hal Feng > > That might be useful for other users at some point an I don't > think it adds much code. Honestly I think this should be applied for 6.1, for parity with the other SoCs that have their serial console enabled by default. Reviewed-by: Conor Dooley Thanks, Conor. > > > --- > > arch/riscv/configs/defconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > > index aed332a9d4ea..0c44484cd3a4 100644 > > --- a/arch/riscv/configs/defconfig > > +++ b/arch/riscv/configs/defconfig > > @@ -122,6 +122,7 @@ CONFIG_MICROSEMI_PHY=y > > CONFIG_INPUT_MOUSEDEV=y > > CONFIG_SERIAL_8250=y > > CONFIG_SERIAL_8250_CONSOLE=y > > +CONFIG_SERIAL_8250_DW=y > > CONFIG_SERIAL_OF_PLATFORM=y > > CONFIG_VIRTIO_CONSOLE=y > > CONFIG_HW_RANDOM=y > > -- > Ben Dooks http://www.codethink.co.uk/ > Senior Engineer Codethink - Providing Genius > > https://www.codethink.co.uk/privacy.html > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv