From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH] ACPI: Implement overriding of arbitrary ACPI tables via initrd Date: Sat, 24 Mar 2012 21:17:21 -0700 Message-ID: <4F6E9C51.9000406@zytor.com> References: <1332512984-79664-1-git-send-email-trenn@suse.de> <4F6CD79A.8020805@zytor.com> <201203240242.07724.trenn@suse.de> <4F6D2AF8.3070707@zytor.com> <20120324184238.GB13978@phenom.dumpdata.com> <4F6E1D6F.4000308@zytor.com> <20120324191718.GA3927@phenom.dumpdata.com> <4F6E48CD.9050002@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from terminus.zytor.com ([198.137.202.10]:39319 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812Ab2CYESL (ORCPT ); Sun, 25 Mar 2012 00:18:11 -0400 In-Reply-To: <4F6E48CD.9050002@zytor.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Konrad Rzeszutek Wilk Cc: Thomas Renninger , eric.piel@tremplin-utc.net, vojcek@tlen.pl, dsdt@gaugusch.at, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Lin Ming , lenb@kernel.org, robert.moore@intel.com, Al Viro , Harald Hoyer , Borislav Petkov On 03/24/2012 03:21 PM, H. Peter Anvin wrote: > The attached cpio-parsing code compiles to 458 bytes on x86-64 and 476 > bytes on i386, and that is without any library dependencies at all. > Again, it will completely stop at the first compressed data item, so any > such kernel objects absolutely will have to be first. In good Linux > tradition, it is also completely untested. > > However, given that very reasonable size I would think that this is a > reasonable approach. Anyone who has a better suggestion for the > namespace than "kernel/"? > The more I think about it the more I really think this is the right approach. For microcode, this means we don't have to worry about creating a super-container for the various microcode formats; we can simply have: kernel/x86/microcode/GenuineIntel kernel/x86/microcode/AuthenticAMD ... which solves the problem neatly. It does beg the question if you want to be able to have multiple: kernel/acpi/... ... files, to make managing different tables easier, or is that overkill? -hpa