aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/acpi/cpu_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/arch/x86/acpi/cpu_idle.c')
-rw-r--r--xen/arch/x86/acpi/cpu_idle.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c
index b4dd6ad9e3..f9d74d69e4 100644
--- a/xen/arch/x86/acpi/cpu_idle.c
+++ b/xen/arch/x86/acpi/cpu_idle.c
@@ -1042,7 +1042,10 @@ long set_cx_pminfo(uint32_t cpu, struct xen_processor_power *power)
cpu_id = get_cpu_id(cpu);
if ( cpu_id == -1 )
{
- printk(XENLOG_ERR "no cpu_id for acpi_id %d\n", cpu);
+ static bool_t warn_once = 1;
+ if ( warn_once || opt_cpu_info )
+ printk(XENLOG_WARNING "No CPU ID for APIC ID %#x\n", cpu);
+ warn_once = 0;
return -EINVAL;
}