Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp938433rdb; Fri, 19 Jan 2024 03:36:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHABxESl+lMM3ivd1A7zc7wYlRBaq3PbIXfUxj84sgB76+YdL0DlanZJqMfKmTICAwr4kS8 X-Received: by 2002:a25:1c3:0:b0:dc2:22f8:1cb2 with SMTP id 186-20020a2501c3000000b00dc222f81cb2mr1985365ybb.128.1705664189134; Fri, 19 Jan 2024 03:36:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705664189; cv=pass; d=google.com; s=arc-20160816; b=Te83ShyaEGu0dwcP6zHxUWxY1eNfgCO90SJSnpbCxQtFs/7/z8Fsml1c3LtGkG4dpz h0P+ZtDP2v9uNNHJaI7oB2YjLJ4Rh/edk80GIgNoc/jGdLIfaVsVSLwqgxUOV4loDXu4 7S2RKgBxbs/Diln3yffIohzKG28xVJzwz6k6CGdB1EBcHitSHSYka6eYpEiurqPUFZZX Bek/43Szy7ssB4Hj1MaDwyK+MPeKfbHTFeMXffaNPe7niPPUeZYTnUng29Z9VOnN9Zh3 EbWqRLNcyLgZOPKN8z4YWeuDqvtJ4CXGbQPhGTaVGetYdJmZLcQrKnDgwMoEzjd8xJzH 636A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9bsP20n9g/LbbgzyTFqfc2H9X3ZVkLkHm6HS5kmWZpw=; fh=sCaLDPmI3z3WfJgoG5Ri8nSrNxiyuF4F9Uj24RFqprM=; b=AgdV/yrAGDyohZ7px8H6PzcpYI/aDB2jT1odxk+PkztPLJXdKZM3OzrZODVDGjIbGd nkR4W8PepDR+xyWsz+9J0rOdKfMA5sH3lBf6RQUVDpzybkaMGPu3s0vLnuToxmhJTaR4 ZPCBuHHYWZ704NGamgMoNHQcCPW73P7L2IzPzIEQQO+zZswkJam+elB375sYdbYwQc1f H0wThOiv9Q14UhsLZho6HyEvIgKBNCk+vBz/5nYrwa6+5Y1oW2iLtaCWw4igWLhjYUE1 u3lg5yUzpYmnc0DrIGz1KL4UeDBPj5DPk5ms9Ua37Yq17mpS0qTXHLH4n/7CC32u1/9+ EkmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=mbi9StrE; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-31104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31104-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x19-20020a05620a14b300b00781eabbcd23si14982269qkj.786.2024.01.19.03.36.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 03:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=mbi9StrE; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-31104-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31104-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DF4961C21344 for ; Fri, 19 Jan 2024 11:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 781B24F5FC; Fri, 19 Jan 2024 11:35:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="mbi9StrE" Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7865F4F88A for ; Fri, 19 Jan 2024 11:35:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705664131; cv=none; b=QADWwu2qzq6wfqHmX2QABejxrdqNeNxw0b0QNVG0q1n/+e0G8J7VpWNiIGOO74WVZ0bARZGP54ZPD6lfpftbJpiZX9P1+VC5NDuCodb08bqEkwJskig/LQSz1r1d2wBt7xE2THGzzsyrDU7qyUcIWEsc0zLj5bRcWoStLUPB7h4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705664131; c=relaxed/simple; bh=fqqDjN66329pa4niMWl6MkhJrFW850wjJ+KnOw48Ihc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dQRTiT8H3f/cAk0Ml4OFt986C+UOnkl13R/v+IDJrPdvPd6RFGTtzPUOCEMqrkY9cqFfy6fscfsUIcj4hHP0V2Eedzrsksdr47oXAEfEcLKtWGwIskKPVQjZZ5gSS3RbyY5jPSsegT8yWXV4GB+CyHCkIPW/s/aJKwJpMrKEnmA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=mbi9StrE; arc=none smtp.client-ip=209.85.166.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-il1-f170.google.com with SMTP id e9e14a558f8ab-36082f3cb05so2796725ab.0 for ; Fri, 19 Jan 2024 03:35:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705664129; x=1706268929; 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=mbi9StrENwn6XzzWy1BiKRt2MrZXI0FQNYiBXiqntu4B3GBqLg2ACdEkuni/HKDOh7 xeHFb3EQ4WlP3gnlHxkvuLUeAnOPm7oBkcm2mR89JAIeBONVVYYMPaOT1s5m/dIVWmIO pguQv9lZ8KL+hld87j1xwIhhVTu1H6fBpSwC5CqNVHNT4qPb4gbFbihbHt30CbSeU1/K HAhwSrunwR1C6rvad4H0JDq93r6wWQpJ+Bl6Ms0U7xYYR5s2DDyV3FZ54ejnHy26fyuC d+eaaLcjyrkCIMaGGyiuHge4Fc6Vx61+LiM2GzvOnasu+Bt2JbhG3G63Z4dP0jSHW/Gf 1Xkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664129; x=1706268929; 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=k5clVimfI0ppSDA7kW3TCjHBmLngI9z2ocIkJv3EjMzlIZ/eze6s+CfiVfTWX0l3Ir 2kb8n0Tcx2yNy+uo6eDl/2O31JdwIgRHPNH79ROKQctAFt5e6jHOqQCJfj+UsUiVpkI0 lxpZFXvTqsZaArT3g4E/6oiwFa85ETwhQoMGBmcZDDoojavWmAaRoSFKwSgV8dOShq7V 98Ao/bI2Bq+bCjfAEZFH8IOhRsEbItT0oOufIQOrXUYhu0k10qXJvbyOc3ajqYd8yJ7A ElHribbvvEm+Bra1VM3ksypvxG78tgiQGWv2YQCvvmSQVQk7GhX+OBjOTifxSwUb4Yx4 3U6w== X-Gm-Message-State: AOJu0YxPDQbZMFP6tusQ81s+DN2WdZK7l/dKownA2wfYOFORkxuWxIab t6Jt2vfDDaT71kCACNf0P/RviI1jVjNeMwSeva1jQtIKyinI7H2TEipjMgWf8mY= X-Received: by 2002:a92:7310:0:b0:360:973b:844b with SMTP id o16-20020a927310000000b00360973b844bmr2368211ilc.11.1705664129602; Fri, 19 Jan 2024 03:35:29 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id a5-20020a92a305000000b0036062f40c51sm5347302ili.71.2024.01.19.03.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 03:35:29 -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 v6 5/5] RISC-V: Enable SBI based earlycon support Date: Fri, 19 Jan 2024 17:04:49 +0530 Message-Id: <20240119113449.492152-6-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119113449.492152-1-apatel@ventanamicro.com> References: <20240119113449.492152-1-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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