ACPI: disable ACPI cleanly when bad RSDP found
commit8c3c08456a945fd3951b51525f901c5be3aca14d
authorLen Brown <len.brown@intel.com>
Fri, 6 Feb 2009 19:00:56 +0000 (6 14:00 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Feb 2009 17:50:33 +0000 (12 09:50 -0800)
tree7cc85f64de33e7ad940b2c160abbbe9150775474
parent83fee7c6055707f2f2f1a45b76a8f9ce53925090
ACPI: disable ACPI cleanly when bad RSDP found

commit 9e3a9d1ed8cc8db93e5c53e9a5b09065bd95de8b upstream.

When ACPI is disabled in the BIOS of this VIA C3 box,
it invalidates the RSDP, which Linux notices:

ACPI Error (tbxfroot-0218): A valid RSDP was not found [20080926]

Bug Linux neglected to disable ACPI at that stage,
and later scribbled on smp_found_config:

ACPI: No APIC-table, disabling MPS

But this box doesn't run well in legacy PIC mode,
it needed IOAPIC mode to perform correctly:

http://lkml.org/lkml/2009/2/5/39

So exit ACPI mode cleanly when we first detect
that it is hopeless.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/tables.c