Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
On Fri, Dec 21, 2012 at 03:52:53PM -0800, Yinghai Lu wrote: > On Fri, Dec 21, 2012 at 3:39 PM, Konrad Rzeszutek Wilk > wrote: > > On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: > >> > >> maybe we can change the subject of this patch to: > >> > >> Subject: [PATCH] x86, 64bit: Don't

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Yinghai Lu
On Fri, Dec 21, 2012 at 3:39 PM, Konrad Rzeszutek Wilk wrote: > On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: >> >> maybe we can change the subject of this patch to: >> >> Subject: [PATCH] x86, 64bit: Don't set max_pfn_mapped wrong on native boot >> path > > Or the inverse. > > Set

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: > On Fri, Dec 21, 2012 at 2:26 PM, Konrad Rzeszutek Wilk > wrote: > >> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > >> index 4178530..30f6190 100644 > >> --- a/arch/x86/mm/init_64.c > >> +++ b/arch/x86/mm/init_64.c > >>

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Yinghai Lu
On Fri, Dec 21, 2012 at 2:26 PM, Konrad Rzeszutek Wilk wrote: >> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c >> index 4178530..30f6190 100644 >> --- a/arch/x86/mm/init_64.c >> +++ b/arch/x86/mm/init_64.c >> @@ -304,10 +304,14 @@ void __init init_extra_mapping_uc(unsigned long phys,

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > index 4178530..30f6190 100644 > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -304,10 +304,14 @@ void __init init_extra_mapping_uc(unsigned long phys, > unsigned long size) > void __init cleanup_highmap(void) > { >

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 4178530..30f6190 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -304,10 +304,14 @@ void __init init_extra_mapping_uc(unsigned long phys, unsigned long size) void __init cleanup_highmap(void) {

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Yinghai Lu
On Fri, Dec 21, 2012 at 2:26 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 4178530..30f6190 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -304,10 +304,14 @@ void __init

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: On Fri, Dec 21, 2012 at 2:26 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 4178530..30f6190 100644 --- a/arch/x86/mm/init_64.c +++

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Yinghai Lu
On Fri, Dec 21, 2012 at 3:39 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: maybe we can change the subject of this patch to: Subject: [PATCH] x86, 64bit: Don't set max_pfn_mapped wrong on native boot path Or the

Re: [PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-12-21 Thread Konrad Rzeszutek Wilk
On Fri, Dec 21, 2012 at 03:52:53PM -0800, Yinghai Lu wrote: On Fri, Dec 21, 2012 at 3:39 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Dec 21, 2012 at 02:44:39PM -0800, Yinghai Lu wrote: maybe we can change the subject of this patch to: Subject: [PATCH] x86, 64bit:

[PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-11-27 Thread Yinghai Lu
When we get x86_64_start_kernel from arch/x86/kernel/head_64.S, We have 1. kernel highmap 512M (KERNEL_IMAGE_SIZE) from kernel loaded address. 2. kernel lowmap: [0, 1024M), and size (_end - _text) from kernel loaded address. for example, if the kernel bzImage is loaded high from 8G, will get:

[PATCH v5 12/13] x86, 64bit: Print init kernel lowmap correctly

2012-11-27 Thread Yinghai Lu
When we get x86_64_start_kernel from arch/x86/kernel/head_64.S, We have 1. kernel highmap 512M (KERNEL_IMAGE_SIZE) from kernel loaded address. 2. kernel lowmap: [0, 1024M), and size (_end - _text) from kernel loaded address. for example, if the kernel bzImage is loaded high from 8G, will get: