Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Thomas Garnier
On Tue, Aug 9, 2016 at 9:03 AM, Joerg Roedel wrote: > On Tue, Aug 09, 2016 at 09:00:04AM -0700, Thomas Garnier wrote: >> On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: >> > Initialize KASLR memory randomization after max_pfn is initialized. Also >> >

Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Thomas Garnier
On Tue, Aug 9, 2016 at 9:03 AM, Joerg Roedel wrote: > On Tue, Aug 09, 2016 at 09:00:04AM -0700, Thomas Garnier wrote: >> On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: >> > Initialize KASLR memory randomization after max_pfn is initialized. Also >> > ensure the size is rounded up. Could

Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Joerg Roedel
On Tue, Aug 09, 2016 at 09:00:04AM -0700, Thomas Garnier wrote: > On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: > > Initialize KASLR memory randomization after max_pfn is initialized. Also > > ensure the size is rounded up. Could have create problems on machines > >

Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Joerg Roedel
On Tue, Aug 09, 2016 at 09:00:04AM -0700, Thomas Garnier wrote: > On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: > > Initialize KASLR memory randomization after max_pfn is initialized. Also > > ensure the size is rounded up. Could have create problems on machines > > with more than 1Tb of

Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Thomas Garnier
On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: > Initialize KASLR memory randomization after max_pfn is initialized. Also > ensure the size is rounded up. Could have create problems on machines > with more than 1Tb of memory on certain random addresses. > >

Re: [PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-09 Thread Thomas Garnier
On Mon, Aug 8, 2016 at 11:40 AM, Thomas Garnier wrote: > Initialize KASLR memory randomization after max_pfn is initialized. Also > ensure the size is rounded up. Could have create problems on machines > with more than 1Tb of memory on certain random addresses. > > Signed-off-by: Thomas Garnier

[PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-08 Thread Thomas Garnier
Initialize KASLR memory randomization after max_pfn is initialized. Also ensure the size is rounded up. Could have create problems on machines with more than 1Tb of memory on certain random addresses. Signed-off-by: Thomas Garnier --- Based on next-20160805 ---

[PATCH v1 1/2] x86/KASLR: Fix physical memory calculation on KASLR memory randomization

2016-08-08 Thread Thomas Garnier
Initialize KASLR memory randomization after max_pfn is initialized. Also ensure the size is rounded up. Could have create problems on machines with more than 1Tb of memory on certain random addresses. Signed-off-by: Thomas Garnier --- Based on next-20160805 --- arch/x86/kernel/setup.c | 4 ++--