Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 07:55:01 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        freebsd-hackers@freebsd.org, Andriy Gapon <avg@freebsd.org>
Subject:   Re: new cpuid bits
Message-ID:  <201011220755.01894.jhb@freebsd.org>
In-Reply-To: <4CE69A49.4080801@freebsd.org>
References:  <4CE69A49.4080801@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, November 19, 2010 10:39:53 am Andriy Gapon wrote:
> 
> Guys,
> 
> I would like to add definitions for couple more useful CPUID bits, but I am
> greatly confused about how to name them.
> I failed to deduce the naming convention from the existing definitions and I am
> not sure how to make the names proper and descriptive.
> 
> The bits in question are returned by CPUID.6 in EAX and ECX.
> CPUID.6 block is described by both AMD and Intel as "Thermal and Power Management
> (Leaf)".  Bits in EAX are defined only for Intel at present, the bit in ECX is
> defined for both.
> 
> Description/naming of the bits from the specifications:
> EAX[0]: Digital temperature sensor is supported if set
> EAX[1]: Intel Turbo Boost Technology Available
> EAX[2]: ARAT. APIC-Timer-always-running feature is supported if set.
> ECX[0]:
>   Intel: Hardware Coordination Feedback Capability (Presence of Bits MCNT and ACNT
> MSRs).
>   AMD:  EffFreq: effective frequency interface.
> 
> How does the following look to you?
> I will appreciate suggestions/comments.

Looks fine to me.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011220755.01894.jhb>