From: Eric Piel <eric.piel@tremplin-utc.net>
To: trenn@suse.de
Cc: Len Brown <lenb@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Philippe Coval <rzr@users.sourceforge.net>,
linux-acpi@vger.kernel.org, dsdt <dsdt@gaugusch.at>
Subject: Re: [PATCH] Override DSDT and SSDTs via initramfs
Date: Fri, 01 Feb 2008 11:38:41 +0100 [thread overview]
Message-ID: <47A2F6B1.9060108@tremplin-utc.net> (raw)
In-Reply-To: <1201861297.14573.66.camel@queen.suse.de>
Thomas Renninger wrote:
> About Len's points 1-4:
>
> 1. tainted bit needs to be set when a DSDT override is used.
> (this is common both to the new patch and the current
> override method)
>
> 2. upon setting the tainted bit, print a BIG FAT WARNING
> that this is not a supported configuration.
>
> 3. cmdline option needs to be available to disable
> an override. Otherwise a bad image in the intrd
> may be a serious pickle for some users.
>
> 4. get rid of alarming failure message:
>
> + printk(KERN_INFO "Looking for DSDT in initrd ...");
> ...
> + printk(" not found!\n");
>
> Most of this should be included in the one I sent:
> 1+2 should be covered by this:
> + printk(PREFIX "Override [%4.4s-%8.8s]"
> + " from initramfs -"
> + " tainting kernel\n",
> + t->signature,
> + t->oem_table_id);
> + add_taint(TAINT_NO_SUPPORT);
> I remember that I introduced a new TAINT flag, this got probably ripped
> out because I expect it needed conflict solving with new kernels all the
> time.
> Now when it goes mainline a TAINT_DSDT_OVERRIDE flag might be
> appropriate, so that if you see a kernel panic or whatever bug, you
> immediately see why the kernel is tainted.
>
> Problem from 4. should also not exist in this patch anymore.
>
> The boot parameter (3.) is still missing.
Indeed, points 2 and 4 are already solved in your patch :-)
> Eric, would you mind bringing this all together (if Len agrees with my
> aspects).
> I'd vote for moving the current location of the DSDT file to:
> /dsdt/DSDT.aml
> This would break current userspace apps (including SuSE's mkinitrd), but
> would prepare the patch for further SSDT enhancements.
Ok, I'll try to have something ready by the beginning of next week. I'm
waiting from Len for his comments on the best names of the files and the
SSDTs inclusion...
See you,
Eric
next prev parent reply other threads:[~2008-02-01 10:38 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4798E2A5.6020804@users.sf.net>
[not found] ` <20080125063328.4e3b4752.akpm@linux-foundation.org>
2008-01-26 4:39 ` initrd DSDT override (Re: Feedback about your talk in Rennes France (20080124) : Evolution of the Linux kernel & virtualization technologies) Len Brown
2008-01-30 17:27 ` [PATCH] Override DSDT and SSDTs via initramfs Thomas Renninger
2008-01-30 22:36 ` Éric Piel
2008-01-31 19:17 ` Len Brown
2008-02-01 9:53 ` Thomas Renninger
2008-02-01 11:07 ` Alexey Starikovskiy
2008-02-01 11:29 ` Thomas Renninger
2008-02-02 4:36 ` Len Brown
2008-02-03 17:28 ` [PATCH 0/3] Override DSDT " Éric Piel
2008-02-04 17:53 ` Thomas Renninger
2008-02-04 22:57 ` Éric Piel
2008-02-07 0:15 ` Len Brown
2008-02-07 0:23 ` Éric Piel
2008-02-07 1:07 ` Len Brown
2008-02-07 1:12 ` initrd DSDT override patch series Len Brown
2008-02-07 1:12 ` [PATCH] ACPI: basic initramfs DSDT override support Len Brown
2008-02-07 1:12 ` [PATCH] ACPI: Taint kernel on ACPI table override (format corrected) Len Brown
2008-02-07 1:12 ` [PATCH] ACPI: Add "acpi_no_initrd_override" kernel parameter Len Brown
2008-02-07 1:12 ` [PATCH] ACPI: update DSDT override documentation Len Brown
2008-02-07 1:12 ` [PATCH] ACPI: update intrd DSDT override console messages Len Brown
2008-02-03 17:28 ` [PATCH 1/3] The basics of DSDT from initramfs Éric Piel
2008-02-03 17:39 ` Markus Gaugusch
2008-02-03 17:55 ` Éric Piel
2008-02-04 23:04 ` [PATCH 1/3] The basics of DSDT from initramfs (format corrected) Éric Piel
2008-02-06 23:54 ` Len Brown
2008-02-05 14:43 ` [PATCH 1/3] The basics of DSDT from initramfs Thomas Renninger
2008-02-05 14:56 ` Carlos Corbacho
2008-02-03 17:29 ` [PATCH 2/3] Taint kernel on ACPI table override Éric Piel
2008-02-04 23:04 ` [PATCH 2/3] Taint kernel on ACPI table override (format corrected) Éric Piel
2008-02-03 17:29 ` [PATCH 3/3] Add acpi_no_initrd_override kernel parameter Éric Piel
2008-02-04 23:04 ` [PATCH 3/3] Add acpi_no_initrd_override kernel parameter (format corrected) Éric Piel
2008-02-01 10:21 ` [PATCH] Override DSDT and SSDTs via initramfs Thomas Renninger
2008-02-01 10:38 ` Eric Piel [this message]
2008-02-07 2:51 ` Len Brown
2008-02-07 7:57 ` Éric Piel
2008-04-18 22:07 ` Philippe Coval
2008-04-18 23:25 ` Eric Piel
2008-02-07 2:49 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A2F6B1.9060108@tremplin-utc.net \
--to=eric.piel@tremplin-utc.net \
--cc=akpm@linux-foundation.org \
--cc=dsdt@gaugusch.at \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rzr@users.sourceforge.net \
--cc=trenn@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.