From patchwork Thu Jul 28 09:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1661557 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=YEQKvxh2; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Ltlm91hK4z9sFk for ; Thu, 28 Jul 2022 19:32:08 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1oGzsA-0007JU-KH; Thu, 28 Jul 2022 09:32:02 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1oGzs9-0007J0-5Q for fwts-devel@lists.ubuntu.com; Thu, 28 Jul 2022 09:32:01 +0000 Received: from canonical.com (123-204-7-143.dynamic.seed.net.tw [123.204.7.143]) (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 4389B3F3B5 for ; Thu, 28 Jul 2022 09:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1659000720; bh=fWFyN6INTaJTawcwD/mU43FayMUYkEwSQMXC5mUFZuY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=YEQKvxh2X6jVO7JWdP8s9ohM2QHcLxeWo2BvMBTtoJj9SIA+b7GgLbVbQuuagMm7j 0DOkLm+CAJkDMndYj6KWpBlFZswyX6COIhxwVFloGqYSaej/7NYyJ8/WhiqaL8Qe8d iuKx84ejJGGpy4m4SS28zwCPaPCY9Skbn+cojsFAEDxKurhAGDnpv6jn9MZqyAwp4B xjYJJJyR7AVI5mtDHur7qqemWACm/UEM8Rh+NN8Oxet/xEFFyjL+CXednKuPt9NLDu KnWAlqokGsREFRAnlt/c8WVqSfxkPVj0GW4ammaGbWM6yJGTf7QXlIlPomWbKIbitY 3Yt7awe4iYoSA== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpi: dbg2: update the subtype for DBG2 table Date: Thu, 28 Jul 2022 17:31:57 +0800 Message-Id: <20220728093157.38444-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.25.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/1982785 Update the Microsoft Debug Port Table 2 (DBG2) table base on the release 05/20/2022, https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table Signed-off-by: Ivan Hu --- src/acpi/dbg2/dbg2.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/acpi/dbg2/dbg2.c b/src/acpi/dbg2/dbg2.c index 499d5cb9..1f45f8e8 100644 --- a/src/acpi/dbg2/dbg2.c +++ b/src/acpi/dbg2/dbg2.c @@ -179,9 +179,36 @@ static int dbg2_test1(fwts_framework *fw) case 0x0001: subport = "16550 subset compatible"; break; + case 0x0002: + subport = "MAX311xE SPI UART"; + break; case 0x0003: subport = "ARMPL011 UART"; break; + case 0x0004: + subport = "MSM8x60 (e.g. 8960)"; + break; + case 0x0005: + subport = "Nvidia 16550"; + break; + case 0x0006: + subport = "TI OMAP"; + break; + case 0x0008: + subport = "APM88xxxx"; + break; + case 0x0009: + subport = "MSM8974"; + break; + case 0x000a: + subport = "SAM5250"; + break; + case 0x000b: + subport = "Intel USIF"; + break; + case 0x000c: + subport = "i.MX 6"; + break; case 0x000d: subport = "ARM SBSA Generic UART (deprecated)"; break; @@ -194,9 +221,18 @@ static int dbg2_test1(fwts_framework *fw) case 0x0010: subport = "BCM2835"; break; + case 0x0011: + subport = "SDM845 with clock rate of 1.8432 MHz"; + break; case 0x0012: subport = "16550-compatible with parameters in GAS"; break; + case 0x0013: + subport = "SDM845 with clock rate of 7.372 MHz"; + break; + case 0x0014: + subport = "Intel LPSS"; + break; default: break; }