Re: MIPS : die at free_initmem() function 3.9+

2013-05-07 Thread David Daney
On 05/07/2013 09:46 AM, Jiang Liu wrote: Hi Eunsong, Thanks for your help. I have done some code inspection and have found a possible reason for this issue. It seems that virt_to_page() can't be used to handle address in compatible segments due to following definitions. This has caused

Re: MIPS : die at free_initmem() function 3.9+

2013-05-07 Thread Jiang Liu
Hi Eunsong, Thanks for your help. I have done some code inspection and have found a possible reason for this issue. It seems that virt_to_page() can't be used to handle address in compatible segments due to following definitions. #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_t

Re: Re: MIPS : die at free_initmem() function 3.9+

2013-05-05 Thread EUNBONG SONG
>So on 64bits MIPS platforms, __va(__pa(x)) may not equal to x, that may cause >trouble to free_initmem_default(). Could you please help to do another test >by changing >free_initmem_default(POISON_FREE_INITMEM); >to >free_initmem_default(0); >This test could help to identify whether this panic i

Re: MIPS : die at free_initmem() function 3.9+

2013-05-03 Thread Jiang Liu
Hi Eunbong, Thanks for reporting! I think this issue may be caused by __pa_symbol() on 64bits MIPS machines due to following definition: #ifdef CONFIG_64BIT #define __pa(x) \ ({

MIPS : die at free_initmem() function 3.9+

2013-05-03 Thread EUNBONG SONG
Hello. I try to boot my cavium board with david's patch. It's is not applied yet in linux tree, i got the patch from mailing list. And the patch is as follow. This is only very lightly tested, we need more testing before declaring it the definitive fix. arch/mips/kernel/genex.S | 7 --- 1