Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp873813rdh; Thu, 23 Nov 2023 23:13:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRBUdFwpeObof41QKiqB3rP5YxsKFYJr/LrDeK7b91VVw4SMnmeKdkBy9xc8JQoOXgLDVm X-Received: by 2002:a05:6a00:938f:b0:6cb:a18a:22b5 with SMTP id ka15-20020a056a00938f00b006cba18a22b5mr1928980pfb.2.1700809988529; Thu, 23 Nov 2023 23:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700809988; cv=none; d=google.com; s=arc-20160816; b=svEjvqxOudb+t4bNsKzDxfGUmNhYkhvEGJlXEYszzoT8UAl2mE+oRYtt5vX96npbK8 E99jwxNXHeUK25jJO6yoSknQRJpVxhVKggt+6KASgPrfMAO2a6DnTCuZonwVtkyk5MQA IFktEGXBLcJsbA/qqNfwwnUfaNv01M7AIPZY7idCHxwfzJ8tcgF6HQyDAeWDn/J8HWRX EKcErve2OaFqGqUiEP1+I2ZpldKG+Njhl8WRFqc9VF2rbErnAGbzh4vJPHxvv9ZijdSw WpBM26AXBAgablhlMvLapfsYTeRl00LTQeuBLr66SwGgt8j2XNnK2fwOSVs7HXCjI62H MSqw== 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=9bsP20n9g/LbbgzyTFqfc2H9X3ZVkLkHm6HS5kmWZpw=; fh=sCaLDPmI3z3WfJgoG5Ri8nSrNxiyuF4F9Uj24RFqprM=; b=mHfoyoJ+9Ll9PK7CkUwNpvW1Q2kdmD5noDoLVOIyE9hVAlvIwa5hGmPeseYIkkkOWe mGdLQcvjXqb9DxXKbVoU4/8Gb8O76nUVGfLuRaj/OeA9AXx4rsHTEk7OxI1/JUFoo6up dT+k3iMG2l6wtfQHqDAVJ5mgABswsz/uFsjKEPmbzmzUM5JlECniZs+s46nWR3ktaiYE BhV0gMsbaoTLjr81tJMNKNBFFf+3ZvUuxRb8hrtryun75pWolZie/uY3z9+0gVprlxFD nHcfxbiWLohccNkIssK/g4JPPTJOKVFt6RKcTPWBu1xAz2tG9YSMEXJVtPMMVCUwakky /uUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=R68KGrbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z4-20020a63c044000000b00578f23273a3si3060247pgi.738.2023.11.23.23.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 23:13:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=R68KGrbI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id BD88A80C039D; Thu, 23 Nov 2023 23:11:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344525AbjKXHKx (ORCPT + 99 others); Fri, 24 Nov 2023 02:10:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbjKXHKj (ORCPT ); Fri, 24 Nov 2023 02:10:39 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F3A10C8 for ; Thu, 23 Nov 2023 23:10:45 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6d648679605so839850a34.1 for ; Thu, 23 Nov 2023 23:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1700809845; x=1701414645; darn=vger.kernel.org; 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=9bsP20n9g/LbbgzyTFqfc2H9X3ZVkLkHm6HS5kmWZpw=; b=R68KGrbIaJYIomN32UdqqUn6UGU+BEMrtCUfuRHxXdoUKL2fMqMf9znVGzX5FLsrEh Fne0BMUwWty2fL9+gL5NtXSPWQhCaY5jmmzKo08l41f5YFlDgcb9dZJCH/4xUxgcPSSa 0o3z0Kiwkexmbb+uLKr9OpZH5RIOlfs7WiJiVYbMp3ockTRLnPP+0sU23dQASxpaIiJc 6W+GeYgZtbxK5cCw7F3JBcoG1aDSdb7/qFciMrHgXui8NWCHhiiaEVePSfSM9LLxj0f7 gEgDBttK3v2BUWIgzXD+MDirlFkOC7brQG/Mz/JCpJPD3RIgYKG2Q1q5IfwmN0IuYVHH 6j3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700809845; x=1701414645; 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=9bsP20n9g/LbbgzyTFqfc2H9X3ZVkLkHm6HS5kmWZpw=; b=art9YUgKYpPufk7vubhh+2++jw2FkDXvM2Kz0Q00cj9x/q39C7SRG72Ve4Rdq4aPgI Xg1bDrgUM4ZQ3scVHbLOxNUpeiYgKfBYogBA+AZMpRY0ywcEOBTa3hfKwcZTyou9rYON Z7Rfg7rpP3VP1LPaftjhT8M/lwAA8ztPgQgOSD6ZLRt9B1XRxOerY2bfjt45QDtISMvC VhYFnfZVWwsZ8Eiyrzw3q8OL0zIktz8cMucnA+lzxEyA8i+VBYL/XcmL/ACmaYBPHObF sTrEzTbo9C+E9ibDXmwhC4gH5s7DIHEJ8DasxNt56pDMedcqeJCZjEAHcBSAGWtIaoAn JprQ== X-Gm-Message-State: AOJu0YycD/jcRk5gg64xEB0Vxd7g/QvaTAoJulzX8gLYaLE7a4JyXbgQ fi6Tc8Zr2laxQTi7jWpthrGdhonvQ5A7UsalgoI= X-Received: by 2002:a05:6830:18f1:b0:6ce:4035:b801 with SMTP id d17-20020a05683018f100b006ce4035b801mr2096169otf.13.1700809844751; Thu, 23 Nov 2023 23:10:44 -0800 (PST) Received: from localhost.localdomain ([106.51.83.242]) by smtp.gmail.com with ESMTPSA id e5-20020a9d7305000000b006c61c098d38sm435532otk.21.2023.11.23.23.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 23:10:44 -0800 (PST) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Greg Kroah-Hartman , Jiri Slaby 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, Anup Patel Subject: [PATCH v5 5/5] RISC-V: Enable SBI based earlycon support Date: Fri, 24 Nov 2023 12:39:05 +0530 Message-Id: <20231124070905.1043092-6-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231124070905.1043092-1-apatel@ventanamicro.com> References: <20231124070905.1043092-1-apatel@ventanamicro.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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 23 Nov 2023 23:11:12 -0800 (PST) Let us enable SBI based earlycon support in defconfig for both RV32 and RV64 so that "earlycon=sbi" can be used again. Signed-off-by: Anup Patel Reviewed-by: Andrew Jones --- arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 905881282a7c..eaf34e871e30 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -149,6 +149,7 @@ CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_SH_SCI=y +CONFIG_SERIAL_EARLYCON_RISCV_SBI=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y -- 2.34.1