|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 06/11] x86/intel_pstate: the main boby of the intel_pstate driver
On 11/06/2015 21:41, Wang, Wei W wrote: On 11/06/2015 22:02, Julien Grall wrote:On 11/06/2015 04:27, Wei Wang wrote:diff --git a/xen/include/acpi/cpufreq/cpufreq.hb/xen/include/acpi/cpufreq/cpufreq.h Well we are planning to move cpufreq.h out of acpi in order to use for device tree based platform. Most of these declaration is common. Although any x86 specific function would have to go out in a separate header. Please avoid to add new one when it's possible. I don't see why a new asm-x86/cpufreq.h can't be added...
After looking to this series, this statement looks wrong to me... You are using all these defines in the common cpufreq code (parameters, pmstat,...). The cpufreq framework should be agnostic to any cpufreq driver implementation. So it looks like to me that we want CPUFREQ_* to be exposed for anyone. And specifying the behavior when policy = 0 would be great too rather than relying on a future developer to not define 0. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |