Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-18 Thread Borislav Petkov
On Tue, Jun 18, 2019 at 01:43:00AM +, Lendacky, Thomas wrote: > Yes and no... it doesn't say how it is done, namely through the use of > memblock_reserve() calls and when and where those occur. Ah ok, so you found that out and documented it now. Good. :-) -- Regards/Gruss, Boris. Good

Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-17 Thread Lendacky, Thomas
On 6/17/19 5:47 AM, Borislav Petkov wrote: > On Fri, Jun 14, 2019 at 09:15:18PM +, Lendacky, Thomas wrote: >> The memory occupied by the kernel is reserved using memblock_reserve() >> in setup_arch(). Currently, the area is from symbols _text to __bss_stop. >> Everything after __bss_stop must

Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-17 Thread Borislav Petkov
On Fri, Jun 14, 2019 at 09:15:18PM +, Lendacky, Thomas wrote: > The memory occupied by the kernel is reserved using memblock_reserve() > in setup_arch(). Currently, the area is from symbols _text to __bss_stop. > Everything after __bss_stop must be specifically reserved otherwise it > is discar

Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-16 Thread Baoquan He
On 06/14/19 at 09:15pm, Lendacky, Thomas wrote: > The memory occupied by the kernel is reserved using memblock_reserve() > in setup_arch(). Currently, the area is from symbols _text to __bss_stop. > Everything after __bss_stop must be specifically reserved otherwise it > is discarded. This is not c

Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-16 Thread lijiang
After applied the patch series(v2), the kexec-d kernel and the kdump kernel can successfully boot. Thanks. Tested-by: Lianbo Jiang 在 2019年06月15日 05:15, Lendacky, Thomas 写道: > The memory occupied by the kernel is reserved using memblock_reserve() > in setup_arch(). Currently, the area is from sy

Re: [PATCH v2 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-06-14 Thread Dave Hansen
On 6/14/19 2:15 PM, Lendacky, Thomas wrote: > + /* > + * The memory occupied from _text to here, __end_of_kernel_reserve, is > + * automatically reserved in setup_arch(). Anything after here must be > + * explicitly reserved using memblock_reserve() or it will be discarded > +