|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Add option "xen_processor_pm" in xen to e
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209634858 -3600
# Node ID 74cae5c11f0a2fb81212b52b7a7b38b599fe2ac2
# Parent 5bb9093eb0e9abfcf8537148ba088fd2604e5737
Add option "xen_processor_pm" in xen to enable dom0 external Cx control.
Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
xen/arch/x86/setup.c | 7 +++++++
1 files changed, 7 insertions(+)
diff -r 5bb9093eb0e9 -r 74cae5c11f0a xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Thu May 01 10:40:01 2008 +0100
+++ b/xen/arch/x86/setup.c Thu May 01 10:40:58 2008 +0100
@@ -93,6 +93,11 @@ boolean_param("acpi_skip_timer_override"
/* noapic: Disable IOAPIC setup. */
extern int skip_ioapic_setup;
boolean_param("noapic", skip_ioapic_setup);
+
+/* **** Linux config option: propagated to domain0. */
+/* xen_processor_pm: xen control cstate. */
+static int xen_processor_pm;
+boolean_param("xen_processor_pm", xen_processor_pm);
int early_boot = 1;
@@ -1008,6 +1013,8 @@ void __init __start_xen(unsigned long mb
safe_strcat(dom0_cmdline, " acpi=");
safe_strcat(dom0_cmdline, acpi_param);
}
+ if ( xen_processor_pm && !strstr(dom0_cmdline,
"xen_processor_pmbits=") )
+ safe_strcat(dom0_cmdline, " xen_processor_pmbits=1");
cmdline = dom0_cmdline;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Add option "xen_processor_pm" in xen to enable dom0 external Cx control.,
Xen patchbot-unstable <=
|
|
|
|
|