+ altix-reinitialize-acpi-tables.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Altix: reinitialize acpi tables
has been added to the -mm tree.  Its filename is
     altix-reinitialize-acpi-tables.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Altix: reinitialize acpi tables
From: John Keller <jpk@xxxxxxx>

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@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/sn/kernel/setup.c |    2 ++
 1 files 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
@@ -397,6 +397,8 @@ void __init sn_setup(char **cmdline_p)
 	ia64_sn_set_os_feature(OSF_PCISEGMENT_ENABLE);
 	ia64_sn_set_os_feature(OSF_ACPI_ENABLE);
 
+	/* Load the new DSDT and SSDT tables into the global table list. */
+ 	acpi_table_init();
 
 #if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE)
 	/*
_

Patches currently in -mm which might be from jpk@xxxxxxx are

git-acpi.patch
altix-reinitialize-acpi-tables.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux