From patchwork Mon Jan 29 08:45:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1892127 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TNhjP3Lszz23dQ for ; Mon, 29 Jan 2024 19:46:16 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1rUNHJ-0000K3-Ul; Mon, 29 Jan 2024 08:46:05 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rUNHC-0000JN-Au for fwts-devel@lists.ubuntu.com; Mon, 29 Jan 2024 08:45:58 +0000 Received: from canonical.com (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 865113FFCB for ; Mon, 29 Jan 2024 08:45:57 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: dbg2: update the subtype RISC-V SBI console for DBG2 Date: Mon, 29 Jan 2024 16:45:54 +0800 Message-Id: <20240129084554.67397-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" BugLink: https://bugs.launchpad.net/fwts/+bug/2051500 Update the Microsoft Debug Port Table 2(DBG2) table base on the release April 10, 2023 - Added new serial debugging subtype (RISC-V) and added clarifying information on 16550-compatible subtypes https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table Signed-off-by: Ivan Hu --- src/acpi/dbg2/dbg2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/acpi/dbg2/dbg2.c b/src/acpi/dbg2/dbg2.c index e26e39f1..ea63c61b 100644 --- a/src/acpi/dbg2/dbg2.c +++ b/src/acpi/dbg2/dbg2.c @@ -233,6 +233,9 @@ static int dbg2_test1(fwts_framework *fw) case 0x0014: subport = "Intel LPSS"; break; + case 0x0015: + subport = "RISC-V SBI console (any supported SBI mechanism)"; + break; default: break; }