Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2011 21:32:30 +0200
From:      "K. Macy" <kmacy@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>, Arnaud Lacombe <lacombar@gmail.com>
Subject:   Re: 9.0-BETA2 do not support SpeedStep on E5420
Message-ID:  <CAHM0Q_PgPKi2R-wVkNi1HeNbU5KGf7H_LcUZPni6Je7=iWo8eQ@mail.gmail.com>
In-Reply-To: <4E72505B.30700@FreeBSD.org>
References:  <CACqU3MWNgq4RkBu7-eUON20CWdfO38KbM-8hR0AnFV-mn_=-7A@mail.gmail.com> <4E72505B.30700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 15, 2011 at 9:22 PM, Andriy Gapon <avg@freebsd.org> wrote:
> on 15/09/2011 19:20 Arnaud Lacombe said the following:
>> est0: failed to enable SpeedStep
>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>> est1: failed to enable SpeedStep
>> p4tcc1: <CPU Frequency Thermal Control> on cpu1
>> est2: failed to enable SpeedStep
>> p4tcc2: <CPU Frequency Thermal Control> on cpu2
>> est3: failed to enable SpeedStep
>> p4tcc3: <CPU Frequency Thermal Control> on cpu3
>> est4: failed to enable SpeedStep
>> p4tcc4: <CPU Frequency Thermal Control> on cpu4
>> est5: failed to enable SpeedStep
>> p4tcc5: <CPU Frequency Thermal Control> on cpu5
>> est6: failed to enable SpeedStep
>> p4tcc6: <CPU Frequency Thermal Control> on cpu6
>> est7: failed to enable SpeedStep
>> p4tcc7: <CPU Frequency Thermal Control> on cpu7
>>
>> It feels strange that the latest FreeBSD do not support est(4) on a 3
>> years old CPU...
>
> Somehow I do not read "failed to enable" as "can not detect" or "can not
> support" SpeedStep on this CPU.


sys/x86/cpufreq/est.c:1008

	/* Attempt to enable SpeedStep if not currently enabled. */
	msr = rdmsr(MSR_MISC_ENABLE);
	if ((msr & MSR_SS_ENABLE) == 0) {
		wrmsr(MSR_MISC_ENABLE, msr | MSR_SS_ENABLE);
		if (bootverbose)
			device_printf(dev, "enabling SpeedStep\n");

		/* Check if the enable failed. */
		msr = rdmsr(MSR_MISC_ENABLE);
		if ((msr & MSR_SS_ENABLE) == 0) {
			device_printf(dev, "failed to enable SpeedStep\n");
			return (ENXIO);
		}
	}


Andriy -

He is correct. Possibly power management on server processors isn't
considered a priority by the maintainer.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_PgPKi2R-wVkNi1HeNbU5KGf7H_LcUZPni6Je7=iWo8eQ>