ACPI: Implement physical address table override
authorThomas Renninger <trenn@suse.de>
Sun, 30 Sep 2012 22:23:55 +0000 (00:23 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 1 Oct 2012 01:03:29 +0000 (18:03 -0700)
commitb2a35003dfbcc7b7a5e5c6e524e7d49ba66e0bb5
treec80842ec069ed62f4f352a575a35829b1aee1ab6
parent53aac44c904abbad9f474f652f099de13b5c3563
ACPI: Implement physical address table override

Previous patches stored ACPI tables provided via initrd in a memblock reserved
area.
If a table is loaded and the table type of an initrd provided one matches,
the one from initrd is prefered.
In case of a SSDT table, the OEM table id also has to match.

ACPI tables can be loaded at boot time (static table pointers in XSDT),
but also dynamically any time later via ASL commands load() or loadTable().
The override mechanism always works.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Link: http://lkml.kernel.org/r/1349043837-22659-5-git-send-email-trenn@suse.de
Cc: Len Brown <lenb@kernel.org>
Cc: Robert Moore <robert.moore@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/acpi/osl.c