From owner-freebsd-i386@FreeBSD.ORG Wed Feb 27 14:36:07 2008 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB50D1065674 for ; Wed, 27 Feb 2008 14:36:07 +0000 (UTC) (envelope-from be_works_us@yahoo.com) Received: from web58610.mail.re3.yahoo.com (web58610.mail.re3.yahoo.com [68.142.236.208]) by mx1.freebsd.org (Postfix) with SMTP id 6A7878FC22 for ; Wed, 27 Feb 2008 14:36:01 +0000 (UTC) (envelope-from be_works_us@yahoo.com) Received: (qmail 75376 invoked by uid 60001); 27 Feb 2008 14:36:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ROxVZLd4nCui6pbiesQrzfLIxi2gqS+XnI4aiMbVOI1hDXjl9amJxKptW8grWFAORp5KtomrYxo+fRQL09D3Ve3KumuXI+76+dFpgmOGkG/MYk2JXvYG+ZdfccSOctl4+FW5D/PaVyS3D9zL9zgJX9XkQ0GLPiact+JUydxoCcg=; X-YMail-OSG: qZ.Ka7kVM1kilmsDt45mV8QPkVNHE_.NNxY4bMUlhKA1Zs5cZ.ouXpGTvb4rgSXWHmo.tQIoTXw_lJGNJFlQYYKM68WW8gFicI2UsvY5MpARM63aZDLXqQbY5b5zt4iPwzfMQOycq3jSNg-- Received: from [125.30.71.18] by web58610.mail.re3.yahoo.com via HTTP; Wed, 27 Feb 2008 06:36:00 PST Date: Wed, 27 Feb 2008 06:36:00 -0800 (PST) From: be_works_us To: freebsd-i386@freebsd.org In-Reply-To: <200802270035.31617.jhb@freebsd.org> MIME-Version: 1.0 Message-ID: <868790.74486.qm@web58610.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: i386/119491: [i386] [patch] [request] padlock enable for new VIA C7 (CentaurHauls) cpuid 0x6d0 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 14:36:07 -0000 Dear John. >I couldn't find any docs that explain the CPUID >steppings for VIA CPUs, do you know of any? You can download programming_guide.pdf http://www.via.com.tw/en/initiatives/padlock/developercenter.jsp (http://www.via.com.tw/en/downloads/whitepapers/initiatives/padlock/programming_guide.pdf) There is it in VIA's CPUID table in the Page 4 nat the PDF. Nehemiah (C5XL) : Type 0 , Family 6, Stepping 3 Nehemiah (C5P) : Type 0 , Family 6, Stepping 8-F Ruth (C5Q) : Type 0 , Family 6, Stepping 1-7 Esther (C5J) : Type 0 , Family 6, Stepping 8-F These CPU cannot distinguish it only in CPUID. The difference of Nehemiah and Esther is CPU featuer flags(SSE2, SSE3, NX bit...). (umm... patch was not better for CPU name... ) >Seemingly this should be for 'c7' rather than 'c5j'? We use 'c3' for the VIA >C3 Nehemiah rather than 'c5p'. I leave the matter of the "name" to you. If these cpu features(SSE2 and SSE3) becomes effective(bsd.cpu.mk) and padlock is enabled(initcpu.c), I do not have any problem. The "name" is very very small problem(or not problem). sorry. --------------------------------- Never miss a thing. Make Yahoo your homepage.