Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4385352rdb; Thu, 28 Dec 2023 22:54:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFf4lUb6pHxXLqZ22YVypkTj7g5GLtweF39mzdF0yMoJpxxKuFajr+ZV81hdDNLH8B5fHV X-Received: by 2002:a17:906:3013:b0:a27:5a68:b1e6 with SMTP id 19-20020a170906301300b00a275a68b1e6mr1808086ejz.1.1703832889728; Thu, 28 Dec 2023 22:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703832889; cv=none; d=google.com; s=arc-20160816; b=JekMfDoX1Ksbwr/iyDbzp8q6uv4DAYFV+NXMK76DW0HNheNQ07KTu1YbAw7+fJD5ST CYdyp0q0/GmXWJRrJ9FlZOINR/k/X5/Gg9UO6Re2IdavpGTd3KmlohkLbIpzYDxldZ9H M3EdBgQMqHOZgh/CEmH6k/Kicq48RnjLzN3KlZcyk0DYNdg7LMpPJm5kjJt9KHIDM8bO QAyMIMfI+DjcvzaURbq0PBRmnhScDl+HelMavEk9Ms4ExnDHBDNJom5/30WQ2mlbABkC qQzFceFoZ2GLpqu+gG8nbUSCqIMEohAJlrbeySX1xDwA4XUk/MOTZ2j4hZH2i4MG1pzu JuMA== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from; bh=xDfCMkFLfADqSia5qZiO6BTYsvoHhAMsBKBEUPtwWkE=; fh=ZYQJBVImpC6sYxKYKHV6SrBB7jlq5NQnfvghGRBJdJU=; b=fZ5naZyMx16TiNcWAcry3D0XRjq34glYayzQcLBHDtmRwS/EMzyYLK7fbwTFbw+Ao8 txbzs9x1QyDVsIy+pLbmp1AAk+6DEy7O0rpaAkmMrayNY2L4RP9ZEEXxPFsiiEF7VmLO zruPYc4cCJPUe+AXif3Mj3hgLYo9tYs3UCNzk8GYbafB2uWikgMiqV/43XDR5pgGIXqT Sk1AafsNhyRR6tSNhVGclBa7Bn20SeMx+6UBpuHkEMPmhFpRzGh2pjG08TVpl4NV/Htq f2QXnlQBHtUWNe0fsm71VRW4zKgnvxKaT9ECIpPerJ0pnOboXOGAPkdZbmoZu5pSeUCe Zp2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12962-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12962-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qx7-20020a170906fcc700b00a278953a75csi421111ejb.992.2023.12.28.22.54.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 22:54:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12962-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12962-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12962-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7A26C1F21AFF for ; Fri, 29 Dec 2023 06:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1ECE79D8; Fri, 29 Dec 2023 06:54:34 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5FFE747E for ; Fri, 29 Dec 2023 06:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 2EBAE80B2; Fri, 29 Dec 2023 14:54:17 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 29 Dec 2023 14:54:16 +0800 Received: from jsia-virtual-machine.localdomain (175.136.135.142) by EXMBX066.cuchost.com (172.16.6.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 29 Dec 2023 14:54:13 +0800 From: Sia Jee Heng To: , CC: , , , , , , , Subject: [RFC v1 0/1] Enable SPCR table for console output on RISC-V Date: Fri, 29 Dec 2023 14:54:04 +0800 Message-ID: <20231229065405.235625-1-jeeheng.sia@starfivetech.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: quoted-printable This patch will enable the SPCR table for RISC-V. Vendor will enable/disable the SPCR table in the firmware based on the platform design. However, in cases where the SPCR table is not usable, a kernel parameter could be used to specify the preferred console. This patch depends on Sunil's patch series, as indicated in [1] and the corresponding Qemu patch can be found at [2]. [1] https://lore.kernel.org/lkml/20231219174526.2235150-1-sunilvl@ventana= micro.com/ [2] https://lore.kernel.org/qemu-devel/20231228080616.158822-1-jeeheng.si= a@starfivetech.com/ Sia Jee Heng (1): RISC-V: ACPI: Enable SPCR table for console output on RISC-V arch/riscv/kernel/acpi.c | 4 ++++ 1 file changed, 4 insertions(+) --=20 2.34.1