From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Huang Subject: Re: Xen 4.1: x86/ucode: fix for AMD Fam15 CPUs Date: Wed, 4 Jan 2012 13:31:57 -0600 Message-ID: <4F04A92D.7000301@amd.com> References: <4F047035.1060304@amd.com> <4F048368.2000204@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5864270976095197324==" Return-path: In-Reply-To: <4F048368.2000204@gmx.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Florian Manschwetus Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============5864270976095197324== Content-Type: multipart/alternative; boundary="------------070306080704030304010207" --------------070306080704030304010207 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 01/04/2012 10:50 AM, Florian Manschwetus wrote: > Am 04.01.2012 16:28, schrieb Christoph Egger: >> x86/ucode: fix for AMD Fam15 CPUs >> >> Remove hardcoded maximum size a microcode patch can have. This is >> dynamic now. >> >> The microcode patch for family15h can be larger than 2048 bytes and >> gets silently truncated. >> >> Signed-off-by: Christoph Egger >> Backport from xen-unstable changeset 24411:ca5f588bd203 to Xen 4.1 >> > Could this fix my xen boot problem on athlon x2 (fam 15 according to > cpuinfo) > > See xen-devel post: > [Xen-devel] [Xen-users] Problem booting xen 4.1.2 on Athlon 64 X2 > from 22.12.2011 ff Probably not. cpuinfo reports family in decimal. So your Athlon is Family 0xF; but Christoph's patch is for Family 0x15. For a quick verification, you can rename your AMD ucode (in /lib/firmware/amd-ucode) to prevent it from being loaded. / / > > Regards, > Florian > >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel > --------------070306080704030304010207 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit On 01/04/2012 10:50 AM, Florian Manschwetus wrote:
Am 04.01.2012 16:28, schrieb Christoph Egger:
x86/ucode: fix for AMD Fam15 CPUs

Remove hardcoded maximum size a microcode patch can have. This is
dynamic now.

The microcode patch for family15h can be larger than 2048 bytes and
gets silently truncated.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Backport from xen-unstable changeset 24411:ca5f588bd203 to Xen 4.1

Could this fix my xen boot problem on athlon x2 (fam 15 according to
cpuinfo)

See xen-devel post:
[Xen-devel] [Xen-users] Problem booting xen 4.1.2 on Athlon 64 X2
from 22.12.2011 ff
Probably not. cpuinfo reports family in decimal. So your Athlon is Family 0xF; but Christoph's patch is for Family 0x15. For a quick verification, you can rename your AMD ucode (in /lib/firmware/amd-ucode) to prevent it from being loaded.

Regards,
Florian



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel


--------------070306080704030304010207-- --===============5864270976095197324== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============5864270976095197324==--