Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2560935rwb; Sat, 24 Sep 2022 10:25:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5LIMtM0qLjU8JKIkthCT+mtSa8geREhhUV0yNuTuKKvc/KMFmmt8WY1WJ7D8ehnNGo6H+r X-Received: by 2002:a17:906:dc95:b0:783:4e1:d5c4 with SMTP id cs21-20020a170906dc9500b0078304e1d5c4mr2366792ejc.463.1664040302964; Sat, 24 Sep 2022 10:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664040302; cv=none; d=google.com; s=arc-20160816; b=WY3XsQeFxo5BhQKyT0HaC30r30LpGXBKWqd16QqjWdguwhdp1WFyBXuZdbAdZJ8xhu ZouiZ3XbKAxsfCXWAIMUxJZOPB1EcU/3afVyqbHoSbozCcrVmR6K1ewi3jtzHT9AomdE gFf7XbZ34pYQMrrRZ6EDOulv9977VbXneIkrfgP5GchPl7aDrNLU8NuEjAu9xeW2zgZk 9ThypIvkLl7yerQGIGaGnjf7UxdEcOKVW/MH+IP0OGP2DFG57KSAd7I1YykBHvx/amDj 5UVdVRGrX6Jz1ueuwL07fhrWKyO8vt9NkcKDl0VstwRlhxUo/mS+hGkLfReL59zMIYyW +xRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=V/3GhR988gPDS6E2QDOzA/8y9R+/aGZbwIz06arVHDw=; b=mDhK7a4366KAEjl+5EtF3qxixZVN57xsS6qanQCuL7rmwyC3U22U/cQujYu0cCeduW UiDIpfnkD7/l5Mdh42LFr4OGh9FGTdEMaGJq8InkVMVbScx/Yo4Cua3Zq/cqzBKqMKRK g35uFbPC4UKnR9VLb/C/A/hlydT2RnieLHwl817o+tsCTGN0eOI24IlTlltWBJTWTOCV eSGBmSOIphzgLX+Stddg6EpUz5F0zmNxMSpTmpsry/YeUfXDcaAJENJP73eSOTGCdS2d DoQmYNdAAZgJ09ErZ9EEw1JE+UqPMTl745Uq0FilcrZ6yEm3ewoP6Dzd9fM60VutfLnU bCVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056402248500b00456c837e3d0si4868316eda.77.2022.09.24.10.24.37; Sat, 24 Sep 2022 10:25:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbiIXRIE (ORCPT + 99 others); Sat, 24 Sep 2022 13:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbiIXRIB (ORCPT ); Sat, 24 Sep 2022 13:08:01 -0400 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A791E25E91; Sat, 24 Sep 2022 10:08:00 -0700 (PDT) Received: by mail-qv1-f53.google.com with SMTP id c6so1901722qvn.6; Sat, 24 Sep 2022 10:08:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=V/3GhR988gPDS6E2QDOzA/8y9R+/aGZbwIz06arVHDw=; b=yTOdkapCj3V5WNvIkZf5U7aYUlGUyqzS0zJ+ZziLkVaVqnduqAeY6Tfq4uDOcpkYQs UE+GSEtY4Ijrb5KBtx+7V67Tx/Gaf+ejpSId6nHAcXXKlLTHlj8AR6sHCGWeUaJGAZcS bSJc30owyo/NEFV81vV6tufb/OdrJPZG2e4N/oh88knntuVOiSb5Dj3vJxCZ/Pt/MvXY 7raOfmCkNcOjAsxDd70fMpzzox/3Q2sbmNx1LrVLvtHOi41mgYgPo7ZKChFbdeqpE6sC UAY8p/U8R71Jn3E0DKnGbBMhFpj5v9n0VCsFEHA/OHhaaIaF78/bODLpVIMuCh3ffhMN YTfw== X-Gm-Message-State: ACrzQf1HM7hWudXcrWyRY9iE9r9CgifuVSsJhqenUWX7oxr+alRPNaWJ laOohoGxFCDjvEzwKaTcVK6T+NDjw7k8Pt05cF0= X-Received: by 2002:a0c:da14:0:b0:4aa:aad9:e450 with SMTP id x20-20020a0cda14000000b004aaaad9e450mr11681294qvj.130.1664039279863; Sat, 24 Sep 2022 10:07:59 -0700 (PDT) MIME-Version: 1.0 References: <20220921204055.22889-1-mario.limonciello@amd.com> In-Reply-To: <20220921204055.22889-1-mario.limonciello@amd.com> From: "Rafael J. Wysocki" Date: Sat, 24 Sep 2022 19:07:49 +0200 Message-ID: Subject: Re: [PATCH v4 0/7] Fixups for s2idle on various Rembrandt laptops To: Mario Limonciello Cc: "Rafael J. Wysocki" , travisghansen@yahoo.com, catalin@antebit.com, Shyam Sundar S K , Matthew Anderson , Philipp Zabel , "Sebastian S ." , Hans de Goede , davidedp91@gmail.com, marko.cekrlic.26@gmail.com, Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 21, 2022 at 10:40 PM Mario Limonciello wrote: > > It was reported that an ASUS Rembrandt laptop has problems with seemingly > unrelated ACPI events after resuming from s2idle. Debugging the issue > proved it's because ASUS has ASL that is only called when using the > Microsoft GUID, not the AMD GUID. > > This is a bug from ASUS firmware but this series reworks the s2idle > handling for AMD to allow accounting for this in a quirk. > > Additionally as this is a problem that may pop up again on other models > add a module parameter that can be used to try the Microsoft GUID on a > given system. > > This module parameter intentionally applies to both Intel and AMD systems > as the same problem could potentially exist on Intel systems that support > both the Intel GUID or the Microsoft GUID. > > v3->v4: > * Absorb tags > * minor URL correction > * Rename module parameter per Rafael's request > v2->v3: > * Add more systems > v1->v2: > * Add two more systems that are reported to be helped by this series. > > Mario Limonciello (7): > acpi/x86: s2idle: Move _HID handling for AMD systems into structures > acpi/x86: s2idle: If a new AMD _HID is missing assume Rembrandt > acpi/x86: s2idle: Add module parameter to prefer Microsoft GUID > acpi/x86: s2idle: Add a quirk for ASUS TUF Gaming A17 FA707RE > acpi/x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14 > acpi/x86: s2idle: Add a quirk for Lenovo Slim 7 Pro 14ARH7 > acpi/x86: s2idle: Add a quirk for ASUSTeK COMPUTER INC. ROG Flow X13 All applied as 6.1 material, thanks! > drivers/acpi/x86/s2idle.c | 136 +++++++++++++++++++++++++++++++------- > 1 file changed, 112 insertions(+), 24 deletions(-) > > --