Re: [PATCH v9 2/3] ACPI: x86: s2idle: Adjust constraints logic building

From: Andy Shevchenko
Date: Fri Aug 04 2023 - 00:32:12 EST


On Thu, Aug 03, 2023 at 08:02:28PM -0500, Mario Limonciello wrote:
> Constraints are currently only stored when enabled. To enable
> the ability to check if constraints are present they need to be
> stored even if disabled.

...

> @@ -120,8 +121,7 @@ static void lpi_device_get_constraints_amd(void)
> if (!lpi_constraints_table)
> goto free_acpi_buffer;
>
> - acpi_handle_debug(lps0_device_handle,
> - "LPI: constraints list begin:\n");
> + acpi_handle_debug(lps0_device_handle, "LPI: constraints list begin:\n");
>
> for (j = 0; j < package->package.count; ++j) {
> union acpi_object *info_obj = &package->package.elements[j];

Unrelated change.

--
With Best Regards,
Andy Shevchenko