Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp379957rwj; Thu, 22 Dec 2022 08:53:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3d5/Ntt5nTO/62JvMkjyGRdKxhrb4NmQ0gFVVcuZDdzXMwC0vNfRwbbCTzkFkDz4yMr2G X-Received: by 2002:a17:907:3f9d:b0:7c1:1c4:5eaf with SMTP id hr29-20020a1709073f9d00b007c101c45eafmr7292608ejc.49.1671727987437; Thu, 22 Dec 2022 08:53:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671727987; cv=none; d=google.com; s=arc-20160816; b=DN+X4UzLmYaHleJowT0WBd+b3TBciQSz5YeZnUfgmtdvKxkENmAAEw6RyqRvAk60O4 KgBZtvFTxtc5nVn3PYyjjLhDgP1YaMKmt9zChFui8j22eG5sRQVgO7xz3EDbzdj4SZjM l6PaUytiJ+S6gm0bTqjJKzwbgSLHYDG7Fykm2OXCHSC1h/GrnKPVxUAW2RFooTEULHv7 wsbItPue3ydgnqaMf8+xLBhv0nUS50eUicS9sKpNH94/WwZNijFMNGSVBL6ztgR8wtsP bSKvd1oGCguHDLv+LtSK81QOMbQgkhuTWsrdFO9veeZoW1dBFj9J+T4SAQF0jIbngs5V gVVw== 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=0eN3Zs99qkrCh4vkx4vSKF4x3Qe9Q9larwUBX8sPwUM=; b=dTCVrQSgk1+FA36d/P1YckkIKzni6sK015bye6GamP2e1m61WlecN/QOoRw5uyGOK5 CNKuFB4qkVwCZC94WDJyQ90rsLSwKmPNsdBsOvGOn+fE7Wp5TPw5x53i9xllSHLwd21v G4ZBEYBbbYPLK9Ou+C6dzwIjr/sQSY+GGF3jyVfjDC0Hc3P2sJtxNDEIjr2TL7lE9mt0 0I6YwdxYo/QtdjJRco+F8oPCS5F7F57SV365obo1bWst82EN7Aba5SGvsfrkAVZQx+df Fu6sgAXtunTWHv1MsTGhJOh6P2NTr1DDIaspOjogjklosC93tCq2J8pY+ZfpAOEb4IvV 4g2A== 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 i8-20020a1709064fc800b007c89c44ec82si909584ejw.84.2022.12.22.08.52.50; Thu, 22 Dec 2022 08:53:07 -0800 (PST) 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 S230070AbiLVQl6 (ORCPT + 69 others); Thu, 22 Dec 2022 11:41:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbiLVQlx (ORCPT ); Thu, 22 Dec 2022 11:41:53 -0500 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4B332B25C; Thu, 22 Dec 2022 08:41:49 -0800 (PST) Received: by mail-qk1-f181.google.com with SMTP id pe2so1179021qkn.1; Thu, 22 Dec 2022 08:41:49 -0800 (PST) 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:message-id :reply-to; bh=0eN3Zs99qkrCh4vkx4vSKF4x3Qe9Q9larwUBX8sPwUM=; b=XGctkDcn2f9s6X4+fLdo8d3twJV8rzzHxPP7c6yYnVGH/jMe/Vc04f3hqigKGAF6kI YXexD4ej9Vvw/mv1hcV6UpYo5guXQJxMywF+/kNB1OPraCJvxPbXapoUzVvpmHRKRvND XgMuxqzVQqwgXscl69n6eC4CXRds2HrlgYYZC7KO/eFD9XAPi5uKkQuZDQV2oGlDYbCz 36ePD8oZ5rrwqxlIAMpZToR3xNm8ld4CA/RVsPtuC4pVaI+N0ITOSTMHvu2nhROjsUJX ai1UyI3duY4c6WhL1R20Qr6rUnT9mOyqsmve7MZckncr5tGJMSLrwh5/yOiuBuMHuKfO Dm9w== X-Gm-Message-State: AFqh2kr9US7t8TpNiSC15EsdQYj+SsumOtCWc3WDXkLGjEevDyWOCtvN yH5r4GfV07V99rvoCMOdjNCsUQh9RM7OIY1fg3Y= X-Received: by 2002:a05:620a:5235:b0:6ff:8f5a:1d37 with SMTP id dc53-20020a05620a523500b006ff8f5a1d37mr316258qkb.501.1671727309007; Thu, 22 Dec 2022 08:41:49 -0800 (PST) MIME-Version: 1.0 References: <20221215191617.1438-1-mario.limonciello@amd.com> In-Reply-To: <20221215191617.1438-1-mario.limonciello@amd.com> From: "Rafael J. Wysocki" Date: Thu, 22 Dec 2022 17:41:38 +0100 Message-ID: Subject: Re: [PATCH 0/2] Stop using AMD GUID/_REV 2 by default To: Mario Limonciello Cc: rafael@kernel.org, Philipp Zabel , "Rafael J. Wysocki" , anson.tsao@amd.com, ben@bcheng.me, paul@zogpog.com, bilkow@tutanota.com, Shyam-sundar.S-k@amd.com, Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 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 Thu, Dec 15, 2022 at 8:16 PM Mario Limonciello wrote: > > A number of laptops have been showing up where lots of EC controlled > features weren't working after resume. They've varied from KBD > backlight, to fans, brightness control and lots more. > In kernel 6.1 we introduced a module parameter through > commit a0bc002393d4 ("ACPI: x86: s2idle: Add module parameter to > prefer Microsoft GUID") and a series of quirks in follow up commits > for systems that people reported the problems. > > 3 more systems recently reported issues; and so rather than increasing > the list /again/ to add these new systems we took a hard look at the > "why". > > The AMD GUID/_REV 2 path was introduced for vendors to be able to > differentiate from the Microsoft path. Vendors could populate this > with unique code for their designs. Conceptually this was supposed > to help the ecosystem, however in practice we've found that there > are more machines that don't populate it than do. > > The only models that have populated this with unique code for avoiding > a bug specific to their design is the HP Elitebook 835, 845, and 865 G9 > systems. > > To avoid growing the list further this series rips out the module > parameter support, all the quirks and sets the default policy to follow > the Microsoft GUID path for AMD Rembrandt or later. We validated this > on OEM systems and we found this fixes them. > > To avoid regressing the HP systems that use the AMD GUID/_REV 2 > path, let them keep taking it. The reason they take it is believed to > be a bug with WLAN firmware. If this is fixed in the future, we may > consider dropping the HP systems as well and having no quirks. > > Mario Limonciello (2): > ACPI: x86: s2idle: Force AMD GUID/_REV 2 on HP Elitebook 865 > ACPI: x86: s2idle: Stop using AMD specific codepath for Rembrandt+ > > drivers/acpi/x86/s2idle.c | 87 ++++++--------------------------------- > 1 file changed, 13 insertions(+), 74 deletions(-) > > -- Both patches applied as 6.2-rc material, thanks!