+ pci-enable-aspm-state-clearing-regardless-of-policy.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     pci: enable ASPM state clearing regardless of policy
has been added to the -mm tree.  Its filename is
     pci-enable-aspm-state-clearing-regardless-of-policy.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: pci: enable ASPM state clearing regardless of policy
From: Alex Williamson <alex.williamson@xxxxxxxxxx>

Commit 2f671e2d ("PCI: Disable ASPM if BIOS asks us to") allowed us to
clear ASPM state when the FADT tells us it isn't supported, but we don't
put this into effect if the aspm_policy is set to POLICY_POWERSAVE. 
Enable the state to be cleared regardless of policy.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Cc: Matthew Garrett <mjg@xxxxxxxxxx>
Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/pci/pcie/aspm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/pci/pcie/aspm.c~pci-enable-aspm-state-clearing-regardless-of-policy drivers/pci/pcie/aspm.c
--- a/drivers/pci/pcie/aspm.c~pci-enable-aspm-state-clearing-regardless-of-policy
+++ a/drivers/pci/pcie/aspm.c
@@ -608,7 +608,7 @@ void pcie_aspm_init_link_state(struct pc
 	 * the BIOS's expectation, we'll do so once pci_enable_device() is
 	 * called.
 	 */
-	if (aspm_policy != POLICY_POWERSAVE) {
+	if (aspm_policy != POLICY_POWERSAVE || aspm_clear_state) {
 		pcie_config_aspm_path(link);
 		pcie_set_clkpm(link, policy_to_clkpm_state(link));
 	}
_

Patches currently in -mm which might be from alex.williamson@xxxxxxxxxx are

linux-next.patch
pci-enable-aspm-state-clearing-regardless-of-policy.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux