Re: [PATCH] ttm_get_pages() will OOPS with highmem allocation

2012-11-19 Thread Jonathan Morton
page(page_address(p)); + if (PageHighMem(p)) + clear_highpage(p); + else + clear_page(page_address(p)); } } -- 1.7.7.6 -- From: Jonathan Morton jonathan.

[PATCH] ttm_get_pages() will OOPS with highmem allocation

2012-11-16 Thread Jonathan Morton
Reposting from this kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=50241 I've tested the patch and it solves a highly repeatable OOPS with the CedarView driver that I'm porting. Reviewed-by: Thomas Hellstrom

[PATCH] ttm_get_pages() will OOPS with highmem allocation

2012-11-13 Thread Jonathan Morton
ge(page_address(p)); + if (PageHighMem(p)) + clear_highpage(p); + else + clear_page(page_address(p)); } } -- 1.7.7.6 -- From: Jonathan Morton jonathan.

[PATCH] ttm_get_pages() will OOPS with highmem allocation

2012-11-13 Thread Jonathan Morton
Reposting from this kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=50241 I've tested the patch and it solves a highly repeatable OOPS with the CedarView driver that I'm porting.