Re: [PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-22 Thread Nicolai Stange
Mika Penttilä writes: > On 21.12.2016 20:28, Nicolai Stange wrote: >> /** >> * efi_mem_reserve - Reserve an EFI memory region >> @@ -419,7 +422,7 @@ void __init __weak efi_arch_mem_reserve(phys_addr_t >> addr, u64 size) {} >> */ >> void __init

Re: [PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-22 Thread Nicolai Stange
Mika Penttilä writes: > On 21.12.2016 20:28, Nicolai Stange wrote: >> /** >> * efi_mem_reserve - Reserve an EFI memory region >> @@ -419,7 +422,7 @@ void __init __weak efi_arch_mem_reserve(phys_addr_t >> addr, u64 size) {} >> */ >> void __init efi_mem_reserve(phys_addr_t addr, u64 size)

Re: [PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-21 Thread Mika Penttilä
On 21.12.2016 20:28, Nicolai Stange wrote: > Before invoking the arch specific handler, efi_mem_reserve() reserves > the given memory region through memblock. > > efi_mem_reserve() can get called after mm_init() though -- through > efi_bgrt_init(), for example. After mm_init(), memblock is dead

Re: [PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-21 Thread Mika Penttilä
On 21.12.2016 20:28, Nicolai Stange wrote: > Before invoking the arch specific handler, efi_mem_reserve() reserves > the given memory region through memblock. > > efi_mem_reserve() can get called after mm_init() though -- through > efi_bgrt_init(), for example. After mm_init(), memblock is dead

[PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-21 Thread Nicolai Stange
Before invoking the arch specific handler, efi_mem_reserve() reserves the given memory region through memblock. efi_mem_reserve() can get called after mm_init() though -- through efi_bgrt_init(), for example. After mm_init(), memblock is dead and should not be used anymore. Let efi_mem_reserve()

[PATCH 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2016-12-21 Thread Nicolai Stange
Before invoking the arch specific handler, efi_mem_reserve() reserves the given memory region through memblock. efi_mem_reserve() can get called after mm_init() though -- through efi_bgrt_init(), for example. After mm_init(), memblock is dead and should not be used anymore. Let efi_mem_reserve()