[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] microcode fix
>>> On 12.12.11 at 15:02, Christoph Egger <Christoph.Egger@xxxxxxx> wrote: > 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@xxxxxxx> > > P.S. Please apply this to Xen 4.1, 4.0, 3.4 and 3.3, too. Please sync up with latest -unstable. At least this hunk (which also is completely unrelated to anything mentioned in the description) >@@ -99,7 +91,7 @@ static int microcode_fits(void *mc, int > } > > if ( mc_header->patch_id <= uci->cpu_sig.rev ) >- return -EINVAL; >+ return 1; > > printk(KERN_DEBUG "microcode: CPU%d found a matching microcode " > "update with version 0x%x (current=0x%x)\n", would not apply anymore (and is wrong - zero is being and should be returned in this case). There's also a stray hunk (mis?)adjusting only formatting, which should be removed. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |