* [PATCH] ACPI: Set \_SB.OSC capbility bit to evaluate _OST for _PPC change notification
@ 2010-01-08 13:29 yakui.zhao
2010-01-16 4:05 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: yakui.zhao @ 2010-01-08 13:29 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi, Zhao Yakui
From: Zhao Yakui <yakui.zhao@intel.com>
Set the capability bit for \_SB.OSC object to add the support of
evaluating the _OST object as result of _PPC change notification
event.
At the same time it also adds the support of aggregator device
when the aggregator is compiled as module.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
---
drivers/acpi/bus.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index ae9226d..b70cd37 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -490,9 +490,14 @@ static void acpi_bus_osc_support(void)
capbuf[OSC_QUERY_TYPE] = OSC_QUERY_ENABLE;
capbuf[OSC_SUPPORT_TYPE] = OSC_SB_PR3_SUPPORT; /* _PR3 is in use */
-#ifdef CONFIG_ACPI_PROCESSOR_AGGREGATOR
+#if defined(CONFIG_ACPI_PROCESSOR_AGGREGATOR) ||\
+ defined(CONFIG_ACPI_PROCESSOR_AGGREGATOR_MODULE)
capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PAD_SUPPORT;
#endif
+
+#if defined(CONFIG_ACPI_PROCESSOR) || defined(CONFIG_ACPI_PROCESSOR_MODULE)
+ capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PPC_OST_SUPPORT;
+#endif
if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)))
return;
if (ACPI_SUCCESS(acpi_run_osc(handle, &context)))
--
1.5.4.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: Set \_SB.OSC capbility bit to evaluate _OST for _PPC change notification
2010-01-08 13:29 [PATCH] ACPI: Set \_SB.OSC capbility bit to evaluate _OST for _PPC change notification yakui.zhao
@ 2010-01-16 4:05 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2010-01-16 4:05 UTC (permalink / raw)
To: Zhao Yakui; +Cc: linux-acpi
applied
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-16 4:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08 13:29 [PATCH] ACPI: Set \_SB.OSC capbility bit to evaluate _OST for _PPC change notification yakui.zhao
2010-01-16 4:05 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox