Re: [PATCH v14.b 0/7] Export LPS0 constraints

From: Rafael J. Wysocki
Date: Mon Aug 21 2023 - 14:31:56 EST


On Fri, Aug 18, 2023 at 9:40 PM Mario Limonciello
<mario.limonciello@xxxxxxx> wrote:
>
> 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(-)
>
> --

All applied as 6.6 material, but I rewrote the last patch my way, so
please see the result in the bleeding-edge branch and let me know if
there's anything wrong with it.

Thanks!