Re: AMD laptops defaulting to S3 instead of S0ix (was amd_sfh)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This thread is a mix of top posting and bottom posting and confusing to follow. Some inline comments below.

On 8/2/2021 21:42, Liang, Prike wrote:
[Public]

In the AMD existing S0ix system seems needn't monitor SFH idle state, meanwhile SFH is powered by S5 rail and the rail keeps ON when SOC is in S3/S0i3 state. Regards to SFH stop working after S3 resume maybe caused by power rail and device context tear down during S3 suspend. In addition, we also need implement SFH suspend callback in amd-sfh-hid like as other vendor.

I think PM callbacks for SFH will resolve the issue at hand and are the most likely the correct solution in this instance.

-----Original Message-----
From: Huang, Ray <Ray.Huang@xxxxxxx>
Sent: Tuesday, August 3, 2021 8:20 AM
To: Hans de Goede <hdegoede@xxxxxxxxxx>
Cc: Natikar, Basavaraj <Basavaraj.Natikar@xxxxxxx>; Shah, Nehal-
bakulchandra <Nehal-bakulchandra.Shah@xxxxxxx>; Stephen MacNeil
<macneisj@xxxxxxxxx>; Limonciello, Mario <Mario.Limonciello@xxxxxxx>;
Rafael J . Wysocki <rjw@xxxxxxxxxxxxx>; Linux PM <linux-
pm@xxxxxxxxxxxxxxx>; linux-acpi <linux-acpi@xxxxxxxxxxxxxxx>; Natikar,
Basavaraj <Basavaraj.Natikar@xxxxxxx>; S-k, Shyam-sundar <Shyam-
sundar.S-k@xxxxxxx>; Liang, Prike <Prike.Liang@xxxxxxx>
Subject: Re: AMD laptops defaulting to S3 instead of S0ix (was amd_sfh)

+ Prike

On Mon, Aug 02, 2021 at 01:43:01PM +0200, Hans de Goede wrote:
Hi,

On 8/2/21 11:34 AM, Basavaraj Natikar wrote:
On 8/1/2021 5:15 PM, Shah, Nehal-bakulchandra wrote:
[AMD Official Use Only]

Adding few more folks

-----Original Message-----
From: Hans de Goede <hdegoede@xxxxxxxxxx>
Sent: Sunday, August 1, 2021 3:17 PM
To: Stephen MacNeil <macneisj@xxxxxxxxx>; Limonciello, Mario
<Mario.Limonciello@xxxxxxx>; Rafael J . Wysocki <rjw@xxxxxxxxxxxxx>
Cc: Linux PM <linux-pm@xxxxxxxxxxxxxxx>; linux-acpi
<linux-acpi@xxxxxxxxxxxxxxx>
Subject: AMD laptops defaulting to S3 instead of S0ix (was amd_sfh)

Hi Rafael, Mario,

Stephen is having an issue with a recent AMD laptop (a Lenovo Ideapad
model) where Linux defaults to using S3/deep suspend instead of S0ix/s2idle.

Hi Hans, Et al.

Looks like the Lenovo platform Stephen MacNeil is using does not support
the S2Idle as the FADT flags as not set (looking at the output of the script).

So Lenovo intends the platform to be S3 this means.


I believe it does, if it would not support s2idle at all, then this
would not be offered as an option in the "cat /sys/power/mem_sleep"
output.

I don't believe this to be correct.  s2idle is always added.

You can look at the comments (and in the code) to see this:
https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/kernel/power/suspend.c#L174


Part of the problem seems to be that the system supports s2idle, but
does not use it by default

If sensors are not working after ACPI S3 resume, I am suspecting
that it could be because the PM support is missing in the amd-sfh driver
(which is already WIP from my side).

Right, making sure the SFH code also works with S3 suspend is good
regardless, but AFAIK most modern systems should use S01x / s2idle
suspend by default.

Regards,

Hans



This is causing the sensors provided by the AMD Sensor Fusion Hub to
stop working after a suspend/resume. Adding mem_sleep_default=s2idle to
the kernel commandline fixes this.

Given that Lenovo has set the FADT not to expect S0ix it's possible that other firmware methods used for S0ix are not present such as the LPS0 _DSM or the methods that amd-pmc would be calling.

If those methods are not present or working properly then it's unlikely that the system is getting into the deepest power state.

So unless amd-sfh has introduced the PM callbacks you'll have a tradeoff here of non-functional sensors and low power consumption vs functional sensors and high power consumption by changing this option.


Do you have any idea what might be causing this ?

Regards,

Hans



On 7/31/21 2:31 PM, Stephen MacNeil wrote:
I wrote Basavaraj Natikar the new maintainer of amd_sfh for the kernel,
after sending the information he wanted his reply was...

Thanks Stephen MacNeil,
On our hardware we do not see any amd_sfh issue with 5.14.0-rc2
kernel.

Could you please check with Lenovo, as we are not observing amd_sfh
issue on our reference platforms too.

Thanks,
Basavaraj
<<
looking at the information I sent him  i looks like the issue is
(to me anyway)

cat /sys/power/mem_sleep
[s2idle] deep

without
cat /sys/power/mem_sleep
s2idle [deep]


this is the info he requested... any idea who else I can contact.
this is the output with and without the kernel param



Thanks a lot Stephen MacNeil  for the information.



Could you please provide me below information:-

·  what version of kernel is running.

uname -a
Linux ideapad 5.14.0-051400rc2-generic #202107182230 SMP Sun Jul
18
22:34:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


·  Are you using latest patches from amd-sfh

only the kernel

·  Could you please provide me output of /sys/power/mem_sleep

with kernel option mem_sleep_default=s2idle

cat /sys/power/mem_sleep
[s2idle] deep

without
cat /sys/power/mem_sleep
s2idle [deep]

·  Could you please provide output of below script after
installing "apt install iasl*". acpica-tools

with kernel option mem_sleep_default=s2idle

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20190509
Copyright (c) 2000 - 2019 Intel Corporation

File appears to be binary: found 265 non-ASCII characters,
disassembling Binary file appears to be a valid ACPI table,
disassembling Input file apic.dat, Length 0x138 (312) bytes
ACPI: APIC 0x0000000000000000 000138 (v02 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [APIC] decoded Formatted output:
apic.dsl - 16071 bytes File appears to be binary: found 40
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file batb.dat, Length 0x4A
(74) bytes
ACPI: BATB 0x0000000000000000 00004A (v02 LENOVO CB-
01    00000000
LENO 00000001) Unknown ACPI table signature [BATB], decoding ACPI
table header only Acpi Data Table [BATB] decoded Formatted output:
batb.dsl - 1274 bytes File appears to be binary: found 31
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file bgrt.dat, Length 0x38
(56) bytes
ACPI: BGRT 0x0000000000000000 000038 (v01 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [BGRT] decoded Formatted output:
bgrt.dsl - 1606 bytes File appears to be binary: found 16
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file cdit.dat, Length 0x29
(41) bytes
ACPI: CDIT 0x0000000000000000 000029 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [CDIT], decoding ACPI
table header only Acpi Data Table [CDIT] decoded Formatted output:
cdit.dsl - 1115 bytes File appears to be binary: found 2765
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file crat.dat, Length 0xB80
(2944) bytes
ACPI: CRAT 0x0000000000000000 000B80 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [CRAT], decoding ACPI
table header only Acpi Data Table [CRAT] decoded Formatted output:
crat.dsl - 15424 bytes File appears to be binary: found 15189
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file dsdt.dat, Length 0xAE9B
(44699) bytes
ACPI: DSDT 0x0000000000000000 00AE9B (v01 LENOVO
AMD      00001000
INTL 20180313) Pass 1 parse of [DSDT] Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    dsdt.dsl - 384071 bytes File appears to be binary:
found 229 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file facp.dat,
Length 0x10C
(268) bytes
ACPI: FACP 0x0000000000000000 00010C (v05 LENOVO CB-
01    00000003
LENO 00000001) Acpi Data Table [FACP] decoded Formatted output:
facp.dsl - 10098 bytes File appears to be binary: found 59
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file facs.dat, Length 0x40
(64) bytes
ACPI: FACS 0x0000000000000000 000040 Acpi Data Table [FACS]
decoded Formatted output:  facs.dsl - 1368 bytes File appears to
be binary:
found 28 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file fpdt.dat,
Length 0x34
(52) bytes
ACPI: FPDT 0x0000000000000000 000034 (v01 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [FPDT] decoded Formatted output:
fpdt.dsl - 1452 bytes File appears to be binary: found 30
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file hpet.dat, Length 0x38
(56) bytes
ACPI: HPET 0x0000000000000000 000038 (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [HPET] decoded Formatted output:
hpet.dsl - 1865 bytes File appears to be binary: found 279
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file ivrs.dat, Length 0x1A4
(420) bytes
ACPI: IVRS 0x0000000000000000 0001A4 (v02 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [IVRS] decoded Formatted output:
ivrs.dsl - 6001 bytes File appears to be binary: found 36
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file mcfg.dat, Length 0x3C
(60) bytes
ACPI: MCFG 0x0000000000000000 00003C (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [MCFG] decoded Formatted output:
mcfg.dsl - 1526 bytes File appears to be binary: found 32
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file msdm.dat, Length 0x55
(85) bytes
ACPI: MSDM 0x0000000000000000 000055 (v03 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [MSDM] decoded Formatted output:
msdm.dsl - 1557 bytes File appears to be binary: found 25
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file sbst.dat, Length 0x30
(48) bytes
ACPI: SBST 0x0000000000000000 000030 (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [SBST] decoded Formatted output:
sbst.dsl - 1282 bytes File appears to be binary: found 410
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file ssdt10.dat, Length
0x47F (1151) bytes
ACPI: SSDT 0x0000000000000000 00047F (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt10.dsl - 5673 bytes File appears to be binary:
found 708 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt11.dat,
Length 0xC1D (3101) bytes
ACPI: SSDT 0x0000000000000000 000C1D (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt11.dsl - 15424 bytes File appears to be binary:
found 848 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt12.dat,
Length 0x9AD (2477) bytes
ACPI: SSDT 0x0000000000000000 0009AD (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt12.dsl - 12474 bytes File appears to be binary:
found 9207 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt1.dat,
Length
0x7216 (29206) bytes
ACPI: SSDT 0x0000000000000000 007216 (v02 LENOVO AmdTable
00000002
MSFT 04000000) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt1.dsl - 208699 bytes File appears to be binary:
found 3968 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt2.dat,
Length
0x1500 (5376) bytes
ACPI: SSDT 0x0000000000000000 001500 (v01 LENOVO AmdTable
00000001
AMD
00000001) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing
Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt2.dsl - 59265 bytes File appears to be binary:
found 449 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt3.dat,
Length 0x53A (1338) bytes
ACPI: SSDT 0x0000000000000000 00053A (v01 LENOVO Tpm2Tabl
00009999
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt3.dsl - 10738 bytes File appears to be binary:
found 474 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt4.dat,
Length 0x64C (1612) bytes
ACPI: SSDT 0x0000000000000000 00064C (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt4.dsl - 8258 bytes File appears to be binary:
found 400 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt5.dat,
Length 0x480 (1152) bytes
ACPI: SSDT 0x0000000000000000 000480 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt5.dsl - 5582 bytes File appears to be binary:
found 1140 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt6.dat,
Length 0x1497 (5271) bytes
ACPI: SSDT 0x0000000000000000 001497 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt6.dsl - 20293 bytes File appears to be binary:
found 1314 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt7.dat,
Length
0x1576 (5494) bytes
ACPI: SSDT 0x0000000000000000 001576 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt7.dsl - 30076 bytes File appears to be binary:
found 4095 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt8.dat,
Length 0x353C (13628) bytes
ACPI: SSDT 0x0000000000000000 00353C (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt8.dsl - 78242 bytes File appears to be binary:
found 74 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt9.dat,
Length 0x90
(144) bytes
ACPI: SSDT 0x0000000000000000 000090 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt9.dsl - 1767 bytes File appears to be binary:
found 32 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file tpm2.dat,
Length 0x38 (56) bytes
ACPI: TPM2 0x0000000000000000 000038 (v04 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [TPM2] decoded Formatted output:
tpm2.dsl - 1515 bytes File appears to be binary: found 189
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file uefi.dat, Length 0x12A
(298) bytes
ACPI: UEFI 0x0000000000000000 00012A (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [UEFI] decoded Formatted output:
uefi.dsl - 2505 bytes File appears to be binary: found 37100
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file vfct.dat, Length 0xD484
(54404) bytes
ACPI: VFCT 0x0000000000000000 00D484 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [VFCT], decoding ACPI
table header only Acpi Data Table [VFCT] decoded Formatted output:
vfct.dsl - 269557 bytes File appears to be binary: found 17
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file wsmt.dat, Length 0x28
(40) bytes
ACPI: WSMT 0x0000000000000000 000028 (v01 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [WSMT] decoded Formatted output:
wsmt.dsl - 1313 bytes Low Power S0 Idle is 0 The system does not
support S0ix!


without

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20190509
Copyright (c) 2000 - 2019 Intel Corporation

File appears to be binary: found 265 non-ASCII characters,
disassembling Binary file appears to be a valid ACPI table,
disassembling Input file apic.dat, Length 0x138 (312) bytes
ACPI: APIC 0x0000000000000000 000138 (v02 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [APIC] decoded Formatted output:
apic.dsl - 16071 bytes File appears to be binary: found 40
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file batb.dat, Length 0x4A
(74) bytes
ACPI: BATB 0x0000000000000000 00004A (v02 LENOVO CB-
01    00000000
LENO 00000001) Unknown ACPI table signature [BATB], decoding ACPI
table header only Acpi Data Table [BATB] decoded Formatted output:
batb.dsl - 1274 bytes File appears to be binary: found 31
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file bgrt.dat, Length 0x38
(56) bytes
ACPI: BGRT 0x0000000000000000 000038 (v01 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [BGRT] decoded Formatted output:
bgrt.dsl - 1606 bytes File appears to be binary: found 16
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file cdit.dat, Length 0x29
(41) bytes
ACPI: CDIT 0x0000000000000000 000029 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [CDIT], decoding ACPI
table header only Acpi Data Table [CDIT] decoded Formatted output:
cdit.dsl - 1115 bytes File appears to be binary: found 2765
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file crat.dat, Length 0xB80
(2944) bytes
ACPI: CRAT 0x0000000000000000 000B80 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [CRAT], decoding ACPI
table header only Acpi Data Table [CRAT] decoded Formatted output:
crat.dsl - 15424 bytes File appears to be binary: found 15189
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file dsdt.dat, Length 0xAE9B
(44699) bytes
ACPI: DSDT 0x0000000000000000 00AE9B (v01 LENOVO
AMD      00001000
INTL 20180313) Pass 1 parse of [DSDT] Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    dsdt.dsl - 384071 bytes File appears to be binary:
found 229 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file facp.dat,
Length 0x10C
(268) bytes
ACPI: FACP 0x0000000000000000 00010C (v05 LENOVO CB-
01    00000003
LENO 00000001) Acpi Data Table [FACP] decoded Formatted output:
facp.dsl - 10098 bytes File appears to be binary: found 59
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file facs.dat, Length 0x40
(64) bytes
ACPI: FACS 0x0000000000000000 000040 Acpi Data Table [FACS]
decoded Formatted output:  facs.dsl - 1368 bytes File appears to
be binary:
found 28 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file fpdt.dat,
Length 0x34
(52) bytes
ACPI: FPDT 0x0000000000000000 000034 (v01 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [FPDT] decoded Formatted output:
fpdt.dsl - 1452 bytes File appears to be binary: found 30
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file hpet.dat, Length 0x38
(56) bytes
ACPI: HPET 0x0000000000000000 000038 (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [HPET] decoded Formatted output:
hpet.dsl - 1865 bytes File appears to be binary: found 279
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file ivrs.dat, Length 0x1A4
(420) bytes
ACPI: IVRS 0x0000000000000000 0001A4 (v02 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [IVRS] decoded Formatted output:
ivrs.dsl - 6001 bytes File appears to be binary: found 36
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file mcfg.dat, Length 0x3C
(60) bytes
ACPI: MCFG 0x0000000000000000 00003C (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [MCFG] decoded Formatted output:
mcfg.dsl - 1526 bytes File appears to be binary: found 32
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file msdm.dat, Length 0x55
(85) bytes
ACPI: MSDM 0x0000000000000000 000055 (v03 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [MSDM] decoded Formatted output:
msdm.dsl - 1557 bytes File appears to be binary: found 25
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file sbst.dat, Length 0x30
(48) bytes
ACPI: SBST 0x0000000000000000 000030 (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [SBST] decoded Formatted output:
sbst.dsl - 1282 bytes File appears to be binary: found 410
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file ssdt10.dat, Length
0x47F (1151) bytes
ACPI: SSDT 0x0000000000000000 00047F (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt10.dsl - 5673 bytes File appears to be binary:
found 708 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt11.dat,
Length 0xC1D (3101) bytes
ACPI: SSDT 0x0000000000000000 000C1D (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt11.dsl - 15424 bytes File appears to be binary:
found 848 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt12.dat,
Length 0x9AD (2477) bytes
ACPI: SSDT 0x0000000000000000 0009AD (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt12.dsl - 12474 bytes File appears to be binary:
found 9207 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt1.dat,
Length
0x7216 (29206) bytes
ACPI: SSDT 0x0000000000000000 007216 (v02 LENOVO AmdTable
00000002
MSFT 04000000) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt1.dsl - 208699 bytes File appears to be binary:
found 3968 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt2.dat,
Length
0x1500 (5376) bytes
ACPI: SSDT 0x0000000000000000 001500 (v01 LENOVO AmdTable
00000001
AMD
00000001) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing
Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt2.dsl - 59265 bytes File appears to be binary:
found 449 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt3.dat,
Length 0x53A (1338) bytes
ACPI: SSDT 0x0000000000000000 00053A (v01 LENOVO Tpm2Tabl
00009999
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt3.dsl - 10738 bytes File appears to be binary:
found 474 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt4.dat,
Length 0x64C (1612) bytes
ACPI: SSDT 0x0000000000000000 00064C (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt4.dsl - 8258 bytes File appears to be binary:
found 400 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt5.dat,
Length 0x480 (1152) bytes
ACPI: SSDT 0x0000000000000000 000480 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt5.dsl - 5582 bytes File appears to be binary:
found 1140 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt6.dat,
Length 0x1497 (5271) bytes
ACPI: SSDT 0x0000000000000000 001497 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt6.dsl - 20293 bytes File appears to be binary:
found 1314 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt7.dat,
Length
0x1576 (5494) bytes
ACPI: SSDT 0x0000000000000000 001576 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt7.dsl - 30076 bytes File appears to be binary:
found 4095 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt8.dat,
Length 0x353C (13628) bytes
ACPI: SSDT 0x0000000000000000 00353C (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt8.dsl - 78242 bytes File appears to be binary:
found 74 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file ssdt9.dat,
Length 0x90
(144) bytes
ACPI: SSDT 0x0000000000000000 000090 (v01 LENOVO AmdTable
00000001
INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    ssdt9.dsl - 1767 bytes File appears to be binary:
found 32 non-ASCII characters, disassembling Binary file appears
to be a valid ACPI table, disassembling Input file tpm2.dat,
Length 0x38 (56) bytes
ACPI: TPM2 0x0000000000000000 000038 (v04 LENOVO CB-
01    00000002
LENO 00000001) Acpi Data Table [TPM2] decoded Formatted output:
tpm2.dsl - 1515 bytes File appears to be binary: found 189
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file uefi.dat, Length 0x12A
(298) bytes
ACPI: UEFI 0x0000000000000000 00012A (v01 LENOVO CB-
01    00000001
LENO 00000001) Acpi Data Table [UEFI] decoded Formatted output:
uefi.dsl - 2505 bytes File appears to be binary: found 37100
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file vfct.dat, Length 0xD484
(54404) bytes
ACPI: VFCT 0x0000000000000000 00D484 (v01 LENOVO CB-
01    00000001
LENO 00000001) Unknown ACPI table signature [VFCT], decoding ACPI
table header only Acpi Data Table [VFCT] decoded Formatted output:
vfct.dsl - 269557 bytes File appears to be binary: found 17
non-ASCII characters, disassembling Binary file appears to be a
valid ACPI table, disassembling Input file wsmt.dat, Length 0x28
(40) bytes
ACPI: WSMT 0x0000000000000000 000028 (v01 LENOVO CB-
01    00000000
LENO 00000001) Acpi Data Table [WSMT] decoded Formatted output:
wsmt.dsl - 1313 bytes Low Power S0 Idle is 0 The system does not
support S0ix!


#################################################
#!/bin/bash

cd /var/tmp/

acpidump -b

iasl -d *.dat

lp=$(grep "Low Power S0 Idle" /var/tmp/facp.dsl | awk '{print
$(NF)}')

if [ "$lp" -eq 1 ]; then

echo "Low Power S0 Idle is" $lp

echo "The system supports S0ix!"

else

echo "Low Power S0 Idle is" $lp

echo "The system does not support S0ix!"

fi



Thanks,

Basavaraj




--
Stephen MacNeil
905 334 5092
mglessons.com

<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2F

mglessons.com%2F&amp;data=04%7C01%7Cray.huang%40amd.com%7C0db
f347b

744f4480a76608d955aab43c%7C3dd8961fe4884e608e11a82d994e183d%7C0
%7C

0%7C637635013945224005%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL
jAwMDA

iLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Z

c6RqCBpmncIWTGiBpZ%2BmOBmPVV7gIx8mS2hqBenP6k%3D&amp;reserve
d=0>






[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux