~anthonywong/fwts/+git/fwts:riscv

Last commit made on 2023-08-23
Get this branch:
git clone -b riscv https://git.launchpad.net/~anthonywong/fwts/+git/fwts
Only Anthony Wong can upload to this branch. If you are Anthony Wong please log in for upload directions.

Branch merges

Branch information

Name:
riscv
Repository:
lp:~anthonywong/fwts/+git/fwts

Recent commits

f373b03... by Anthony Wong

snapcraft: change to core22

Signed-off-by: Anthony Wong <email address hidden>

1c175c9... by Anthony Wong

snapcraft: add riscv64

Signed-off-by: Anthony Wong <email address hidden>

e7847d8... by Ivan Hu

s3: add dumping the all devices and signed wakeup sources

Add s3-dump-wakeup-src option for dumping the wakeup sources for
debug.

Signed-off-by: Ivan Hu <email address hidden>

db2a58e... by Ivan Hu

s3: add checking the device signed wakeup events

BugLink: https://bugs.launchpad.net/fwts/+bug/2029452

The file, /sys/kernel/debug/wakeup_sources, lists wakeup source for all wakeup
devices. It could be used to check the devices which wakeup event signed.

Signed-off-by: Ivan Hu <email address hidden>

dfc5729... by Ivan Hu

dmicheck: update supported DMI version to 3.7

BugLink: https://bugs.launchpad.net/fwts/+bug/2029884i

SMBIOS specification version 3.7.0 release on 2023-07-21.
https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.7.0.pdf

Signed-off-by: Ivan Hu <email address hidden>

749e2c3... by Mario Limonciello <email address hidden>

Upgrade the max value for "Processor Upgrade" to 0x50

SMBIOS 3.7 spec specifies new socket types that are not covered
by fwts. This fixes the below error on an AMD AM5 machine:

```
 dmicheck: Out of range value 0x49 (range allowed 0x01..0x48) while accessing entry 'Processor Information (Type 4)' @ 0x8856856c, field 'Processor Upgrade', offset 0x19
```

Link: https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.7.0.pdf p57
Signed-off-by: Mario Limonciello <email address hidden>
Acked-by: Ivan Hu <email address hidden>

6595450... by Ivan Hu

fwts-test: sync up the spcr test updating to revision 4

Signed-off-by: Ivan Hu <email address hidden>

3c263ea... by Ivan Hu

acpi: spcr: update the spcr tests to lastest revision 4

BugLink: https://bugs.launchpad.net/fwts/+bug/2028929

Signed-off-by: Ivan Hu <email address hidden>

e14ac04... by Ivan Hu

fwts-test: sync up with the phat dumping vendor data modification

Signed-off-by: Ivan Hu <email address hidden>

d6dbf49... by Ivan Hu

acpi: phat: modify the dumping vendor data format

BugLingk: https://bugs.launchpad.net/fwts/+bug/2028907

Currently vendor dumping one byte each time.

Firmware Health Data Record (Type 1):
    Type: 0x0001
    Record Length: 0x004a
    Revision: 0x00
    Reserved: 0x0000
    AmHealthy: 0x00
    Device Signature: 18D5DD11-BA12-4924-A75A-46D251ECB593
    Device-specific Data Offset: 0x00000042
    Device Path: \_SB.PCI0.GFX0.XYZ
    Vendor Data: 0x12
    Vendor Data: 0x34
    Vendor Data: 0x56
    Vendor Data: 0x78
    Vendor Data: 0x90
    Vendor Data: 0xab
    Vendor Data: 0xcd
    Vendor Data: 0xef

modify as below,

 Firmware Health Data Record (Type 1):
    Type: 0x0001
    Record Length: 0x004a
    Revision: 0x00
    Reserved: 0x0000
    AmHealthy: 0x00
    Device Signature: 18D5DD11-BA12-4924-A75A-46D251ECB593
    Device-specific Data Offset: 0x00000042
    Device Path: \_SB.PCI0.GFX0.XYZ
    Vendor Data:
      12 34 56 78 90 AB CD EF

Signed-off-by: Ivan Hu <email address hidden>