Re: AES NI vs BIOS settings

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Mon, 31 May 2010 11:34:50 +0300
On Sun, May 30, 2010 at 10:55:39PM -0700, Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi,
> 
> I just found that if I disable "AES NI" in BIOS setting, FreeBSD would
> be able to detect it on boot with:
> 
> Features2=0x29ee3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,<b17>,DCA,SSE4.1,SSE4.2,POPCNT,AESNI>
> 
> However if it's set to "enabled" I got:
> 
> Features2=0x9ee3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,<b17>,DCA,SSE4.1,SSE4.2,POPCNT>
> 
> The CPU was Xeon L5630 and motherboard is Supermicro X8STi with BIOS
> 1.00c.  Should I consider this a BIOS issue with known workaround that I
> consider "Disable" as "Enabled"? :)

On the only machine with AESNI-capable Core i5 I have access to thanks
to Sentex Communications, AESNI bit is reported as 1 and aesni instructions
do work.

You could try to actually use aesni and see what is broken. I failed to
find a magic bit to enable/disable AESNI in the MSRs.

Received on Mon May 31 2010 - 06:35:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC