linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: akpm@linux-foundation.org
Cc: linux-acpi@vger.kernel.org, jpk@sgi.com
Subject: Re: [patch 5/6] Altix: reinitialize acpi tables
Date: Wed, 7 Mar 2007 02:34:25 -0500	[thread overview]
Message-ID: <200703070234.25710.lenb@kernel.org> (raw)
In-Reply-To: <200703061029.l26AThio019132@shell0.pdx.osdl.net>

Andrew,
This patch is munged -- please remove it from mm.

The correct patch is already present in git-acpi.patch,
which perhaps is why patch munged it on entry into mm.

thanks,
-Len


On Tuesday 06 March 2007 05:29, akpm@linux-foundation.org wrote:
> From: John Keller <jpk@sgi.com>
> 
> To provide compatibilty with SN kernels that do and do not have ACPI IO
> support, the SN PROM must build different versions of some ACPI tables
> based on which kernel is booting.  As such, the tables may have to change
> at kernel boot time.  By default, prior to kernel boot, the PROM builds an
> empty DSDT (header only) and no SSDTs.  If an ACPI capable kernel boots,
> the kernel will notify the PROM, at platform setup time, and the PROM will
> build full DSDT and SSDT tables.
> 
> With the latest changes to acpi_table_init(), the table lengths are saved,
> and when our PROM changes them, the changes are not seen, and the kernel
> will crash on boot.  Because of issues with kexec support, we are not able
> to create the tables prior to acpi_table_init().  As a result, we are
> making a second call to acpi_table_init() to process the rebuilt DSDT and
> SSDTs.
> 
> Signed-off-by: John Keller <jpk@sgi.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  arch/ia64/sn/kernel/setup.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff -puN arch/ia64/sn/kernel/setup.c~altix-reinitialize-acpi-tables arch/ia64/sn/kernel/setup.c
> --- a/arch/ia64/sn/kernel/setup.c~altix-reinitialize-acpi-tables
> +++ a/arch/ia64/sn/kernel/setup.c
> @@ -54,6 +54,8 @@
>  #include "xtalk/hubdev.h"
>  #include <asm/sn/klconfig.h>
>  
> +	/* Load the new DSDT and SSDT tables into the global table list. */
> + 	acpi_table_init();
>  
>  DEFINE_PER_CPU(struct pda_s, pda_percpu);
>  
> _
> -
> 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:[~2007-03-07  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 10:29 [patch 5/6] Altix: reinitialize acpi tables akpm
2007-03-07  7:34 ` Len Brown [this message]

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=200703070234.25710.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=jpk@sgi.com \
    --cc=linux-acpi@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).