[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F6FAA63.2020107@zytor.com>
Date: Sun, 25 Mar 2012 16:29:39 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Borislav Petkov <bp@...en8.de>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Thomas Renninger <trenn@...e.de>, eric.piel@...mplin-utc.net,
vojcek@...n.pl, dsdt@...gusch.at, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
Lin Ming <ming.m.lin@...el.com>, lenb@...nel.org,
robert.moore@...el.com, Al Viro <viro@...iv.linux.org.uk>,
Harald Hoyer <harald@...hat.com>
Subject: Re: [PATCH] ACPI: Implement overriding of arbitrary ACPI tables via
initrd
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.
-hpa
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists