[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Append 'nohpet' in dom0 cmdline to prevent dom0 from using HPET
Append 'nohpet' in dom0 cmdline to prevent dom0 from using HPET Xen is using HPET to wakeup cpu from deep c-states, so the HPET usage in dom0 must be fobidden. In 2.6.18-xen, the HPET was by default disabled in config file. For upstream kernel built for pv dom0, it is not practical to disable dom0 HPET usage in that way because the same image may be also using as bare metal kernerl. So add cmdline option to do this thing for dom0. Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx> diff -r 9ba855e57afb xen/arch/x86/setup.c --- a/xen/arch/x86/setup.c Tue Sep 29 20:56:30 2009 +0800 +++ b/xen/arch/x86/setup.c Tue Oct 13 22:32:13 2009 +0800 @@ -1106,6 +1106,7 @@ void __init __start_xen(unsigned long mb safe_strcat(dom0_cmdline, " acpi="); safe_strcat(dom0_cmdline, acpi_param); } + safe_strcat(dom0_cmdline, " nohpet"); cmdline = dom0_cmdline; } Attachment:
disable-dom0-hpet.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |