https://bugzilla.kernel.org/show_bug.cgi?id=218750

--- Comment #3 from Mario Limonciello (AMD) (mario.limoncie...@amd.com) ---
Yup, try this.  If that works I'd say, go ahead and post a patch for Rafael to
review.  It's better than a revert.

diff --git a/drivers/acpi/x86/s2idle.c b/drivers/acpi/x86/s2idle.c
index cd84af23f7ea..3da2f075711e 100644
--- a/drivers/acpi/x86/s2idle.c
+++ b/drivers/acpi/x86/s2idle.c
@@ -488,21 +488,6 @@ static int lps0_device_attach(struct acpi_device *adev,
                rev_id = 1;
                lps0_dsm_func_mask = validate_dsm(adev->handle,
                                        ACPI_LPS0_DSM_UUID, rev_id,
&lps0_dsm_guid);
-               if (lps0_dsm_func_mask > 0 && lps0_dsm_func_mask_microsoft > 0)
{
-                       unsigned int func_mask;
-
-                       /*
-                        * Avoid evaluating the same _DSM function for two
-                        * different UUIDs and prioritize the MSFT one.
-                        */
-                       func_mask = lps0_dsm_func_mask &
lps0_dsm_func_mask_microsoft;
-                       if (func_mask) {
-                               acpi_handle_info(adev->handle,
-                                                "Duplicate LPS0 _DSM functions
(mask: 0x%x)\n",
-                                                func_mask);
-                               lps0_dsm_func_mask &= ~func_mask;
-                       }
-               }
        }

        if (lps0_dsm_func_mask < 0 && lps0_dsm_func_mask_microsoft < 0)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to