]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ibft, x86: Change reserve_ibft_region() to find_ibft_region()
authorYinghai Lu <yinghai@kernel.org>
Thu, 1 Apr 2010 21:32:43 +0000 (14:32 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 1 Apr 2010 23:12:48 +0000 (16:12 -0700)
commit042be38e6106ed70b42d096ab4a1ed4187e510e6
treefb3599873f28cf36dbc76b6cd0a84f3e89e5e8cb
parentb4a5e8a1deca7e61ebaffb37344766b0f0e9f327
ibft, x86: Change reserve_ibft_region() to find_ibft_region()

This allows arch code could decide the way to reserve the ibft.

And we should reserve ibft as early as possible, instead of BOOTMEM
stage, in case the table is in RAM range and is not reserved by BIOS
(this will often be the case.)

Move to just after find_smp_config().

Also when CONFIG_NO_BOOTMEM=y, We will not have reserve_bootmem() anymore.

-v2: fix typo about ibft pointed by Konrad Rzeszutek Wilk <konrad@darnok.org>

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4BB510FB.80601@kernel.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Peter Jones <pjones@redhat.com>
Cc: Konrad Rzeszutek Wilk <konrad@kernel.org>
CC: Jan Beulich <jbeulich@novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/setup.c
drivers/firmware/iscsi_ibft_find.c
include/linux/iscsi_ibft.h