From patchwork Thu Jan 11 06:19:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1885372 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 4T9ZJl2kYdz1yP3 for ; Thu, 11 Jan 2024 17:19:50 +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 1rNoPo-0005Xc-FC; Thu, 11 Jan 2024 06:19:44 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1rNoPl-0005XG-7w for fwts-devel@lists.ubuntu.com; Thu, 11 Jan 2024 06:19:41 +0000 Received: from canonical.com (unknown [10.101.194.164]) (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-0.canonical.com (Postfix) with ESMTPSA id 51CDE3F280 for ; Thu, 11 Jan 2024 06:19:37 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH][V2] fwts-test: sync up for reset reason health record test Date: Thu, 11 Jan 2024 14:19:32 +0800 Message-Id: <20240111061932.285288-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" Signed-off-by: Ivan Hu --- fwts-test/phat-0001/acpidump-0001.log | 6 +++--- fwts-test/phat-0001/phat-0001.log | 8 ++++---- fwts-test/phat-0001/phat-0002.log | 2 +- fwts-test/phat-0001/phat-0003.log | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fwts-test/phat-0001/acpidump-0001.log b/fwts-test/phat-0001/acpidump-0001.log index c926774d..1f4d6328 100644 --- a/fwts-test/phat-0001/acpidump-0001.log +++ b/fwts-test/phat-0001/acpidump-0001.log @@ -35,10 +35,10 @@ PHAT @ 0x0000000000000000 0080: 86 5D 0E 47 A6 B0 0A 2D B9 40 82 49 3A 00 00 00 .].G...-.@.I+... 0090: 5C 00 5F 00 53 00 42 00 2E 00 50 00 43 00 49 00 \._.S.B...P.C.I. 00A0: 30 00 2E 00 41 00 42 00 43 00 44 00 00 00 FF 11 0...A.B.C.D..... - 00B0: 55 AA 01 00 4A 00 00 00 00 00 11 DD D5 18 12 BA U...7........... - 00C0: 24 49 A7 5A 46 D2 51 EC B5 93 42 00 00 00 5C 00 $I.ZF.Q.../...\. + 00B0: 55 AA 01 00 4A 00 00 00 00 00 E2 4C 01 7A 63 F2 U...7........... + 00C0: 77 4B B8 8A E6 33 6B 78 2C 14 42 00 00 00 5C 00 $I.ZF.Q.../...\. 00D0: 5F 00 53 00 42 00 2E 00 50 00 43 00 49 00 30 00 _.S.B...P.C.I.0. 00E0: 2E 00 47 00 46 00 58 00 30 00 2E 00 58 00 59 00 ..G.F.X.0...X.Y. - 00F0: 5A 00 00 00 12 34 56 78 90 AB CD EF Z...4Vx.... + 00F0: 5A 00 00 00 00 00 45 67 89 AB CD EF Z...4Vx.... diff --git a/fwts-test/phat-0001/phat-0001.log b/fwts-test/phat-0001/phat-0001.log index 5831ba58..7d454b96 100644 --- a/fwts-test/phat-0001/phat-0001.log +++ b/fwts-test/phat-0001/phat-0001.log @@ -31,7 +31,7 @@ phat AmHealthy: 0x00 phat Device Signature: 91AF0530-5D86-470E-A6B0-0A2DB9408249 phat Device-specific Data Offset: 0x0000003a phat Device Path: \_SB.PCI0.ABCD -phat Vendor Data: +phat Device-specific Data: phat FF 11 55 AA phat phat Firmware Health Data Record (Type 1): @@ -40,11 +40,11 @@ phat Record Length: 0x004a phat Revision: 0x00 phat Reserved: 0x0000 phat AmHealthy: 0x00 -phat Device Signature: 18D5DD11-BA12-4924-A75A-46D251ECB593 +phat Device Signature: 7A014CE2-F263-4B77-B88A-E6336B782C14 phat Device-specific Data Offset: 0x00000042 phat Device Path: \_SB.PCI0.GFX0.XYZ -phat Vendor Data: -phat 12 34 56 78 90 AB CD EF +phat Device-specific Data: +phat 00 00 45 67 89 AB CD EF phat phat PASSED: Test 1, No issues found in PHAT table. phat diff --git a/fwts-test/phat-0001/phat-0002.log b/fwts-test/phat-0001/phat-0002.log index 69327fb8..ba24b9d7 100644 --- a/fwts-test/phat-0001/phat-0002.log +++ b/fwts-test/phat-0001/phat-0002.log @@ -31,7 +31,7 @@ phat AmHealthy: 0x00 phat Device Signature: 91AF0530-5D86-470E-A6B0-0A2DB9408249 phat Device-specific Data Offset: 0x0000003a phat Device Path: \_SB.PCI0.ABCD -phat Vendor Data: +phat Device-specific Data: phat FF 11 55 AA phat phat FAILED [HIGH] PHATBadSubTableType: Test 1, PHAT must have diff --git a/fwts-test/phat-0001/phat-0003.log b/fwts-test/phat-0001/phat-0003.log index e4e10384..792831ac 100644 --- a/fwts-test/phat-0001/phat-0003.log +++ b/fwts-test/phat-0001/phat-0003.log @@ -35,7 +35,7 @@ phat Device-specific Data Offset: 0x0000003a phat Device Path: \_SB.PCI0.ABCD phat FAILED [MEDIUM] PHATReservedNonZero: Test 1, PHAT Reserved phat field must be zero, got 0xabcd instead -phat Vendor Data: +phat Device-specific Data: phat FF 11 55 AA phat phat Firmware Health Data Record (Type 1):