Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp127338lqo; Wed, 27 Mar 2024 08:37:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+eQ/FKpuu49P4NgP00SEpsI4IavdRvZG/dtNOloJkBV2JUTO1jBFDgzHG9QitxJh/ASSjWwgxoOntYqWTEn8TqBFmTkMFSD7nhL+pWA== X-Google-Smtp-Source: AGHT+IG5Ax/a8WehZKD4e0KXNYkJrH/q9UgCTN+ix5jXuRBQ4MojZtBKMNISIF2jZoUZIX+oF8Js X-Received: by 2002:a05:6808:1881:b0:3c3:d670:6f89 with SMTP id bi1-20020a056808188100b003c3d6706f89mr169346oib.28.1711553845057; Wed, 27 Mar 2024 08:37:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711553845; cv=pass; d=google.com; s=arc-20160816; b=WcLmix+4RFe+D3j3eb+3MdTtlqXQfwBItGDXSsRwgOCuadlNd2+VKcDrUEuaIMnI66 3HehCQb5bTQupePzaAFEbRUFczB7keQL0o0WZmt0Iahe8E2I18RHVWGrQZDahAHKdI4L nczWBS6z8UgXhfuv31eDU6rmd0wxwVwgwzSXms7Zqxnw1fT79spQRKFiW1kxGsstZyt0 0dKQ6CgxlBd0sdxlfO+DnFGRTmmrQDjkzddV2aOD8Tgn1Qq42hPHkU6kYzm/TzVANVft XY1Nngb0xLhzncQP9fGwI2vLfXd30Hiy6I5kKrFnjaDY1/brR3eJRAY6KxPEzT7WShTU oBCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=jF5BtkaLH/DlO6hMQi0+Tq5aB6GzNFDhzcshAq6u5J4=; fh=tsa8IzmQn1hp3FCtJkQquHK5KqNAPtYP+CF92KU4Xo8=; b=B0lpRrEoNqwPH1cpwPIqAcBQYWAzJ+0k+Lu3yzkzc2b/WLmvkOBXpJ6mcnxQ5Cf3TK cEY5swIKJf0iwxarov6kUAP4ZxB/laWLs1CI5GDbei1N+Qvaa5Vf3blbBRZeB8po0+ZZ en0B+u2IY/prXeIfqcoVeAgkw+7Sr0pHhaQ3IjkNr96JziG0OVKYEQSIJyes/+Y6w+Rn ZUs2ViI5hqSGvJ1i0/t8xo2Bdh5a+E6SRjYDpOQ5yE0A+l9oGysuSmNTApTHLhA7Aj8m lF6AacllH3nq7Io+lmWPpSQCEzNQ1LhakjeXMqWgW6TDlHS6fk8CY3iX7lAcrXoZ1Uw7 RRfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R2KYClsI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r12-20020a05622a034c00b0043184aae24asi395074qtw.284.2024.03.27.08.37.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R2KYClsI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121531-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C14B41C30427 for ; Wed, 27 Mar 2024 15:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C0EB14A4D3; Wed, 27 Mar 2024 15:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R2KYClsI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4836F14A0B4; Wed, 27 Mar 2024 15:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553138; cv=none; b=fByThnwIj1mQXhkWbqcjwAIG3WDSxtnFafGGI4R0vlHAHGOHYcubQ0Y+lb0XL/oINnX1qRXC14ggQucSufz1awEfyeBODkRG+6OxB3ZOS5FUZt6vrZ7oau+Jk3fUMkhdxufdlnpN2ooGkzNFR9Qdyke5Qqv39e8mpYvUVbqGSXU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553138; c=relaxed/simple; bh=HXxGyYs0zg9MvmwQmo/FM9aZyeFLcxqwQu3YQVRdxZw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=EPrlI+lPwMPdrpR4s65hYB8x4Lab2FNdeBSqG0h3gygzs8s+V5MmENvuN9QJT63oy33lKhyF8PLTjd/2syXDwJeo8K7tcaEdN5vsmugsoQAqAZx1nwePcMNfqAYIxK9W7Pu4KbSUmAXvKhjS0CxaKTEyCuzvnnj7CIBwbipNsdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R2KYClsI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E717C43390; Wed, 27 Mar 2024 15:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711553137; bh=HXxGyYs0zg9MvmwQmo/FM9aZyeFLcxqwQu3YQVRdxZw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=R2KYClsIRScmJ/cKKxoS5swCi1tsAyfZSyP+rZdJS/EGlh7hm65GHmer/OZer4VXA cR8OxRcPSNnUBmD2NRkIWX4jRSIVLSNWfjG+fZ0Iu9G1G0yqvJkxU7q8Fn9c7tHRJm 5CsaMNOilcdgDpyU5i59zJ4JJ/OFp3tRChChyI9Dw0b7NTLVmyVGxWKGiw9f94uB2g MNHiMW+/coaVZcJoAk+8Q9cMWpx2wJ5trKoVUH6iVbn24okAAQESZ1cOKqC3NS8dpD sXuT4UZPXe8iUk5nT0jRBSCon47w/sY3AXrvExeNmB4GI3vzUppZ+nrHv72QB7xIjL c+dRWYx96XN2w== Date: Wed, 27 Mar 2024 10:25:35 -0500 From: Bjorn Helgaas To: "Rafael J. Wysocki" Cc: Len Brown , Pavel Machek , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH] Documentation: PM: Update platform_pci_wakeup_init() reference Message-ID: <20240327152535.GA1523374@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Mar 27, 2024 at 04:23:41PM +0100, Rafael J. Wysocki wrote: > On Mon, Mar 25, 2024 at 11:11 PM Bjorn Helgaas wrote: > > > > From: Bjorn Helgaas > > > > platform_pci_wakeup_init() was removed by d2e5f0c16ad6 ("ACPI / PCI: Rework > > the setup and cleanup of device wakeup") but was still mentioned in the > > documentation. > > > > Update the doc to refer to pci_acpi_setup(), which does the equivalent > > work. > > > > Signed-off-by: Bjorn Helgaas > > --- > > > > pci_acpi_setup() is a firmware-specific wart in this otherwise generic > > paragraph, so maybe there's some better way to express this? > > > > Documentation/power/pci.rst | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/power/pci.rst b/Documentation/power/pci.rst > > index 12070320307e..e2c1fb8a569a 100644 > > --- a/Documentation/power/pci.rst > > +++ b/Documentation/power/pci.rst > > @@ -333,7 +333,7 @@ struct pci_dev. > > The PCI subsystem's first task related to device power management is to > > prepare the device for power management and initialize the fields of struct > > pci_dev used for this purpose. This happens in two functions defined in > > -drivers/pci/pci.c, pci_pm_init() and platform_pci_wakeup_init(). > > +drivers/pci/, pci_pm_init() and pci_acpi_setup(). > > > > The first of these functions checks if the device supports native PCI PM > > and if that's the case the offset of its power management capability structure > > -- > > Applied as 6.10 material, or if you'd rather take it to the PCI tree, > please let me know. Thanks, your tree is fine! Bjorn