Re: powerpc 476, Little-endian, pte fault

From: Santosh Kumar
Date: Mon Oct 31 2011 - 05:17:55 EST


i tried this but the fixup_user_fault is called as the path followed
is different. Also i see that the flags passed to handle_mm_fault is 0
i.e the fault is not on a write access. Please let me know if i have
to use this fix some where else too.

thanks
Santosh Kumar .A

Vision without Action is a daydream... Action without Vision is a nightmare...



On 31 October 2011 13:18, Shan Hai <haishan.bai@xxxxxxxxx> wrote:
> On Mon, Oct 31, 2011 at 11:00:14AM +0530, Santosh Kumar wrote:
>> KERNEL: linux 2.6.39.4
>> POWERPC: 476, little endian.
>>
>> I am trying to get linux 2.6.39.4 up on PPC 476 i have done done
>> Big-endian to little endian Changes in:
>> 1) bitops header file.
>> 2) while reading the device tree.
>> 3) the PTE read/computed in head_32.S
>> 4) added E bit in the TLB entries.
>>
>> with all the above changes the kernel_init is done but and inited is mounted.
>>
>> But while spawning init process the kernel continuously hits pte
>> faults at address 0x100000fc and never comes out. Please let me know
>> where i should be looking into.
>>
>
> Please check whether the following commit is there in your tree.
> 2efaca927f5cd7ecd0f1554b8f9b6a9a2c329c03
>
> Cheers
> Shan Hai
>
>> -
>> Thanks
>> Santosh Kumar .A
>>
>> Vision without Action is a daydream... Action without Vision is a nightmare...
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/