[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <460C5D24.608@us.ibm.com>
Date: Thu, 29 Mar 2007 17:43:16 -0700
From: "Darrick J. Wong" <djwong@...ibm.com>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>
CC: linux-kernel@...r.kernel.org
Subject: Dependent CPU core speed reporting not updated with CPUFREQ_SHARED_TYPE_HW?
Hi Venki,
I have a dual-Woodcrest machine here with _PSD tables that specify that
cpufreq coordination between cores is done in hardware with
DOMAIN_COORD_TYPE_HW_ALL. On this particular machine, CPU 0 and CPU 2
are on the same package, and it looks like they have to be at the same
frequency.
However, it seems that acpi_cpufreq_cpu_init() only sets policy->cpus to
the shared cpu mask if software coordination is required. While this
does have the effect of letting the hardware do its coordination job as
advertised, it also means that a frequency change to CPU0 doesn't get
echoed to CPU2 as it should be, and affected_cpus is inaccurate.
This seems like a bug to me. I can whip up a patch to set the policy
cpu mask in all cases and neuter all but one of the MSR/PCT writes if HW
coordination is desired so that HW coordination is preserved and sysfs
is accurate, but I'm curious to know if I've gotten it right.
--D
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists