Re: [PATCH] ACPI: Implement overriding of arbitrary ACPI tables viainitrd
From: H. Peter Anvin
Date: Sun Mar 25 2012 - 19:30:56 EST
On 03/25/2012 02:25 AM, Borislav Petkov wrote:
>> * findcpio.c
>> * Find a specific cpio member; must precede any compressed content.
> Looks simple enough. Btw, there's some cpio handling already done in
> <init/initramfs.c> - probably reuse some of the code there...?
Quite possible, but then you will have to untangle the dependencies.
Keep in mind that it needs to be able to compile this in such a way that
you have no library dependencies and no fixed address references (so
that it can be invoked from the pre-paging code to get microcode updates
in as early as at all possible.) So code reuse is a bit tricky at least
for that specific use case. The ACPI code is less sensitive since it
comes a lot later.
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/