[PATCH 2/2] fwts-test: sync up with asf verbose dump
Ivan Hu
ivan.hu at canonical.com
Mon Jul 18 09:22:47 UTC 2022
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
fwts-test/asf-0001/asf-0001.log | 125 ++++++++++++++++++++++++++++++++
fwts-test/asf-0001/asf-0002.log | 66 +++++++++++++++++
2 files changed, 191 insertions(+)
diff --git a/fwts-test/asf-0001/asf-0001.log b/fwts-test/asf-0001/asf-0001.log
index 48d6cc06..bf245071 100644
--- a/fwts-test/asf-0001/asf-0001.log
+++ b/fwts-test/asf-0001/asf-0001.log
@@ -2,11 +2,136 @@ asf asf: ASF! Alert Standard Format Table test.
asf ----------------------------------------------------------
asf Test 1 of 1: ASF! Alert Standard Format Table test.
asf ASF! Hardware Error Source Table
+asf Type: 0x00
+asf Reserved: 0x00
+asf Length: 0x0010
+asf ASF! ASF_INFO Record:
+asf Min Watchdog Reset Value: 0xff
+asf Min Poll Wait Time: 0xff
+asf System ID: 0x2017
+asf IANA Manufacturer ID: 0x664a0000
+asf Feature Flags: 0x00
+asf Reserved: 0x00
+asf Reserved: 0x00
+asf Reserved: 0x00
asf PASSED: Test 1, No issues found in ASF! ASF_INFO record.
+asf
+asf Type: 0x01
+asf Reserved: 0x00
+asf Length: 0x002c
+asf ASF! ASF_ALRT Record:
+asf Assertion Event Mask: 0x00
+asf De-Assertion Event Mask: 0x00
+asf Number of Alerts: 0x03
+asf Array Element Length: 0x0c
+asf ASF! ASF_ALRT Element 0:
+asf Device Address: 0x00
+asf Alert Command: 0x00
+asf Alert Data Mask: 0x00
+asf Alert Compare Value: 0x00
+asf Alert Event Sensor Type: 0x00
+asf Alert Event Type: 0x00
+asf Alert Event Offset: 0x00
+asf Alert Source Type: 0x00
+asf Alert Event Severity: 0x00
+asf Alert Sensor Number: 0x00
+asf Alert Entity: 0x00
+asf Alert Entity Instance: 0x00
+asf ASF! ASF_ALRT Element 1:
+asf Device Address: 0x00
+asf Alert Command: 0x00
+asf Alert Data Mask: 0x00
+asf Alert Compare Value: 0x00
+asf Alert Event Sensor Type: 0x00
+asf Alert Event Type: 0x00
+asf Alert Event Offset: 0x00
+asf Alert Source Type: 0x00
+asf Alert Event Severity: 0x00
+asf Alert Sensor Number: 0x00
+asf Alert Entity: 0x00
+asf Alert Entity Instance: 0x00
+asf ASF! ASF_ALRT Element 2:
+asf Device Address: 0x00
+asf Alert Command: 0x00
+asf Alert Data Mask: 0x00
+asf Alert Compare Value: 0x00
+asf Alert Event Sensor Type: 0x00
+asf Alert Event Type: 0x00
+asf Alert Event Offset: 0x00
+asf Alert Source Type: 0x00
+asf Alert Event Severity: 0x00
+asf Alert Sensor Number: 0x00
+asf Alert Entity: 0x00
+asf Alert Entity Instance: 0x00
asf PASSED: Test 1, No issues found in ASF! ASF_ALRT record.
+asf
+asf Type: 0x02
+asf Reserved: 0x00
+asf Length: 0x0018
+asf ASF! ASF_RCTL Record:
+asf Number of Controls: 0x04
+asf Array Element Length: 0x04
+asf Reserved: 0x0004
+asf ASF! ASF_RCTL Element 0:
+asf Control Function: 0x00
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x03
+asf ASF! ASF_RCTL Element 1:
+asf Control Function: 0x01
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x02
+asf ASF! ASF_RCTL Element 2:
+asf Control Function: 0x02
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x01
+asf ASF! ASF_RCTL Element 3:
+asf Control Function: 0x03
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x04
asf PASSED: Test 1, No issues found in ASF! ASF_RCTL record.
+asf
+asf Type: 0x03
+asf Reserved: 0x00
+asf Length: 0x0017
+asf ASF! ASF_RMCP Record:
+asf Remote Control Cap.: 0x00 0xf8 0x00 0x00 0x00 0x13 0xf0
+asf Boot Opt. Completion Code:0x01
+asf IANA Enterprise ID: 0x00000000
+asf Special Command: 0x00
+asf Special Command Parameter:0x0000
+asf Boot Options: 0x00 0x00
+asf OEM Parameters: 0x0000
asf PASSED: Test 1, No issues found in ASF! ASF_RMCP record.
+asf
+asf Type: 0x84
+asf Reserved: 0x00
+asf Length: 0x0016
+asf ASF! ASF_ADDR Record:
+asf SEEPROM Address: 0x00
+asf Number of Devices: 0x10
+asf Fixed SMBus Address 0x5c
+asf Fixed SMBus Address 0x68
+asf Fixed SMBus Address 0x88
+asf Fixed SMBus Address 0xc2
+asf Fixed SMBus Address 0xd2
+asf Fixed SMBus Address 0xdc
+asf Fixed SMBus Address 0xa0
+asf Fixed SMBus Address 0xa2
+asf Fixed SMBus Address 0xa4
+asf Fixed SMBus Address 0xa6
+asf Fixed SMBus Address 0xc8
+asf Fixed SMBus Address 0x00
+asf Fixed SMBus Address 0x00
+asf Fixed SMBus Address 0x00
+asf Fixed SMBus Address 0x00
+asf Fixed SMBus Address 0x00
asf PASSED: Test 1, No issues found in ASF! ASF_ADDR record.
+asf
+asf
asf PASSED: Test 1, No issues found in ASF! table.
asf
asf ==========================================================
diff --git a/fwts-test/asf-0001/asf-0002.log b/fwts-test/asf-0001/asf-0002.log
index 656827c3..f9b120c3 100644
--- a/fwts-test/asf-0001/asf-0002.log
+++ b/fwts-test/asf-0001/asf-0002.log
@@ -2,6 +2,18 @@ asf asf: ASF! Alert Standard Format Table test.
asf ----------------------------------------------------------
asf Test 1 of 1: ASF! Alert Standard Format Table test.
asf ASF! Hardware Error Source Table
+asf Type: 0x00
+asf Reserved: 0x00
+asf Length: 0x0010
+asf ASF! ASF_INFO Record:
+asf Min Watchdog Reset Value: 0x00
+asf Min Poll Wait Time: 0x00
+asf System ID: 0x2017
+asf IANA Manufacturer ID: 0x664a0000
+asf Feature Flags: 0xff
+asf Reserved: 0x10
+asf Reserved: 0x20
+asf Reserved: 0x40
asf FAILED [HIGH] ASF!InfoMinPollWaitTimeInvalid: Test 1, ASF!
asf ASF_INFO Minimum Poll Wait Time is 0x0 and must be in the
asf range 0x02..0xff
@@ -14,21 +26,75 @@ asf FAILED [MEDIUM] ASF!ReservedNonZero: Test 1, ASF! ASF_INFO
asf Reserved2 field must be zero, got 0x20 instead
asf FAILED [MEDIUM] ASF!ReservedNonZero: Test 1, ASF! ASF_INFO
asf Reserved3 field must be zero, got 0x40 instead
+asf
+asf Type: 0x01
+asf Reserved: 0x00
+asf Length: 0x002c
+asf ASF! ASF_ALRT Record:
+asf Assertion Event Mask: 0x00
+asf De-Assertion Event Mask: 0x00
+asf Number of Alerts: 0x23
+asf Array Element Length: 0x0c
asf FAILED [HIGH] ASF!AlrtNumOfAlertsInvalid: Test 1, ASF!
asf ASF_ALRT Number of Alerts field is 0x23 and must be in the
asf range 0x01..0x08
+asf
+asf Type: 0x02
+asf Reserved: 0x00
+asf Length: 0x0018
+asf ASF! ASF_RCTL Record:
+asf Number of Controls: 0x04
+asf Array Element Length: 0x05
+asf Reserved: 0x0005
asf FAILED [HIGH] ASF!RctlArrayElementLengthInvalid: Test 1,
asf ASF! ASF_RCTL Array Element Length is 0x5 and must be
asf instead 0x4
+asf ASF! ASF_RCTL Element 0:
+asf Control Function: 0x08
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x03
asf FAILED [HIGH] ASF!RctlCtrlFuncInvalid: Test 1, ASF!
asf ASF_RCTL Control Function is 0x8 and must be in the range
asf 0x00..0x03
+asf ASF! ASF_RCTL Element 1:
+asf Control Function: 0x01
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x02
+asf ASF! ASF_RCTL Element 2:
+asf Control Function: 0x02
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x01
+asf ASF! ASF_RCTL Element 3:
+asf Control Function: 0x03
+asf Control Device Address: 0x88
+asf Control Command: 0x00
+asf Control Value: 0x04
+asf
+asf Type: 0x03
+asf Reserved: 0x00
+asf Length: 0x0017
+asf ASF! ASF_RMCP Record:
+asf Remote Control Cap.: 0x00 0xf8 0x00 0x00 0x00 0x13 0xf0
+asf Boot Opt. Completion Code:0x01
+asf IANA Enterprise ID: 0x00000000
+asf Special Command: 0x00
+asf Special Command Parameter:0x0000
+asf Boot Options: 0x00 0x00
+asf OEM Parameters: 0x0000
asf PASSED: Test 1, No issues found in ASF! ASF_RMCP record.
+asf
+asf Type: 0x84
+asf Reserved: 0x00
+asf Length: 0x0018
asf FAILED [HIGH] ASF!InfoRecordLengthTooLong: Test 1, ASF!
asf Information Record Reserved length is 24 and this is too
asf long for the size given by the ASF! table. Expected at
asf most 22 bytes.
asf
+asf
asf ==========================================================
asf 1 passed, 9 failed, 0 warning, 0 aborted, 0 skipped, 0
asf info only.
--
2.25.1
More information about the fwts-devel
mailing list