Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge

H. Peter Anvin
2012-06-13T15:38:50Z

On 06/13/2012 08:32 AM, Peter Zijlstra wrote:
> On Wed, 2012-06-13 at 06:59 -0700, H. Peter Anvin wrote:
>> On 06/13/2012 01:32 AM, Peter Zijlstra wrote:
>>> On Tue, 2012-06-12 at 21:49 +0200, Borislav Petkov wrote:
>>>>
>>>> But why, do you see a better option for how to tell the kernel to load a
>>>> binary blob early at boot?
>>>
>>> built it in? There's this feature where you can included firmware blobs
>>> in the kernel image. It has all the benefits of initrd, since the only
>>> time I ever would update initrd if used it, would be when I install a
>>> new kernel, which I just built anyway.
>>>
>>
>> You know you can build in an initramfs blob in the kernel, right? In
>> fact, there always is one there even if you don't create it explicitly.
>
> Didn't know that..
>
>> Problem solved, methinks.
>
> Yep.
>

We have to be a bit careful about it, though; the early initramfs
content can't be compressed. It might end up making more sense to make
the builtin version of that a separate blob from the main builtin blob.

-hpa