* [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched
@ 2024-04-29 19:18 Bjorn Helgaas
2024-05-01 20:07 ` David E. Box
2024-05-03 16:46 ` Bjorn Helgaas
0 siblings, 2 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2024-04-29 19:18 UTC (permalink / raw)
To: linux-pci
Cc: Vidya Sagar, Ilpo Järvinen, Maciej W . Rozycki,
David E . Box, Johan Hovold, Heiner Kallweit, Ajay Agarwal,
linux-kernel, Bjorn Helgaas
From: Bjorn Helgaas <bhelgaas@google.com>
Previously we claimed "pcie_aspm=off" meant that ASPM would be disabled,
which is wrong.
Correct this to say that with "pcie_aspm=off", Linux doesn't touch any ASPM
configuration at all. ASPM may have been enabled by firmware, and that
will be left unchanged. See "aspm_support_enabled".
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
Documentation/admin-guide/kernel-parameters.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index bb884c14b2f6..4bc281d6e8d3 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -4590,9 +4590,10 @@
norid [S390] ignore the RID field and force use of
one PCI domain per PCI function
- pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
+ pcie_aspm= [PCIE] Forcibly enable or ignore PCIe Active State Power
Management.
- off Disable ASPM.
+ off Don't touch ASPM configuration at all. Leave any
+ configuration done by firmware unchanged.
force Enable ASPM even on devices that claim not to support it.
WARNING: Forcing ASPM on may cause system lockups.
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched
2024-04-29 19:18 [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched Bjorn Helgaas
@ 2024-05-01 20:07 ` David E. Box
2024-05-03 16:46 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: David E. Box @ 2024-05-01 20:07 UTC (permalink / raw)
To: Bjorn Helgaas, linux-pci
Cc: Vidya Sagar, Ilpo Järvinen, Maciej W . Rozycki, Johan Hovold,
Heiner Kallweit, Ajay Agarwal, linux-kernel, Bjorn Helgaas
On Mon, 2024-04-29 at 14:18 -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> Previously we claimed "pcie_aspm=off" meant that ASPM would be disabled,
> which is wrong.
>
> Correct this to say that with "pcie_aspm=off", Linux doesn't touch any ASPM
> configuration at all. ASPM may have been enabled by firmware, and that
> will be left unchanged. See "aspm_support_enabled".
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
LGTM.
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt
> b/Documentation/admin-guide/kernel-parameters.txt
> index bb884c14b2f6..4bc281d6e8d3 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -4590,9 +4590,10 @@
> norid [S390] ignore the RID field and force use of
> one PCI domain per PCI function
>
> - pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State
> Power
> + pcie_aspm= [PCIE] Forcibly enable or ignore PCIe Active State
> Power
> Management.
> - off Disable ASPM.
> + off Don't touch ASPM configuration at all. Leave any
> + configuration done by firmware unchanged.
> force Enable ASPM even on devices that claim not to support
> it.
> WARNING: Forcing ASPM on may cause system lockups.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched
2024-04-29 19:18 [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched Bjorn Helgaas
2024-05-01 20:07 ` David E. Box
@ 2024-05-03 16:46 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2024-05-03 16:46 UTC (permalink / raw)
To: linux-pci
Cc: Vidya Sagar, Ilpo Järvinen, Maciej W . Rozycki,
David E . Box, Johan Hovold, Heiner Kallweit, Ajay Agarwal,
linux-kernel, Bjorn Helgaas
On Mon, Apr 29, 2024 at 02:18:21PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> Previously we claimed "pcie_aspm=off" meant that ASPM would be disabled,
> which is wrong.
>
> Correct this to say that with "pcie_aspm=off", Linux doesn't touch any ASPM
> configuration at all. ASPM may have been enabled by firmware, and that
> will be left unchanged. See "aspm_support_enabled".
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Applied with David's Reviewed-by to for-linus for v6.9, thanks, David!
> ---
> Documentation/admin-guide/kernel-parameters.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index bb884c14b2f6..4bc281d6e8d3 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -4590,9 +4590,10 @@
> norid [S390] ignore the RID field and force use of
> one PCI domain per PCI function
>
> - pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power
> + pcie_aspm= [PCIE] Forcibly enable or ignore PCIe Active State Power
> Management.
> - off Disable ASPM.
> + off Don't touch ASPM configuration at all. Leave any
> + configuration done by firmware unchanged.
> force Enable ASPM even on devices that claim not to support it.
> WARNING: Forcing ASPM on may cause system lockups.
>
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-03 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 19:18 [PATCH] PCI/ASPM: Clarify that pcie_aspm=off means leave ASPM untouched Bjorn Helgaas
2024-05-01 20:07 ` David E. Box
2024-05-03 16:46 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox