public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Piel <eric.piel@tremplin-utc.net>
To: trenn@suse.de, "H. Peter Anvin" <hpa@zytor.com>,
	linux-acpi@vger.kernel.org, Richard <tuxbox.guru@gmail.com>,
	andreas.herrmann3@amd.com
Subject: Re: [Fwd: Overriding ACPI tables]
Date: Fri, 02 May 2008 12:15:44 +0200	[thread overview]
Message-ID: <481AE9D0.1030407@tremplin-utc.net> (raw)
In-Reply-To: <1209661364.1131.8.camel@linux-2bdv.site>

> Thomas Renninger wrote:
>> Peter: You wrote the syslinux stuff, right? What kind of luck is that :)
>> There currently is a discussion about being able to override ACPI tables
>> via initrd. The discussion is a bit stuck because the data is needed
>> earlier than initrd is unpacked and the hacks to make it work are not
>> accepted by Linus. I thought about adding another binary image to i386
>> boot protocol, similar to initrd= which contains data for very early
>> kernel boot initialization, but this would be a heavy hammer (but IMO
>> still better than only do it for kexec, another suggestion...) , I
>> better open a separate thread or pre-ask privately whether this makes
>> sense at all. It would be great if you could advise and possibly help to
>> convince so that we finally may find a solution accepted mainline.
> 
> We're putting in a mechanism for pushing larger tables already; we need 
> it for other things (in particular, the zones for E820 and EDD in the 
> boot_info_table are simply not big enough.)  That gives a generic 
> mechanism for sending arbitrary-sized binary images to the kernel.  That 
> would be the mechanism to use.
> 
> I believe it's in upstream as this merge window; it's definitely in 
> x86.git already.
Hi Peter,

Thank you for the pointer. You are talking about setup_data, right? I'll 
try to use it for reading the DSDT table. I have a couple of questions 
though:
* I can find reference of it only in setup_64.c, is it planned to add 
support also for 32bit? (That's a must for me)
* From inside the kernel, all I have to do is to add a hook inside 
parse_setup_data(), allocate memory and I'll be able to copy the data 
into this safe place, right?
* Is there any bootloader which already has support for this extension? 
  By chance, would you have a patch for grub?

See you,
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

       reply	other threads:[~2008-05-02 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1209661364.1131.8.camel@linux-2bdv.site>
2008-05-02 10:15 ` Eric Piel [this message]
2008-05-02 17:43   ` [Fwd: Overriding ACPI tables] H. Peter Anvin

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=481AE9D0.1030407@tremplin-utc.net \
    --to=eric.piel@tremplin-utc.net \
    --cc=andreas.herrmann3@amd.com \
    --cc=hpa@zytor.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=trenn@suse.de \
    --cc=tuxbox.guru@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox