Message ID | 20240207084452.9597-2-drake@endlessos.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2090932dyb; Wed, 7 Feb 2024 00:48:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWf9zS7mUC4AGfV/fyNH8kDv5quey4vBXTnrsRPi5xNmYPdYwp0kBDsHNil7SsUMWmGn2SMr68bu4JkpTYBzZc5IxkBhg== X-Google-Smtp-Source: AGHT+IGYWJjskqihS74ousaLtrAXyrwccoRXxVmAtAmR/9U2rBek1aAxDkiWvefRB5S9hUEN/RZf X-Received: by 2002:a17:90b:1b0a:b0:296:9d63:1d9f with SMTP id nu10-20020a17090b1b0a00b002969d631d9fmr2109302pjb.47.1707295709894; Wed, 07 Feb 2024 00:48:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707295709; cv=pass; d=google.com; s=arc-20160816; b=UfkwW6LuVIhzIlmliOX2CLjK88Ec1KbzvbeulWrUVkMhTn2fXIv74e9dpFO0ypT4BU XQREHNRtnC4tHMYu1lv6WqNe/sdpUWYckuBKmJk+wbEU/E/iLIKN8q/qQ70ofsikZSdI 2MOB53XYTgClX5MnVcG4mE+/jVkqMHcW/6kfweI/fEYlrf0ZWq7X2oMfs0M3cj00jlvy eIvv0tEmIb21/tIuIdACy7Ebdxy2MCK/5h/64iIcXrL8i7AthyP71blhilnEw4ROBKSR ErwrIUKo4H/aNuwAIjBbDnyByitVZlJ7tes4GiC/m6x+42dGgRI2z/QeenRPir2rexTZ 07sQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=iIQKW6QdXz2vaR/7LGjw7ltrzBRpHViscM3vHYU14HI=; fh=LwhQROkPrI0BNzD2MT7N7RgR90Wf5aPASHsucxC8D7I=; b=x/wbg1Y87PRNoeg/EQwGAqs95j7EU0fBJeAMaq7o3UmXHODh/6QqiPi0eo4FLMeWY8 yfvWEhqdaCXzRjGLogOw5KFDDlfCjYESRhztzn16WVOt7C8HmeTkjLv2lDmWu1msgIHy 6FWItSuzseVl0xMBydGSZKiaXKKGxR/u0cs+mTqLUphrkc2dny/rV4g8h06OhCI0WUpT yMAOmSNT4qIautrcEUVTcVKFn/n54EIuPT+XKV6e91T3qsFolyF1mJ7jqsXPy20d8B7I woHRR68GcI8sDLQuzF/zZoAbqvI1xpY6Yek4W5FaFgSV4yoUZUdbhik0sgz3CPTISq51 1hkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b=osqGZLas; arc=pass (i=1 spf=pass spfdomain=endlessos.org dkim=pass dkdomain=endlessos.org dmarc=pass fromdomain=endlessos.org); spf=pass (google.com: domain of linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=endlessos.org X-Forwarded-Encrypted: i=2; AJvYcCXjCuNwwG9UosbUrD3cS93Src1daU5n6B1ViERZY39pbq8iOtjiwHReU0RJUohnPSFUDIB7Rplf+BO5UNyssIXF3OuBrg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y22-20020a17090aa41600b00296e1c56241si902718pjp.61.2024.02.07.00.48.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:48:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b=osqGZLas; arc=pass (i=1 spf=pass spfdomain=endlessos.org dkim=pass dkdomain=endlessos.org dmarc=pass fromdomain=endlessos.org); spf=pass (google.com: domain of linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56139-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=endlessos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 26E86B268DE for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 08:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C724122307; Wed, 7 Feb 2024 08:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b="osqGZLas" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D03B208CE for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 08:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295501; cv=none; b=k+6XcAz8lZa9WYAuJ+cyzQ/iiDIcD2x+mpDXJnOzruhOIFzE9fGryiyHcQUGbueBFzyIarG0hjg20VI9XGUV5RBO/79FcBE5oc5MBHY1GsY7H9qEGGE1DQwyt5mHkASSmc6oCgH8kzSZ/zFnqHRbRwU/u1hqORRldPEDx+ZjwvY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295501; c=relaxed/simple; bh=YTPZcSINU7lQwWahDe2E8XZsVbApJNCaAHRu8Dse6tU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jdn4+xxoA9clFVM4rultjp+ddAe9LXUshv8XKkI7v2QQYDkwLeiDZKvltNrhFTIW5YNtR4N2e9+PIx24NtX37OQKzae/Mmm8nv90Dr6bUyUVbQlA3XDZJpCLVA24po/ZGB+n0aDSAZRHxLccr+aECrzXkZr9NjrYI0gGMLnN8BI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endlessos.org; spf=pass smtp.mailfrom=endlessos.org; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b=osqGZLas; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=endlessos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=endlessos.org Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-55369c59708so65479a12.1 for <linux-kernel@vger.kernel.org>; Wed, 07 Feb 2024 00:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; t=1707295498; x=1707900298; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iIQKW6QdXz2vaR/7LGjw7ltrzBRpHViscM3vHYU14HI=; b=osqGZLaszV5i952siEuXVuXpU4pa2ukrtQTJ5NboL+LFW/HD3NFChW/6s8ZIMQ/ATl PMgZio+MSsL/YkZaW2PJnQ4OGdkJQ1WTWpkZ2mn4pw3HVe8ifkeI4kXMq7Qng1ewkXsZ 7/C8H1i+kYVBbEZg4GoVvRyWd794YkqY48V3z/XmwqDlGJALSafSMUZVNQO77/ztdKnd Zrb83d6qqNgACfZH4IDyltWGcagPZ8gyef2R2myC6E8rwt5tjqU6AnSXaGGL2bFjTxm/ CgvNxodJgGTZj5iOtpSE9wgdpbZGx25coHhYJYaulYAsBBZp3PqkQu09yo1lXjhz5i/2 311Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707295498; x=1707900298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iIQKW6QdXz2vaR/7LGjw7ltrzBRpHViscM3vHYU14HI=; b=imZmAERN8rwMXk/B/N9MtIGHXD1/cOit4xhFIwqkK1blpvyyAMp73yBNQyADWntqri /5xBdv62+BNBXml4bJfmr9aASr58gDTsfYnibg6xRPJGyAoV0QVEOPpvu9DnqO5+qD/m SHQHGr0Rca1e1JMgn21ScgYq2WdTpB0bDIxoSztV4nLcI3wUI+yR0NdCywe3Sua3cChu mt0wiveJctP1GCHl/wFulDceLov2pyNwWbNsTRQbQUZeE3Dow6ftS2t6NEw5vEaRb0H4 7NxPU4oSYAHyPKdos5ie3NPWDkGWGaiH+XBq2qehZOitA8VScabn+9qUFfV5uT5pxlNw BNMQ== X-Forwarded-Encrypted: i=1; AJvYcCVu+UmkXe3ESDAiyeXzXiU+TZm30kMWmVaFm3DeTSjHBZdM0VvFbi+aMUBW9RidNRPUPL/s0btz8ONUtfcv5YHz+Ls6Ghu5sI0kFCDg X-Gm-Message-State: AOJu0Yy/qp3sC77n2f1O+CV5ylsc8/+6dkcFhoI8Lw3JvXVtkRdSelCL GYmmOY16J5sWlrqhX4lsXA3r1lyBXx64Zml8AzRg8wz57L+oCAmlpPEZ6fY8Blg= X-Received: by 2002:a17:906:468a:b0:a38:24ba:99d9 with SMTP id a10-20020a170906468a00b00a3824ba99d9mr2634457ejr.6.1707295498258; Wed, 07 Feb 2024 00:44:58 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVGH4z0ynpHbcdPWjccBmirwpr3RXHiKwQz/4yWilxX6y5d8K7JDWFBuswl8k9B+OKS9Mm7LXDGgBtK6rMDrNslFrHbP62gg13S7+N1X3kONw5MQ8vfM6kACCRtbo/IgWf/7Y33j669EFCiyCXAb94QwiatHul1ddzcqMJjAGefasOy8kOQV9rHnwdeZIzlEmu7m2xlnQehh1ZY4Ob3SWmoqKC7BnghVi0bpOLYsTaUw6Hw3zDeWlAUPm+XtqX5m393cNJcG0rdo6z3PHyxCH7OlrKeUOARFLfvYOc37lFI7OcLXlrhRlW/KhKZ8U6ye8iLMHBG2X0XrOEdoAqig/oaLdO6dVkYYGSaIAPbOkS62rNxP2V9RfdVQ5Wl9SpZVjc0PZY3Z/b003h539igAtOurKUFp4IueZ3vdsxx+j4kHrW4hmASuX+1vUBuayzxDLYeLPCsrho= Received: from limbo.local ([2a00:1bb8:11e:cb8d:24dc:94bb:6d8:7d12]) by smtp.gmail.com with ESMTPSA id u25-20020a1709060b1900b00a370a76d3a0sm493921ejg.123.2024.02.07.00.44.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:44:57 -0800 (PST) From: Daniel Drake <drake@endlessos.org> To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org Cc: hpa@zytor.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, david.e.box@linux.intel.com, mario.limonciello@amd.com, rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux@endlessos.org Subject: [PATCH v2 2/2] Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default" Date: Wed, 7 Feb 2024 09:44:52 +0100 Message-ID: <20240207084452.9597-2-drake@endlessos.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207084452.9597-1-drake@endlessos.org> References: <20240207084452.9597-1-drake@endlessos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790229306554402300 X-GMAIL-MSGID: 1790229306554402300 |
Series |
[v2,1/2] PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge
|
|
Commit Message
Daniel Drake
Feb. 7, 2024, 8:44 a.m. UTC
This reverts commit d52848620de00cde4a3a5df908e231b8c8868250, which
was originally put in place to work around a s2idle failure on this
platform where the NVMe device was inaccessible upon resume.
After extended testing, we found that the firmware's implementation of
S3 is buggy and intermittently fails to wake up the system. We need
to revert to s2idle mode.
The NVMe issue has now been solved more precisely in the commit titled
"PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge"
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742
Signed-off-by: Daniel Drake <drake@endlessos.org>
---
drivers/acpi/sleep.c | 12 ------------
1 file changed, 12 deletions(-)
Comments
Daniel Drake <drake@endlessos.org> 於 2024年2月7日 週三 下午4:45寫道: > > This reverts commit d52848620de00cde4a3a5df908e231b8c8868250, which > was originally put in place to work around a s2idle failure on this > platform where the NVMe device was inaccessible upon resume. > > After extended testing, we found that the firmware's implementation of > S3 is buggy and intermittently fails to wake up the system. We need > to revert to s2idle mode. > > The NVMe issue has now been solved more precisely in the commit titled > "PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge" > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742 > Signed-off-by: Daniel Drake <drake@endlessos.org> Signed-off-by: Jian-Hong Pan <jhp@endlessos.org> > --- > drivers/acpi/sleep.c | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c > index 808484d112097..728acfeb774d8 100644 > --- a/drivers/acpi/sleep.c > +++ b/drivers/acpi/sleep.c > @@ -385,18 +385,6 @@ 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.43.0 >
On Wed, Feb 7, 2024 at 10:09 AM Jian-Hong Pan <jhp@endlessos.org> wrote: > > Daniel Drake <drake@endlessos.org> 於 2024年2月7日 週三 下午4:45寫道: > > > > This reverts commit d52848620de00cde4a3a5df908e231b8c8868250, which > > was originally put in place to work around a s2idle failure on this > > platform where the NVMe device was inaccessible upon resume. > > > > After extended testing, we found that the firmware's implementation of > > S3 is buggy and intermittently fails to wake up the system. We need > > to revert to s2idle mode. > > > > The NVMe issue has now been solved more precisely in the commit titled > > "PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge" > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742 > > Signed-off-by: Daniel Drake <drake@endlessos.org> > > Signed-off-by: Jian-Hong Pan <jhp@endlessos.org> What is this tag supposed to mean? In a reply to a patch, you can give Acked-by, Reviewed-by or Tested-by. Which one do you mean? > > --- > > drivers/acpi/sleep.c | 12 ------------ > > 1 file changed, 12 deletions(-) > > > > diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c > > index 808484d112097..728acfeb774d8 100644 > > --- a/drivers/acpi/sleep.c > > +++ b/drivers/acpi/sleep.c > > @@ -385,18 +385,6 @@ 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"), > > - }, > > - }, > > {}, > > }; > > > > --
Rafael J. Wysocki <rafael@kernel.org> 於 2024年2月7日 週三 下午6:30寫道: > > On Wed, Feb 7, 2024 at 10:09 AM Jian-Hong Pan <jhp@endlessos.org> wrote: > > > > Daniel Drake <drake@endlessos.org> 於 2024年2月7日 週三 下午4:45寫道: > > > > > > This reverts commit d52848620de00cde4a3a5df908e231b8c8868250, which > > > was originally put in place to work around a s2idle failure on this > > > platform where the NVMe device was inaccessible upon resume. > > > > > > After extended testing, we found that the firmware's implementation of > > > S3 is buggy and intermittently fails to wake up the system. We need > > > to revert to s2idle mode. > > > > > > The NVMe issue has now been solved more precisely in the commit titled > > > "PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge" > > > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215742 > > > Signed-off-by: Daniel Drake <drake@endlessos.org> > > > > Signed-off-by: Jian-Hong Pan <jhp@endlessos.org> > > What is this tag supposed to mean? > > In a reply to a patch, you can give Acked-by, Reviewed-by or > Tested-by. Which one do you mean? Ok! Then, Acked-by: Jian-Hong Pan <jhp@endlessos.org> > > > --- > > > drivers/acpi/sleep.c | 12 ------------ > > > 1 file changed, 12 deletions(-) > > > > > > diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c > > > index 808484d112097..728acfeb774d8 100644 > > > --- a/drivers/acpi/sleep.c > > > +++ b/drivers/acpi/sleep.c > > > @@ -385,18 +385,6 @@ 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"), > > > - }, > > > - }, > > > {}, > > > }; > > > > > > --
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 808484d112097..728acfeb774d8 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -385,18 +385,6 @@ 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"), - }, - }, {}, };