Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-17 Thread H. Peter Anvin
On 10/16/2012 11:26 AM, Jacob Shin wrote: Right, we are (AMD) thinking about the same thing .. how to backport to stable kernels of major enterprise OSes The simplest and the least disruptive solution would be to not map memory holes that occur above 4GB, it won't affect 32 bit kernels, and it

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-17 Thread Shuah Khan
On Tue, 2012-10-16 at 12:02 -0700, H. Peter Anvin wrote: > On 10/16/2012 11:26 AM, Jacob Shin wrote: > > > > HPA, it would be great if we can first get this patch upstream, and also > > into the stable trees .. and after that, we can work on getting Yinghai's > > mm refactoring in .. > > > >

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-17 Thread Shuah Khan
On Tue, 2012-10-16 at 12:02 -0700, H. Peter Anvin wrote: On 10/16/2012 11:26 AM, Jacob Shin wrote: HPA, it would be great if we can first get this patch upstream, and also into the stable trees .. and after that, we can work on getting Yinghai's mm refactoring in .. I'll be back

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-17 Thread H. Peter Anvin
On 10/16/2012 11:26 AM, Jacob Shin wrote: Right, we are (AMD) thinking about the same thing .. how to backport to stable kernels of major enterprise OSes The simplest and the least disruptive solution would be to not map memory holes that occur above 4GB, it won't affect 32 bit kernels, and it

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread H. Peter Anvin
On 10/16/2012 11:26 AM, Jacob Shin wrote: > > HPA, it would be great if we can first get this patch upstream, and also > into the stable trees .. and after that, we can work on getting Yinghai's > mm refactoring in .. > I'll be back from travels tomorrow, I'll look at it then. -hpa

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Jacob Shin
On Tue, Oct 16, 2012 at 11:48:58AM -0600, Shuah Khan wrote: > On Tue, 2012-10-16 at 16:55 +, Shin, Jacob wrote: > > (Sorry for the top post, on mobile phone..) > > > > You can follow the latest thread here: > > https://lkml.org/lkml/2012/9/30/23 > > > > Yinghai's for-x86-mm branch should

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
On Tue, 2012-10-16 at 16:55 +, Shin, Jacob wrote: > (Sorry for the top post, on mobile phone..) > > You can follow the latest thread here: > https://lkml.org/lkml/2012/9/30/23 > > Yinghai's for-x86-mm branch should boot 1TB AMD with hoisting > enabled. > > Thanks! Jacob, Thanks. This

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
Jacob, On Tue, 2011-10-11 at 17:09 -0500, Jacob Shin wrote: > The entire HT hole and also the unused address range before that hole > need to be excluded from direct mapping. Otherwise speculative > accesses to that reserved region can happen which cause machine > checks. Has the HT support even

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
Jacob, On Tue, 2011-10-11 at 17:09 -0500, Jacob Shin wrote: The entire HT hole and also the unused address range before that hole need to be excluded from direct mapping. Otherwise speculative accesses to that reserved region can happen which cause machine checks. Has the HT support even

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Shuah Khan
On Tue, 2012-10-16 at 16:55 +, Shin, Jacob wrote: (Sorry for the top post, on mobile phone..) You can follow the latest thread here: https://lkml.org/lkml/2012/9/30/23 Yinghai's for-x86-mm branch should boot 1TB AMD with hoisting enabled. Thanks! Jacob, Thanks. This includes

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread Jacob Shin
On Tue, Oct 16, 2012 at 11:48:58AM -0600, Shuah Khan wrote: On Tue, 2012-10-16 at 16:55 +, Shin, Jacob wrote: (Sorry for the top post, on mobile phone..) You can follow the latest thread here: https://lkml.org/lkml/2012/9/30/23 Yinghai's for-x86-mm branch should boot 1TB AMD

Re: [PATCH 1/1] x86, e820: Remove direct mapping of reserved space for HT hole around 1TB

2012-10-16 Thread H. Peter Anvin
On 10/16/2012 11:26 AM, Jacob Shin wrote: HPA, it would be great if we can first get this patch upstream, and also into the stable trees .. and after that, we can work on getting Yinghai's mm refactoring in .. I'll be back from travels tomorrow, I'll look at it then. -hpa -- To