2002-12-14 11:47:47

by Margit Schubert-While

[permalink] [raw]
Subject: 2.5.51 cpufeatures.h

Somewhat confused.
In include/asm-i386/cpufeature.h we have:
--snip--
#define X86_FEATURE_XMM2 (0*32+26) /* Streaming SIMD Extensions-2 */
#define X86_FEATURE_SELFSNOOP (0*32+27) /* CPU self snoop */
#define X86_FEATURE_HT (0*32+28) /* Hyper-Threading */
#define X86_FEATURE_ACC (0*32+29) /* Automatic clock control
*/ <---- ******
#define X86_FEATURE_IA64 (0*32+30) /* IA-64 processor */
--end snip--

According to Intel specs, bit 29 is :
" TM Thermal Monitor The processor implements the thermal monitor automatic
thermal control circuitry (TMM)"

The (wrong?) FEATURE ACC is used in
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/mcheck/p4.c

Margit


2002-12-14 17:20:30

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: 2.5.51 cpufeatures.h

On Sat, 14 Dec 2002, Margit Schubert-While wrote:

> Somewhat confused.
> In include/asm-i386/cpufeature.h we have:
> --snip--
> #define X86_FEATURE_XMM2 (0*32+26) /* Streaming SIMD Extensions-2 */
> #define X86_FEATURE_SELFSNOOP (0*32+27) /* CPU self snoop */
> #define X86_FEATURE_HT (0*32+28) /* Hyper-Threading */
> #define X86_FEATURE_ACC (0*32+29) /* Automatic clock control
> */ <---- ******
> #define X86_FEATURE_IA64 (0*32+30) /* IA-64 processor */
> --end snip--
>
> According to Intel specs, bit 29 is :
> " TM Thermal Monitor The processor implements the thermal monitor automatic
> thermal control circuitry (TMM)"
>
> The (wrong?) FEATURE ACC is used in
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
> arch/i386/kernel/cpu/mcheck/p4.c

They are synonymous.

--
function.linuxpower.ca

2002-12-14 17:17:39

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.51 cpufeatures.h

On Sat, Dec 14, 2002 at 12:55:55PM +0100, Margit Schubert-While wrote:
> #define X86_FEATURE_ACC (0*32+29) /* Automatic clock control
>
> According to Intel specs, bit 29 is :
> " TM Thermal Monitor The processor implements the thermal monitor
> automatic
> thermal control circuitry (TMM)"
>
> The (wrong?) FEATURE ACC is used in
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
> arch/i386/kernel/cpu/mcheck/p4.c

Its just different terminology for the same thing.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs