From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 4 12:49:58 2012 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35EB9106564A for ; Sat, 4 Feb 2012 12:49:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 99D908FC12 for ; Sat, 4 Feb 2012 12:49:57 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q14CnrGH006655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Feb 2012 14:49:53 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q14CnqVW044463; Sat, 4 Feb 2012 14:49:52 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q14CnquY044462; Sat, 4 Feb 2012 14:49:52 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Feb 2012 14:49:52 +0200 From: Konstantin Belousov To: Mario Fleischmann Message-ID: <20120204124952.GK3283@deviant.kiev.zoral.com.ua> References: <4F2CFFC3.30909@gurgelmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IB2Qao3B4XdnqHmg" Content-Disposition: inline In-Reply-To: <4F2CFFC3.30909@gurgelmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: amd64@freebsd.org Subject: Re: aesni module with AMD CPUs? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2012 12:49:58 -0000 --IB2Qao3B4XdnqHmg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > 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:. >=20 > I'm currently in the market for a new system, and I need AES-NI=20 > acceleration with FreeBSD 9.0. I'd like to buy an AMD-FX 4100 CPU, which= =20 > supports the AES-NI instruction set. Do you have a reference to the CPU datasheet or programming manual ? >=20 > What I'd like to know is: Does the aesni driver in FreeBSD also support= =20 > AMD CPUs? The man page explicitly states the driver is for Intel CPUs,=20 > but since the AES-NI instruction set is licensed by AMD, I think it=20 > 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. >=20 >=20 > A reply would be greatly appreciated, >=20 > Best Regards, > Mario --IB2Qao3B4XdnqHmg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk8tKXAACgkQC3+MBN1Mb4jCbwCgopaSOFCWRkGGRiDSpUJMsLuS Y9QAoOA3PBKdMncjpHyhkwKSuWAR5Xpk =x/9W -----END PGP SIGNATURE----- --IB2Qao3B4XdnqHmg--