Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp238764rdh; Thu, 23 Nov 2023 02:39:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3h+GwFhLNQM6n5bqc7FaLWUvhhzYtBOdnehPDXgaYYep6Qlq5qVqeypbm1g2Z1N0IDC7M X-Received: by 2002:a05:6a20:6a0a:b0:18a:b5c3:55da with SMTP id p10-20020a056a206a0a00b0018ab5c355damr3140111pzk.10.1700735995759; Thu, 23 Nov 2023 02:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700735995; cv=none; d=google.com; s=arc-20160816; b=GRdEEoXyngqm56Mq20Vle/4iAsT8SX3yxNFPFBNc0lMP/xgMbpI020cRQ9IByf7NA1 9iNNKgjbYS+9obh23jJjITtk2CIU0Tu/aVyexGR6ASt7wsw/Pzm8+MvzIMXiVOzlOUX3 7jaYNBTH0UFWejkwxvC6OwToqShATVGFgdoMgOJ5YZ8g8rRyn/pqk8N/JqkdduZ6Qq49 w3XJfr49CSexWh017dtoV0StMNHhUyuAgT7q2ONM04EftzdudkO/fX8TI6PrKl9Tu9az smX1yfn51OvpIZ7NavDmQVpRRHb+FvFYJfEz8nbUwlwkMhnhx7qYnXSX6d288Rb2yA0E 5phA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FQ5cHR9g9Ex7S7K/JEODWQbh9BgcOaeTZEBwA4kKzCg=; fh=ngzbsfZABp8wAytSZ5qcoSZItaRjcQ4/GYMgy2aVdNE=; b=RXDVBNwImI9suv4tc18zNiqb8BatvqGHkIR+xRWVPhsJBqwDZmrnu7583c6b1WHgLe /H0WAg0Q3ZJ4YW4wIDHDVd8q9iC1RC8z43KzaXj0pnB+jwoXbupEIXfa9+UKgJOT/zmZ Ibe2GY7woVnfH4nVeBkqcGDf+Zatewa8fHuF8fHlKJAwpiB/ri29tj4L03gUUBBxzfay KnFoa1PDbeB73h2nFq+p7KqMI1Iwga9/0cdbcR5n/ONE9thBGosFhMkWzbprD0tFpWHg 5BPAlJfcOIVS5nERFoHRLHM2zvvRa/3M9PinQTtmG1Ia2Kv13M4v5+CibGZ/x8664gWb /SXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=V19SrVhh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k19-20020aa788d3000000b006cbdfc1696asi998204pff.341.2023.11.23.02.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:39:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=V19SrVhh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D41F7825A859; Thu, 23 Nov 2023 02:39:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344684AbjKWKjk (ORCPT + 99 others); Thu, 23 Nov 2023 05:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344448AbjKWKji (ORCPT ); Thu, 23 Nov 2023 05:39:38 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D4A1BD for ; Thu, 23 Nov 2023 02:39:45 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1cf6bdf8274so13110565ad.1 for ; Thu, 23 Nov 2023 02:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1700735984; x=1701340784; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FQ5cHR9g9Ex7S7K/JEODWQbh9BgcOaeTZEBwA4kKzCg=; b=V19SrVhhpEqFvV+Amp8RUVdhnT1zkmIZsAEd24PdNeQRX420Dntqw5VMraaikgflFM T38pE2KhtV3Jjjzd2m4jA71yPAdsyMya+d33Wvy+hPIjIQ5FjwgiHSTZuSjVfXbraz9O MFoT16P8OBNSMT2JCbeP2DaKCXt0fghEwnM59MUsR54s4KtfIwIzTcEkZbVmBKTvJB/+ pulUz9f9NfMbmfnRLsPeZA/1uR8Kh7bSIZRtFwvX7vc1r4AVfJnYYUBA1e82IHZ4o0LR PXOqp8IsI3u5OQgTe/GoJlsQfDQzMKpTXOz0R7yzA+u5HDyi+VJvuUhSgE6aL/vmbJsO G5Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700735984; x=1701340784; h=content-transfer-encoding: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=FQ5cHR9g9Ex7S7K/JEODWQbh9BgcOaeTZEBwA4kKzCg=; b=TjlaMwlmagNPAz6Pcf3/F8vJVyMGtnCClIrjCQQ7cXqRfYGSDBU5XDIxQjgKhsjLzu nl8Qjqw0qFQGXKwqB+9olanUanZMYsUMrAi7y9alBptp0dRrRsGNqb218A8Z3VKY9DGX LenRzMDX8sDlDPkJjweNGuU3SaLpwpPZWEJHBLhuWkMmQrBbUNyWxtvdPvMVAq5/voX0 /YoYO5Sp2vHm9dwrpdvfo05uOSD+dulIj+3NLupEfTYRDuKKA7zTEyXnTaTXUa49M3ty Ej0vRLKijJWoZ6AZMH4aFmQNiXa8pIlYQ1vVvvij6J2FekHbEhXgcWYhdAK9ZBV4Ft3Q EDKg== X-Gm-Message-State: AOJu0YwLqUr15gipVONMDhSkqPG2n9Jk8M4IiBbSCX5PGIuQ0ytvus6V vjpVhrLovd0/NVlPMbhZc5iIA2vR0uv/PKhygg+RLg== X-Received: by 2002:a17:90a:bf0b:b0:280:47ba:767a with SMTP id c11-20020a17090abf0b00b0028047ba767amr3176568pjs.16.1700735984411; Thu, 23 Nov 2023 02:39:44 -0800 (PST) MIME-Version: 1.0 References: <20231118033859.726692-1-apatel@ventanamicro.com> <20231118033859.726692-6-apatel@ventanamicro.com> In-Reply-To: From: Anup Patel Date: Thu, 23 Nov 2023 16:09:32 +0530 Message-ID: Subject: Re: [PATCH v4 5/5] RISC-V: Enable SBI based earlycon support To: Samuel Holland Cc: Conor Dooley , Andrew Jones , linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Greg Kroah-Hartman , Jiri Slaby Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:39:53 -0800 (PST) On Wed, Nov 22, 2023 at 4:18=E2=80=AFAM Samuel Holland wrote: > > Hi Anup, > > On 2023-11-17 9:38 PM, Anup Patel wrote: > > Let us enable SBI based earlycon support in defconfigs for both RV32 > > and RV64 so that "earlycon=3Dsbi" can be used again. > > > > Signed-off-by: Anup Patel > > Reviewed-by: Andrew Jones > > --- > > arch/riscv/configs/defconfig | 1 + > > arch/riscv/configs/rv32_defconfig | 1 + > > 2 files changed, 2 insertions(+) > > > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfi= g > > index 905881282a7c..eaf34e871e30 100644 > > --- a/arch/riscv/configs/defconfig > > +++ b/arch/riscv/configs/defconfig > > @@ -149,6 +149,7 @@ CONFIG_SERIAL_8250_CONSOLE=3Dy > > CONFIG_SERIAL_8250_DW=3Dy > > CONFIG_SERIAL_OF_PLATFORM=3Dy > > CONFIG_SERIAL_SH_SCI=3Dy > > +CONFIG_SERIAL_EARLYCON_RISCV_SBI=3Dy > > CONFIG_VIRTIO_CONSOLE=3Dy > > CONFIG_HW_RANDOM=3Dy > > CONFIG_HW_RANDOM_VIRTIO=3Dy > > diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv3= 2_defconfig > > index 89b601e253a6..5721af39afd1 100644 > > --- a/arch/riscv/configs/rv32_defconfig > > +++ b/arch/riscv/configs/rv32_defconfig > > This file isn't used anymore since 72f045d19f25 ("riscv: Fixup difference= with > defconfig"), so there's no need to update it. I'll send a patch deleting = it. Okay, I will drop the changes in rv32_defconfig. > > Regards, > Samuel > > > @@ -66,6 +66,7 @@ CONFIG_INPUT_MOUSEDEV=3Dy > > CONFIG_SERIAL_8250=3Dy > > CONFIG_SERIAL_8250_CONSOLE=3Dy > > CONFIG_SERIAL_OF_PLATFORM=3Dy > > +CONFIG_SERIAL_EARLYCON_RISCV_SBI=3Dy > > CONFIG_VIRTIO_CONSOLE=3Dy > > CONFIG_HW_RANDOM=3Dy > > CONFIG_HW_RANDOM_VIRTIO=3Dy > Regards, Anup