Re: [PATCH 1/2] CPUFREQ: Enable acpi-cpufreq driver for VIA/Centaur CPUs

Matthew Garrett
2009-06-08T14:58:29Z

On Mon, Jun 08, 2009 at 09:25:09AM -0500, Michael S. Zick wrote:
> On Mon June 8 2009, Harald Welte wrote:
> > The VIA/Centaur C7, C7-M and Nano CPU's all support ACPI based cpu p-states
> > using a MSR interface. The Linux driver just never made use of it, since in
> > addition to the check for the EST flag it also checked if the vendor is Intel.
> >
>
> It looks like we should modify (conditional on ...MVIAC7 at build, model='d' runtime)
> the acpi-cpufreq controls to deal properly with the Model-D adaptive controller.

Can't make it build-time dependent - distribution kernels may not
explicitly support the C7. It's valid to have a vendor=centaur
conditional that turns off any adaptive control if appropriate ACPI
methods are present.

--
Matthew Garrett | mjg59@srcf.ucam.org