Date: Sat, 04 Feb 2012 14:10:25 +0100 From: =?UTF-8?Q?G=C3=B3t_Andr=C3=A1s?= <andrej@antiszoc.hu> To: <freebsd-amd64@freebsd.org> Subject: Re: aesni module with AMD CPUs? Message-ID: <7e0e01cc2b957c417a3f69232b33ebe0@antiszoc.hu> In-Reply-To: <20120204124952.GK3283@deviant.kiev.zoral.com.ua> References: <4F2CFFC3.30909@gurgelmail.com> <20120204124952.GK3283@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, This is from a Linux machine: processor : 15 vendor_id : AuthenticAMD cpu family : 21 model : 1 model name : AMD Opteron(tm) Processor 4280 stepping : 2 microcode : 0x6000624 cpu MHz : 2800.277 cache size : 2048 KB physical id : 1 siblings : 8 core id : 7 cpu cores : 4 apicid : 39 initial apicid : 23 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold AFAIK Bulldozer only has AVX, but unfortunately not AESNI. Andras On Sat, 4 Feb 2012 14:49:52 +0200, Konstantin Belousov wrote: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e0e01cc2b957c417a3f69232b33ebe0>