Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103076316
D36699.id111455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D36699.id111455.diff
View Options
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -396,6 +396,17 @@
*/
if (!acpi_disabled("mwait") && cpu_mwait_usable())
sc->cpu_features |= ACPI_CAP_SMP_C1_NATIVE | ACPI_CAP_SMP_C3_NATIVE;
+
+ /*
+ * Work around a lingering SMM bug which leads to freezes when handling
+ * CPPC notifications. Tell the SMM we will handle any CPPC notifications.
+ */
+ int cppcval = 0;
+ if ((cpu_power_eax & CPUTPM1_HWP_NOTIFICATION) &&
+ (resource_int_value("acpi", 0, "nocppcworkaround", &cppcval) != 0
+ || cppcval == 0)) {
+ sc->cpu_features |= ACPI_CAP_INTR_CPPC;
+ }
#endif
if (devclass_get_drivers(device_get_devclass(dev), &drivers,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 3:17 PM (54 m, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14763270
Default Alt Text
D36699.id111455.diff (772 B)
Attached To
Mode
D36699: acpi: Tell SMM we will handle CPPC notifications
Attached
Detach File
Event Timeline
Log In to Comment