Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2973443lqp; Mon, 25 Mar 2024 15:11:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9YBQgjIvwCBSzUhf3yvmaN0kE+PhFH6/Ix2qiyynY8bguuzmQw2Tf0dYVVzn1TxvDnff0JtS1whkpVo5tZ06i4OFUyHSeME/9fZUdgA== X-Google-Smtp-Source: AGHT+IEeSjty+fMdVhGH4vVQTQZ6kdtA4u0jISj8JVy+sQx2ILVrEtdNznY5u7hgCRYYR0jnGIux X-Received: by 2002:a67:e3ca:0:b0:476:8f68:452f with SMTP id k10-20020a67e3ca000000b004768f68452fmr1098482vsm.3.1711404672703; Mon, 25 Mar 2024 15:11:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711404672; cv=pass; d=google.com; s=arc-20160816; b=WyiMGlR+SLrQ9X4Lm6Xq8QVciOkW/h5F+OFuNtwYrhQXWOrSfIhhZi2n14/Yi2z9xP ns5y75tUNAC3UePFdqqbEuJ0HiP0l+rIubotRNU/iOB/E6Ha/+FUwxy0GWOmTEbt4r2o OBHdtw8oWUIKVXMgR8hw5w1rkOMaaD3tmW53I/NpaN8pJGe1SLVMmqTg0Hasj3MfKeEN RPOCVaKw1vXL6nMyekbwUytxB3M26dMAvxeRfVgEwgMQpO3yHGo7r8H3w1mg9+Y0jbnE q/gs6FnZdOtRPgAJW5wK8vOBBiV2k7Z4X/JVQAqo735cEkbsDs453pUe2JAdP6/G2cfb 0i3w== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=urCP+ZhPf5BqOYGMBlxlGxsSkE+pGb41nWg66CW8Wig=; fh=6Sfvjpyv9z8KZ6GuuqU2mM2W/GHdmA5TuIiITLULSBQ=; b=xM8Vqor7DzBWDWVyA5LBMQMRUtwi/91mmiGG8tMoYbXSMver6DUEeTeym0xDLtYzHD bLJauUd9I8i4OM8EEqzNwPzw4nyIun76/0JxOrDM0q48p3p2sEd9WhwZ61FY/T9TkQ93 MCz2cnZf/OFpEazGfMdpcwCgaDjw+KcH1RGS6BNifs5Rlvv6KBFO43w2ZvIQ+TcbkXGM ibGSZGcnma5yWcq7+ukhNmo+WjqB7ZHX2i1k8r93/Of+PCSju7t7tT+Jn01ReVUAZfZQ DDMIb5E8MF77upW3yA+Q5Mgru+OPCO/85wZWazAeHCWnYWq1V50gk+Two2Cle8Hm49hs wR5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DIt7/30A"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118087-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gw6-20020a0562140f0600b0068cc0945defsi7451363qvb.318.2024.03.25.15.11.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 15:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DIt7/30A"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118087-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 6F1031C3C98A for ; Mon, 25 Mar 2024 22:11:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 428D77175F; Mon, 25 Mar 2024 22:11:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DIt7/30A" 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 66CF15D737; Mon, 25 Mar 2024 22:11:05 +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=1711404665; cv=none; b=qEdoCYZEndMCNKoprMYzPEK94zvf0o7SLDe9zfFNmrg2Ez07AbEHnwAzjp3SwQMdGd0aEKgatGU3p8Wnuurord7DNHx3QcwLytSDSI1lZDNe1UjJINObe3abEMcEmGdJR/ZcS2JjdNYNDkwuvae82Ifta9eC0w5cy7Rcfp/syL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711404665; c=relaxed/simple; bh=wMUjV0++fHWKNqMEBLYMOOBBH0T2phMvx1BShL5sYM4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Kl/uCiNmljZGJcvfUGLb69dKcOw9OqgBnDoANsuLEwSY9ug5R0UpVeCWLwdSs8y1V65vCbuuHMJV6NzyoLUs84T7OHO8hesGdgwpgsOLmUEcE3jWzkdQhGy1G4QbNYgK+AP96j46KjeN0RCcxJGZ/xBNGSGnQplairGsohCl1fA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DIt7/30A; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD51EC433F1; Mon, 25 Mar 2024 22:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711404665; bh=wMUjV0++fHWKNqMEBLYMOOBBH0T2phMvx1BShL5sYM4=; h=From:To:Cc:Subject:Date:From; b=DIt7/30AHXLnKyiIfIO6YizhTDrl7YBbnyiySR4eYYWh0GNM1sMRJMtEyF3TTFC+o SZyRhs/3xAPdeTitNf8LLHGKqQgNn9rgCR+7/EsUrgjN182ZRBdFQXFYXPoVswgIrA KOC8knMyQgVn5ZPE01Xh9urFh3uKzh5/YXtteytkFT5FjUgRIjIJAa6vGp563g8PO6 z7koDb96JjW8zqwKwrjkZ9D7YLmTFw50d+qFfrcTb4ow8wpxlBqr1U7uCeu9+4St4G A3mMakmcJKJBUYDrC3+WsmVt+/BmCdgv91D4/YmVJUzzlICFhMMcbdeHrlqXuSoEpL YmO7aa6MsND1g== From: Bjorn Helgaas To: "Rafael J . Wysocki" , Len Brown , Pavel Machek Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH] Documentation: PM: Update platform_pci_wakeup_init() reference Date: Mon, 25 Mar 2024 17:09:53 -0500 Message-Id: <20240325220952.1453477-1-helgaas@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -- 2.34.1