diff mbox series

fwts-test: sync up the sdev checking secure access components

Message ID 20220314033706.19468-1-ivan.hu@canonical.com
State Accepted
Headers show
Series fwts-test: sync up the sdev checking secure access components | expand

Commit Message

ivanhu March 14, 2022, 3:37 a.m. UTC
Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 fwts-test/sdev-0001/acpidump-0002.log | 2 +-
 fwts-test/sdev-0001/sdev-0001.log     | 2 ++
 fwts-test/sdev-0001/sdev-0002.log     | 6 ++++--
 3 files changed, 7 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/fwts-test/sdev-0001/acpidump-0002.log b/fwts-test/sdev-0001/acpidump-0002.log
index 3e54c42a..1fc0c7d5 100644
--- a/fwts-test/sdev-0001/acpidump-0002.log
+++ b/fwts-test/sdev-0001/acpidump-0002.log
@@ -26,7 +26,7 @@  FACP @ 0x00000000
 SDEV @ 0x0000000000000000
   0000: 53 44 45 56 89 00 00 00 01 40 49 4E 54 45 4C 20  SDEV.....@INTEL 
   0010: 54 65 6D 70 6C 61 74 65 01 00 00 00 49 4E 54 4C  Template....INTL
-  0020: 31 03 21 20 00 05 41 00 23 00 16 00 39 00 08 00  1.! ..A.#...9...
+  0020: 31 03 21 20 00 07 41 00 23 00 16 00 39 00 08 00  1.! ..A.#...9...
   0030: 10 00 13 00 00 00 00 00 01 00 03 02 05 04 07 06  ................
   0040: 09 08 0A 0B 0C 0D 0E 5C 5C 5F 53 42 5F 2E 50 43  .......\\_SB_.PC
   0050: 49 30 2E 55 53 42 31 2E 53 55 42 31 00 00 11 22  I0.USB1.SUB1..."
diff --git a/fwts-test/sdev-0001/sdev-0001.log b/fwts-test/sdev-0001/sdev-0001.log
index 459fbd32..2d0d0c36 100644
--- a/fwts-test/sdev-0001/sdev-0001.log
+++ b/fwts-test/sdev-0001/sdev-0001.log
@@ -5,6 +5,8 @@  sdev            SDEV Secure Devices Table:
 sdev              ACPI Integrated Device (Type 0):
 sdev                Type:                             0x00
 sdev                Flags:                            0x03
+sdev                  Allow handoff to unsecure OS
+sdev                  Secure access components present
 sdev                Length:                           0x0041
 sdev                Device Id Offset:                 0x0023
 sdev                Device Id Length:                 0x0016
diff --git a/fwts-test/sdev-0001/sdev-0002.log b/fwts-test/sdev-0001/sdev-0002.log
index 00b85bfb..588b31e7 100644
--- a/fwts-test/sdev-0001/sdev-0002.log
+++ b/fwts-test/sdev-0001/sdev-0002.log
@@ -4,7 +4,9 @@  sdev            Test 1 of 1: Validate SDEV table.
 sdev            SDEV Secure Devices Table:
 sdev              ACPI Integrated Device (Type 0):
 sdev                Type:                             0x00
-sdev                Flags:                            0x05
+sdev                Flags:                            0x07
+sdev                  Allow handoff to unsecure OS
+sdev                  Secure access components present
 sdev                Length:                           0x0041
 sdev                Device Id Offset:                 0x0023
 sdev                Device Id Length:                 0x0016
@@ -13,7 +15,7 @@  sdev                Vendor Specific Data Length:      0x0008
 sdev                Secure Access Components Offset:  0x0010
 sdev                Secure Access Components Length:  0x0013
 sdev            FAILED [HIGH] SDEVReservedBitsNonZero: Test 1, SDEV Flags
-sdev            Bits [15..2] must be zero, got 0x05 instead
+sdev            Bits [15..2] must be zero, got 0x07 instead
 sdev            
 sdev              PCIe Endpoint Device (Type 1):
 sdev                Type:                             0x01