RE: One-line patch for systems with ACPI enabled but incomplete tree

From: Brown, Len <len.brown_at_intel.com>
Date: 2005-09-01 05:49:50
>
>The attached patch allows systems for which ACPI is enabled,
>but a full tree is not present, to avoid a horrible kernel crash.
>Systems with this characteristic include the ia64 HP simulator
>(with ACPI enabled) and some future virtualized environments
>(e.g. Xen, specifically Xen/ia64).
>
>If no objections, please apply.  If discussion ensues, please
>cc me as I am not a subscriber to this list.
>
>Thanks,
>Dan Magenheimer
>HP Labs
>
>--- 1.6/drivers/acpi/motherboard.c	Wed Nov 10 15:57:35 2004
>+++ 1.7/drivers/acpi/motherboard.c	Fri Apr 22 16:47:41 2005
>@@ -120,6 +120,7 @@
> static void __init
> acpi_reserve_resources (void)
> {
>+	if (!acpi_gbl_FADT) return;

Is this the same simulator that runs arch/ia64/configs/sim_defconfig,
but for your kernel ACPI is now enabled?
Why is ACPI now enabled in the simulation?
Why can't the simulator provide an FADT?

Modifying (everybodies) Linux to work-around simulator bugs
doesn't sound like a good idea for a number of reasons.

thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Sep 01 05:51:09 2005

This archive was generated by hypermail 2.1.8 : 2005-09-01 05:51:16 EST