svn commit: r367359 - stable/12/sys/dev/pci

Alexander Motin mav at FreeBSD.org
Thu Nov 5 02:57:40 UTC 2020


Author: mav
Date: Thu Nov  5 02:57:40 2020
New Revision: 367359
URL: https://svnweb.freebsd.org/changeset/base/367359

Log:
  MFC r364038: Enable hw.pci.enable_aspm tunable by default.
  
  While effects on power saving is only a guess, effects on hot-plug are
  clearly visible.  Lets try to enable it and see what happen.

Modified:
  stable/12/sys/dev/pci/pci.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/pci/pci.c
==============================================================================
--- stable/12/sys/dev/pci/pci.c	Thu Nov  5 02:12:33 2020	(r367358)
+++ stable/12/sys/dev/pci/pci.c	Thu Nov  5 02:57:40 2020	(r367359)
@@ -411,7 +411,7 @@ static int pci_enable_ari = 1;
 SYSCTL_INT(_hw_pci, OID_AUTO, enable_ari, CTLFLAG_RDTUN, &pci_enable_ari,
     0, "Enable support for PCIe Alternative RID Interpretation");
 
-int pci_enable_aspm;
+int pci_enable_aspm = 1;
 SYSCTL_INT(_hw_pci, OID_AUTO, enable_aspm, CTLFLAG_RDTUN, &pci_enable_aspm,
     0, "Enable support for PCIe Active State Power Management");
 


More information about the svn-src-all mailing list