lkml.org 
[lkml]   [2014]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUG: early intel microcode update violating alignment rules
On 08/09/2014 04:19 PM, Henrique de Moraes Holschuh wrote:
>
> This will only happen when the microcode update file data inside the early
> initramfs archive is not 16-byte aligned. Unfortunately, the cpio format
> used in the early initramfs aligns the member file data just to 4-byte
> boundaries.
>
> Is there a way to fix this in the kernel for the BSP? We already have
> several microcode updates that are >16KiB in size and they seem to be
> getting bigger and bigger, so doing it on the stack is out.
>
> Maybe there is a 64KiB scratch area that could be used just to get the BSP
> microcode update done? vmalloc isn't available that early, but it can be
> used to fix the issue for the APs.
>

We could put a buffer in the initdata region (we really could use an
initbss region!) or in the brk.

-hpa



\
 
 \ /
  Last update: 2014-08-11 17:21    [W:0.114 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site