aesni module with AMD CPUs?

Konstantin Belousov kostikbel at gmail.com
Sat Feb 4 12:49:58 UTC 2012


On Sat, Feb 04, 2012 at 10:52:03AM +0100, Mario Fleischmann wrote:
> Hi Konstantin,
> I hope you don't mind me writing to you directly, but I'm having a hard 
> time finding information on Google.
You would get much higher chances of getting response if you post on the
public list Cc:ing corresponding developer. Since the question seemingly
not contain any sensitive information, and discussion may be useful to
the wider audience, I added appropriate ml to Cc:.

> 
> I'm currently in the market for a new system, and I need AES-NI 
> acceleration with FreeBSD 9.0. I'd like to buy an AMD-FX 4100 CPU, which 
> supports the AES-NI instruction set.
Do you have a reference to the CPU datasheet or programming manual ?

> 
> What I'd like to know is: Does the aesni driver in FreeBSD also support 
> AMD CPUs? The man page explicitly states the driver is for Intel CPUs, 
> but since the AES-NI instruction set is licensed by AMD, I think it 
> should also work with those CPUs?
The aesni(4) driver attaches on any CPU that reports AESNI support through
the CPUID instruction. If amd implemented bit-to-bit compatible AESNI
instruction set and report the capability in CPUID, driver shall just work.

I never saw any bulldozer live, so this is the most I can answer to you.

> 
> 
> A reply would be greatly appreciated,
> 
> Best Regards,
> Mario
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20120204/8a1e6102/attachment.pgp


More information about the freebsd-amd64 mailing list