Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111046414
D48352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D48352.diff
View Options
Index: sys/dev/pci/pci.c
===================================================================
--- sys/dev/pci/pci.c
+++ sys/dev/pci/pci.c
@@ -411,10 +411,10 @@
* Some x86 firmware only enables PCIe hotplug if we claim to support aspm,
* however enabling it breaks some arm64 firmware as it powers off devices.
*/
-#if defined(__i386__) || defined(__amd64__)
-int pci_enable_aspm = 1;
-#else
+#if defined(__aarch64__)
int pci_enable_aspm = 0;
+#else
+int pci_enable_aspm = 1;
#endif
SYSCTL_INT(_hw_pci, OID_AUTO, enable_aspm, CTLFLAG_RDTUN, &pci_enable_aspm,
0, "Enable support for PCIe Active State Power Management");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 4:14 PM (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16871213
Default Alt Text
D48352.diff (632 B)
Attached To
Mode
D48352: pci: Limit ASPM disable to ARM64
Attached
Detach File
Event Timeline
Log In to Comment