efi: Defer freeing boot services memory until after ACPI init
authorJosh Triplett <josh@joshtriplett.org>
Sat, 29 Sep 2012 00:55:44 +0000 (17:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:31 +0000 (10:10 -0700)
commitc1f2d77769770f79d5dd9a8d7ab9615665343fd9
tree8294721294c2203355c812ee2f374f547db69cf8
parent116f83b82e7272fec7f9f0f71376bdc67b159ae2
efi: Defer freeing boot services memory until after ACPI init

commit 785107923a83d8456bbd8564e288a24d84109a46 upstream.

Some new ACPI 5.0 tables reference resources stored in boot services
memory, so keep that memory around until we have ACPI and can extract
data from it.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Link: http://lkml.kernel.org/r/baaa6d44bdc4eb0c58e5d1b4ccd2c729f854ac55.1348876882.git.josh@joshtriplett.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/platform/efi/efi.c
include/linux/efi.h
init/main.c