Author: mav
Date: Fri Aug  7 18:40:56 2020
New Revision: 364038
URL: https://svnweb.freebsd.org/changeset/base/364038

Log:
  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.
  
  MFC after:    3 months

Modified:
  head/sys/dev/pci/pci.c

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c      Fri Aug  7 18:38:10 2020        (r364037)
+++ head/sys/dev/pci/pci.c      Fri Aug  7 18:40:56 2020        (r364038)
@@ -408,7 +408,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");
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to