xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Failure to Parse and Load C-States
@ 2013-01-03 18:53 Tom Goetz
  2013-01-04 21:16 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Goetz @ 2013-01-03 18:53 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, xen-devel; +Cc: Ben Guthro

Konrad,

We're seeing a failure where c-states are not parsed and loaded to the hypervisor.

What is happening is when the following calls happen, there are no c-states in the per CPU data.

[    1.954368]  [<ffffffff8157840e>] push_cxx_to_hypervisor+0x1a5/0x2d5
[    1.954374]  [<ffffffff815785ab>] upload_pm_data+0x6d/0xa2
[    1.954380]  [<ffffffff81afe101>] xen_acpi_processor_init+0x3c3/0x488

It looks like the c-state parsing should have happened in acpi_processor_power_init but didn't because of the following check at the top:

        if (disabled_by_idle_boot_param())
                return 0;

The preceding is true because boot_option_idle_override is set to IDLE_HALT by arch/x86/xen/setup.c xen_arch_setup.

Is the Xen version of acpi_processor supposed to do it's own c-state parsing or rely on the base acpi_processor c-state parsing? I'm assuming Xen sets IDLE_HALT to stop runtime usage of Linux c-state management, but it also stops parsing c-states.

Linux: 3.2.23
Xen: 4.0.4

Thanks for any help,

Tom Goetz

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-10 15:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 18:53 Failure to Parse and Load C-States Tom Goetz
2013-01-04 21:16 ` Konrad Rzeszutek Wilk
2013-01-08 20:05   ` Ben Guthro
2013-01-09 21:11   ` Tom Goetz
2013-01-09 21:55     ` Konrad Rzeszutek Wilk
2013-01-09 22:00       ` Sander Eikelenboom
2013-01-10 15:58         ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).