Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1240768lfc; Wed, 1 Jun 2022 12:47:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJf4XixyeVKAgM59QykxhwYI0AGN1xHeJG7w6j0I2bvv+EjPaXyK1Y5eLDaciW2P3kkWu/ X-Received: by 2002:a17:902:7289:b0:161:d78a:9e14 with SMTP id d9-20020a170902728900b00161d78a9e14mr1104832pll.88.1654112862929; Wed, 01 Jun 2022 12:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654112862; cv=none; d=google.com; s=arc-20160816; b=cwwNx0G9kEL2lcE2qAsq4fTtBz8LqFEoxkSGAk7NzPqRe0BO/mlmTE7nHWngnP/LOf V7NdAmr/FWiMhArgrNH8+jadeKb5p3KFq0qvELq8qys32f1L2lxQkYRkCV70sbyHhJkk pG9VSlmMfihGSl1rmbAAEyb7R/ZRqmhbCznMgvlLXRqLFcr5w/4ATeULEVcUvdTqhvQS JfvA2vu1GCVi9oeTn1uCRO5g39U/J6epjiYupNPKwTi16n2Pen1fxYfaoEaa0pmUEOcq W5wWYBFvs7eBEcurhEjpAFrcwHjB/NGghzZz24c0qNjij5o3MHHirBQtyjDNL5lY3quh nu/w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KusNwzC6KlNi9nUD0H12uerAeZ9YV2+PjMWKa978k2g=; b=xM6HCdTPo4sRo5ZcqOUNApqG2Wi9udT+rlk0CwCBkuoduUbOAib71kcQouf3+kGPOH FuirJV9bbnbfQB4jAvihVaHxc8KeSLpH0LcnIehjrtx6c5PozTko0BlOF7HxW/5Rquy8 H03JAnrqy2Hculyf00P8+/hOwFd5L4cVIy+kG8MvAexF27SYxzfWJbwBIxMidH1n5dHU QH8m18WA+54EN7rFuU7njgHOQcupleaOk+Aqcc+zmrLs4hhMUThf4eUv25Uh145CK9Ep kE52jOjTbyPXiqkKVi1gheg4d00zYpKnqCsS7vQboyfLfGyrPfqn2Bx0VqnctRhwmzHV V3UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Np8mF6Nt; 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=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w7-20020a623007000000b0050db6efbaedsi2625822pfw.105.2022.06.01.12.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:47:42 -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=@kernel.org header.s=k20201202 header.b=Np8mF6Nt; 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=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 77DCA1E6FAE; Wed, 1 Jun 2022 12:11:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238827AbiE3Oia (ORCPT + 99 others); Mon, 30 May 2022 10:38:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240968AbiE3OUs (ORCPT ); Mon, 30 May 2022 10:20:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C58E1269A7; Mon, 30 May 2022 06:50:10 -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 A6CE760FCC; Mon, 30 May 2022 13:48:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 206C1C36AEA; Mon, 30 May 2022 13:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653918520; bh=+y+tqItgn462wYbLLs6LsQooLjpGTjCvYb7UO89/G2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Np8mF6Nt2o8fDJNF5jjiSbJnrYt/QmU7/taIINYP/txt5wg+E3lJkuGSBQIkiKRxd ojOLjiElxeuF/NOb8b88Kythf/BkOLCxixQf2zaiCBKR1NHtolcTn4AitEWf+qEYHz huO912CGrOoVmKpyWipluX2yn8dpSsORb06J99aqcvT7/lGOEx1JrrvVm2gEZ1O33X CR7C4pwHIzCtfz3OvpQCEL7Qu96rFabkLkm152hWoVOVcLNIWksoCFIpJGnwVXZxN5 atwwkYQ/35wz+M+q9/hJmdhFiMswQmAEWDNgZh50MZ0LDp/JrgZ+HfzM9m1VGF6wlb X4N6McXMobRNQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mario Limonciello , Jian-Hong Pan , "Rafael J . Wysocki" , Sasha Levin , rafael@kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 38/55] ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default Date: Mon, 30 May 2022 09:46:44 -0400 Message-Id: <20220530134701.1935933-38-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220530134701.1935933-1-sashal@kernel.org> References: <20220530134701.1935933-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 b0e23e3fe0d5..34966128293b 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -374,6 +374,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