Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1209164rdb; Tue, 30 Jan 2024 11:01:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFjkgHB7rYF+oMZ2lwLnLY/ZBOykFKfUyJyTEEMSnZbTkC42JJRawyxHUR5sA5WAjc4u0hU X-Received: by 2002:a17:906:b347:b0:a34:b125:7975 with SMTP id cd7-20020a170906b34700b00a34b1257975mr2019261ejb.27.1706641306825; Tue, 30 Jan 2024 11:01:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706641306; cv=pass; d=google.com; s=arc-20160816; b=UzPAVbdvsWyd/F3jzrxn4l0/AFSIfjcjvnT9Eiuu8+Ei97ijCUiEm/eAz/YX/wBvYZ G0ncdHEZmnXz8ISnkDy4E05cJvXBcQhT6AZVEmRfzBGuQdNcnKpP2J2Wu1LgW2lz29+R zZNSRD7zkqsXIOUxiWPZVd6rHSeTT5CcGLLGOQXEyt9TRUiDPGA+fHacUHp4tvPwS9hO 2SrvWT+Tei6RcAPbGh8Vvx3Pe9gf2zfMOK/sFFHcAkh+1j4h8FJHP0XWaf8GFrGB865c jvKhQRMpgqUoedXUzsYknj/dBF9gEKZ/ll3aifxq/OxgHu9JfMpekKWKJui9bQXJbnAo b3Tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=78og88yF4pCuDlRqg/F7xnA9QQPhVIa54mFydxb6xAQ=; fh=9JfKCnB/8u7FvM2vNnH3iKLWtj/GZUdf68bEVKYH2ig=; b=SMNWFPJOl8brRSoDxnvpWtvIvbpZ/rJnWpDGDioABAMQeK5zxOIncGY4jSAXMKCflY BmfE46zL73GMxZOwx9IjiJfOdZMX4lgv4bT+SiWe1jr13l5CpDpPoBBOUXidN03LNV5e SR6kpgCkYh+R7DCw22TaGt77ifV4THmE1r5qFTFqTBH5l7KU6L0Jp1YZ4RCEMHW/66pR gIaaDNjjtKm+x8gLXHtW01tV9sshINJfVnMPJzswrcQiZYonzg90tU3L/9Eu+XfXBM2u EpG60eUiekojIpNe8fHsaL+sq20W2Zs26MPW8ALX8V5rH/AwX6QK/M5Os0UrHzMCCFgK 15VA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b="S/LRa7k1"; 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-45153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=endlessos.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fi6-20020a170906da0600b00a363f349499si447369ejb.171.2024.01.30.11.01.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:01:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessos.org header.s=google header.b="S/LRa7k1"; 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-45153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45153-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7DEA21F26698 for ; Tue, 30 Jan 2024 19:01:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA5867994A; Tue, 30 Jan 2024 19:01:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=endlessos.org header.i=@endlessos.org header.b="S/LRa7k1" Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (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 6754079944 for ; Tue, 30 Jan 2024 19:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706641297; cv=none; b=opO6i1FrytTuSisEYrCCqwzev3PsCV+jt15xSxjHFzI5S0GdwmStdv2/OgRRmQVJy/zjjmAxQpIHbUMwsfQYybYiI3VrpLwCWJXmmb5pkrHK5d3JdjXBelIe5ucuKM67zuVNTRcQJmjBGxkLJ6DV8YuoAKjCl2LVgGJHXgxnF2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706641297; c=relaxed/simple; bh=E4micvE7O+ZbfCsFYarptDn3Hd1yYBBH03FWbQeFOoc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Gekm3i/F2qvli+Zl6QbzAk6cPy+7AJCAA/HS9tAKtFs3JaVAvCBDMADTf4qOu6aCMWPwbW+eD/IqoOq7LXFQNC7vM6NgNPTASIC1DELrcOVMGbLIb+eWRFElnxc2ZD3z6XsbiVOPp1X0AjwIoXNTxHlGCDsqnveG7MvuQme/xek= 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=S/LRa7k1; arc=none smtp.client-ip=209.85.219.171 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-yb1-f171.google.com with SMTP id 3f1490d57ef6-dc26698a5bfso1268418276.0 for ; Tue, 30 Jan 2024 11:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; t=1706641294; x=1707246094; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=78og88yF4pCuDlRqg/F7xnA9QQPhVIa54mFydxb6xAQ=; b=S/LRa7k1I6VkFGbMjJwp/QW0hek8NQEkABe3RQolvttUei2fqEK7Vd6XP3BmNh/5c5 mLdEEyb3LIrVcn5oOpv4wHfCJfxnM2aFnlnTfHHk2XNytrTl1c7/Blzubi6o9ZzcXYTE 5DsHE53pzEopVyRhMZ2ixUQDaSLtROgqEr3XCdNyt8lew3QPLJMcDN5ayXrjbYTtcsH9 TOQX/j07fvJ10OsWzJG/N7pTX6x4F99gT8+NRGnu3JU4BUZNw0HI+aG1LlHISSXGKJKc dHE44i6w/ilDkEAEoat3tJP8PZvE+jso7cencgI9+0ajA8UZ8Lt4ik0dYAhrYduIRWjK SN8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706641294; x=1707246094; h=content-transfer-encoding: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=78og88yF4pCuDlRqg/F7xnA9QQPhVIa54mFydxb6xAQ=; b=tlXLm3xVlXywpyRm5bHSq/b4NEqxYl/By5MfVyJ5DsHoGkMNqJomVHIEUUv8XClEo/ jJbNRwJ0LyxsB5/42o2DNX5VND3+dMrodMYdV018xAerT4y1nlvMMHASEa4iwXuZ5YCT uICXQAXeunVg7xDlb/Ea1c3Io2c16xOycSv+O2ehQQI3Eb2XjWRACQX1gtv6eRev676u inQbUHcHTe28AQVEdUo96qrxdePkOHrFtrSryBZ/CmwQ57xGqGS/4HFvTt2olS/5nvZK tW1IfHUz9u90Tz36LNPKMT1PDKxFtgTXWeWm518dpY1EzBuHcqOAWebT3AnfATwj+/Kr Gwug== X-Forwarded-Encrypted: i=0; AJvYcCX+Xjbd9JAcN2v+5rnTzhSOWpiN1H4/oXZZ46f6XNVTVDaiLw8xpejq6ASJQO1baYR6i69kVrb1TgUBcjMMxtZ3mceIS3yfnBTddYr+ X-Gm-Message-State: AOJu0YyYvuySalRHlTeGvYb/yJthOS4jBP5Fi2bJkTwmuAWtTJu0TYZO Wyl+iYVjnVFF8w1ScWNivpPnk0LCmlzj33KlBkc7vHm2ih6z7VIqv/sG+pHzyhy2anS1ywtUaRV J/BhyuK8+ceIRG2bpsol65XLhq1Bo5poD5Rsfqg== X-Received: by 2002:a25:4191:0:b0:dc6:42cd:6554 with SMTP id o139-20020a254191000000b00dc642cd6554mr200359yba.0.1706641294016; Tue, 30 Jan 2024 11:01:34 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130183124.19985-1-drake@endlessos.org> <7a8f3595-3efc-428a-852a-d9edc8ebb01b@amd.com> In-Reply-To: <7a8f3595-3efc-428a-852a-d9edc8ebb01b@amd.com> From: Daniel Drake Date: Tue, 30 Jan 2024 15:00:58 -0400 Message-ID: Subject: Re: [PATCH] PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge To: Mario Limonciello Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, david.e.box@linux.intel.com, Jian-Hong Pan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 2:47=E2=80=AFPM Mario Limonciello wrote: > Has there already been a check done whether any newer firmware is > available from ASUS that doesn't suffer the deficiency described below? The latest firmware does flip StorageD3Enable to 0, which has the side effect of never putting the NVMe device or the parent bridge into D3cold. However, we have shipped hundreds of these devices with the original production BIOS version to first time computer users, so it is not feasible to ask the end user to upgrade. And there is no Linux-compatible online firmware update for this product range. Hence a Linux-level workaround for this issue would be highly valuable. > Is this the only problem blocking s2idle from working effectively on > this platform? If so, I would think you want to just do the revert in > the same series if it's decided this patch needs to spin again for any > reason. Yes these could be combined into the same series, with agreement from the drivers/acpi/ maintainers for the S3 revert. Thanks Daniel