Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2171934iof; Tue, 7 Jun 2022 22:07:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNThbvigMLIUNtso1epwthzRBXOO59rGE9dnY/tHKpwMfGswx1bhX6v3BRQoCqw/5kdUjU X-Received: by 2002:a17:902:f541:b0:163:f64a:6127 with SMTP id h1-20020a170902f54100b00163f64a6127mr31928636plf.134.1654664832061; Tue, 07 Jun 2022 22:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664832; cv=none; d=google.com; s=arc-20160816; b=Lh0kmQblFRH8xdTVpJo/oX80+ZeLiya1gYET8YwrdlXfECVFSybYb2rPEg1NadOmWb C7LF4LddWshDi/6S3ApqD879J5CsQR7SY072wxcCVE5THi3aqvOOsq3bL9rhMb7hJLho b3zTTdZp8X7+4Yvj4jrR4lAEDOrSrbs2CM7G48niK97qqBunN1+gFZ99hWT1xtiMp9g0 GCFdck/1oB5BQOiSw59NGoHIgf3vBiSFtmVUvvJzyJcL7BZziB1NgU9Hr0kn9wF8IWJ+ ilzwUHXTdq/bUT7Ihiu+X6HNwDJCa0aHDlj7Ax5J6hANQRElgVoKzfd49XBwXaaul3oo Xc2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zJhGd70oONeCM8PFmZ/3kXokch2tj/tR+9IxofcZ6Dg=; b=R4ClOLfvWNJX6gRH10i2MT6sXpaTrmXoroqQoNiBpIOs02f+p1DYN880WKLOBtep9K SczFZueEmHG6ABCJjG2NQYF2V8CVrx4d8OXUU2oMFvqUlMmvvVZPi+thLPtfhJY9nm3Y eArWZM/LjA3TBRZ4ijxF8dYEwwk5diKQRoTSeTYeAoOe2KIndvWkpt//XwwhDtD2IhF+ 6Rt8Wvwsq/1ougq3L0IeQZK1UQWGk/MO1ecIEKV0mYEyRrbcobM0JR/JHlPFIsb8G/as NgVDfkhfs+AmA/WocncuFhAUaJeip9HUDuKPDjUrutlQF1S5MK7JE0TaFIwZe6JGY/ss JeGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JSnTpldI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id nl3-20020a17090b384300b001e4dd12a09esi32644223pjb.39.2022.06.07.22.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:07:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JSnTpldI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A08103B882A; Tue, 7 Jun 2022 21:36:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384546AbiFGWPT (ORCPT + 99 others); Tue, 7 Jun 2022 18:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380160AbiFGVLf (ORCPT ); Tue, 7 Jun 2022 17:11:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 948D9149A8C; Tue, 7 Jun 2022 11:53:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AEDDF616C2; Tue, 7 Jun 2022 18:53:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8A6AC36AFE; Tue, 7 Jun 2022 18:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628000; bh=++FBKUrUNdenNgdg9O0dxiFbOQonQ6ctCVrjU7cnTw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JSnTpldIPLH5+RXLMmk3lNyHpzIkK/rhyGJG77lD+9Uh7bVyAA8xubky911k50ECI 0Z0ADLN7gQD0xrhHS1VTD89/LrSHlxjcXGtWd86LswSvdcwRXzEY59GiH0it8W19HI rrrhPFRDOfP8TEVwIJhI9wzTko7P/0cJXm638Hgo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jian-Hong Pan , Mario Limonciello , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 5.18 153/879] ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default Date: Tue, 7 Jun 2022 18:54:31 +0200 Message-Id: <20220607165007.147422801@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Mario Limonciello [ Upstream commit d52848620de00cde4a3a5df908e231b8c8868250 ] ASUS B1400CEAE fails to resume from suspend to idle by default. This was bisected back to commit df4f9bc4fb9c ("nvme-pci: add support for ACPI StorageD3Enable property") but this is a red herring to the problem. Before this commit the system wasn't getting into deepest sleep state. Presumably this commit is allowing entry into deepest sleep state as advertised by firmware, but there are some other problems related to the wakeup. As it is confirmed the system works properly with S3, set the default for this system to S3. Reported-by: Jian-Hong Pan Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742 Signed-off-by: Mario Limonciello Tested-by: Jian-Hong Pan Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/sleep.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index c992e57b2c79..3147702710af 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -373,6 +373,18 @@ static const struct dmi_system_id acpisleep_dmi_table[] __initconst = { DMI_MATCH(DMI_PRODUCT_NAME, "20GGA00L00"), }, }, + /* + * ASUS B1400CEAE hangs on resume from suspend (see + * https://bugzilla.kernel.org/show_bug.cgi?id=215742). + */ + { + .callback = init_default_s3, + .ident = "ASUS B1400CEAE", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "ASUS EXPERTBOOK B1400CEAE"), + }, + }, {}, }; -- 2.35.1