• Yinghai Lu's avatar
    ibft, x86: Change reserve_ibft_region() to find_ibft_region() · 042be38e
    Yinghai Lu authored
    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: default avatarYinghai 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: default avatarH. Peter Anvin <hpa@zytor.com>
    042be38e
iscsi_ibft_find.c 2.25 KB