Re: [PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Andi Kleen
> Got a question. How will kernel continue to run if we unmap the kernel > text/data region mappings? Normally it shouldn't be in the same 2MB area as the aperture (which is the only thing that is unmapped). The problem is mostly the rest of the 40MB kernel mapping. -Andi -- To unsubscribe

Re: [PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Vivek Goyal
On Thu, Jan 03, 2008 at 06:26:57PM +0100, Andi Kleen wrote: > > This was a long standing obscure problem in the relocatable kernel. The > AMD GART driver needs to unmap part of the GART in the kernel direct mapping > to > prevent cache corruption. With the relocatable kernel it is in theory >

[PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Andi Kleen
This was a long standing obscure problem in the relocatable kernel. The AMD GART driver needs to unmap part of the GART in the kernel direct mapping to prevent cache corruption. With the relocatable kernel it is in theory possible that the separate kernel text mapping straddles that area too.

[PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Andi Kleen
This was a long standing obscure problem in the relocatable kernel. The AMD GART driver needs to unmap part of the GART in the kernel direct mapping to prevent cache corruption. With the relocatable kernel it is in theory possible that the separate kernel text mapping straddles that area too.

Re: [PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Vivek Goyal
On Thu, Jan 03, 2008 at 06:26:57PM +0100, Andi Kleen wrote: This was a long standing obscure problem in the relocatable kernel. The AMD GART driver needs to unmap part of the GART in the kernel direct mapping to prevent cache corruption. With the relocatable kernel it is in theory

Re: [PATCH] [1/8] GBPAGES: Handle kernel near memory hole in clear_kernel_mapping

2008-01-03 Thread Andi Kleen
Got a question. How will kernel continue to run if we unmap the kernel text/data region mappings? Normally it shouldn't be in the same 2MB area as the aperture (which is the only thing that is unmapped). The problem is mostly the rest of the 40MB kernel mapping. -Andi -- To unsubscribe from