LPS0 constraints can be useful to other parts of the kernel to make decisions what state to put devices into. In v14 this series has been split into 3 parts. part A: Immediate fix for AMD issue. part B: LPS0 export improvements part C: Long term solution for all vendors This is part B, it can be applied and reviewed independently from part A. Andy Shevchenko (1): ACPI: x86: s2idle: Add for_each_lpi_constraint() helper Mario Limonciello (6): ACPI: Adjust #ifdef for *_lps0_dev use ACPI: x86: s2idle: Post-increment variables when getting constraints ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table ACPI: x86: s2idle: Add more debugging for AMD constraints parsing ACPI: x86: s2idle: Add a function to get constraints for a device drivers/acpi/x86/s2idle.c | 96 +++++++++++++++++++++++++-------------- include/linux/acpi.h | 10 +++- 2 files changed, 70 insertions(+), 36 deletions(-) -- 2.34.1