Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp843052rdb; Fri, 20 Oct 2023 00:23:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvcnABEsnZdKy1yV0AAedoziMbD5hM6XQSHiiCdE4+uVp0DK3gI3vH2Of4zuZ9zQDA6xKZ X-Received: by 2002:a05:6808:2c7:b0:3ab:8e86:fc26 with SMTP id a7-20020a05680802c700b003ab8e86fc26mr1098575oid.46.1697786604638; Fri, 20 Oct 2023 00:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697786604; cv=none; d=google.com; s=arc-20160816; b=I7300htyMqGJplVCET+bB+Apv3ISdUnxFD6GgA5ycS+Vfd56t9pq0jpW83wSgCIs38 /NO4D8EDe7iKq+EcAWm+3dXNkM2vU3LgeLfnPL5TMLMwPiazOqS2fm6SbKfCNrHMMA/e 0+FqE8IbVfAQq/gPVv9UkXAdrZOOXL031gXCBqeIVmAks5O+raUDd/rH+icFYUTyazEn Xcrd3Tz2T+Xep/SqLcCqOLhY9otHqnKKMqBE2adsk7XK74vjmWnDvvhflGov2l5DCIrh GHW7K7OV3Vp3eAuyLuBI9Smp3YYnzmrpHOi5JxzH47k3qfj62zkMPohP7UyXR15c/U+D aR5w== 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=DQOTSMVYEAXB96lPNmfxUETXmF1nmywj/hDtdToDI6M=; fh=7GYORjoWw1oF4BCDuq40hd+MOEKRwzNqXwnZ/K2vS9Q=; b=OejtPV2X8Tz7WjHqyPjJ9DAQe8KSZ2X0ElQzUjdcFvFynSKTQnZYPMucg1kY5FHjbo 3DGq6AFah9GtxLFaYJrCL9dIEtg8MYKDy0hGXL1Z8oTvzB9P677B9ZQL4H7tsiQ8CCGh SWzdnyUvDQmhMtmq+9BhYKslfM1zSFtdGOIJ/h8VFMXHhoFSPgl1fH/hh/zZ2f6wJSiM aTxmHj3iJArE0e31s2c3P6HUwflkY8d2ZjBpYUhK9fvRJWqf2nxyz9h6MurL9xPOisaY 1HQ0Wbyc9HuBGduvTlLHbJXzj5+VMbNQ1jDN1EGfxoEb7W9XHXfRIuFNhacK7M0K07+o eeAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="Jb/OhA2L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o1-20020a634e41000000b005859cd26195si1304910pgl.487.2023.10.20.00.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 00:23:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="Jb/OhA2L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 3ECBB8107F04; Fri, 20 Oct 2023 00:23:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376495AbjJTHXM (ORCPT + 99 others); Fri, 20 Oct 2023 03:23:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376499AbjJTHWp (ORCPT ); Fri, 20 Oct 2023 03:22:45 -0400 Received: from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA22C199A for ; Fri, 20 Oct 2023 00:22:32 -0700 (PDT) Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-584042e7f73so292255eaf.2 for ; Fri, 20 Oct 2023 00:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1697786551; x=1698391351; 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=DQOTSMVYEAXB96lPNmfxUETXmF1nmywj/hDtdToDI6M=; b=Jb/OhA2L1vep8syvG8Ez0j19Zv4UJmFoTgTdokFmzHBwZ4335kx3ycYFl9tkj49v7A SrUVu0Yc5/p72SSDT8YEr2PnSMuCl1nyHZHLEstID6BlZ0u70WTwbmrt/7UcqgzTOO6e +dWWMmXA3qn9iSH47TlsGEyidwCYBBFSAH8RRhJE/Coq9M/mwunuX1rWpNyXgrttUWMf K4IKq7j3n5G6Kj+ZKnUUMfbAUodR7mVgPfnL6tT29PIsDC9qWxw5TMgY5t2hqnsgMGWB P2kOWbRUvHXaDqHm/nal0EmKzjiA+TF32CNinC5qTl5F0m2c2DQV6udtjFn8PRq/ZOS2 JuWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697786551; x=1698391351; 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=DQOTSMVYEAXB96lPNmfxUETXmF1nmywj/hDtdToDI6M=; b=EKcT/B92JcUe6M6jvRWBRKYaq1OhMZwu69BlNTXDxGmwZwmqpyTdw7qIJjq/ZntJiK 39tHS6L7mKEj11khUK9/85+1U+SD9HrZ3ZV+FY00QUtsT/nZg7+0+CeR4fSMiFZzyvcE TU9REa7fLF24780F4JmcF+ZVUyGjP7YJhKmknzXSQZjRNfFovDtCc+fDq8vU/gqVNk9T rjSBfo/yt3b1M/P+TAprM3QVjcV2WTnpUXIc5YCWvaDrhvRl/BRwyCvkijd+DhMesL0+ 3bffebovKM8pGbTWDRpt4oQhObmzgTybG8aIqbyoV1J3Hrg0g+7V+dPe5fD7F3ZLN3YR NS2g== X-Gm-Message-State: AOJu0YzvkRHtFvbHfP0TljgjDnNTf3y/QKWaXFUbx80/lQpfs80pIdMo h4rWyuK5ISQ/2dnuPOl37IoVYA== X-Received: by 2002:a05:6871:3316:b0:1e9:9215:3987 with SMTP id nf22-20020a056871331600b001e992153987mr1427367oac.16.1697786550612; Fri, 20 Oct 2023 00:22:30 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([171.76.83.81]) by smtp.gmail.com with ESMTPSA id v12-20020a63f20c000000b005b32d6b4f2fsm828204pgh.81.2023.10.20.00.22.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 00:22:30 -0700 (PDT) From: Anup Patel To: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , Greg Kroah-Hartman , Jiri Slaby Cc: Conor Dooley , Andrew Jones , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v3 9/9] RISC-V: Enable SBI based earlycon support Date: Fri, 20 Oct 2023 12:51:40 +0530 Message-Id: <20231020072140.900967-10-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231020072140.900967-1-apatel@ventanamicro.com> References: <20231020072140.900967-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 00:23:22 -0700 (PDT) Let us enable SBI based earlycon support in defconfigs 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 + arch/riscv/configs/rv32_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index ab86ec3b9eab..f82700da0056 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -132,6 +132,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 diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig index 89b601e253a6..5721af39afd1 100644 --- a/arch/riscv/configs/rv32_defconfig +++ b/arch/riscv/configs/rv32_defconfig @@ -66,6 +66,7 @@ CONFIG_INPUT_MOUSEDEV=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_EARLYCON_RISCV_SBI=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y -- 2.34.1