[PATCH] pte_fsl_booke: fix instruction TLB error permission check
Kumar Gala
galak at kernel.crashing.org
Fri May 14 14:19:03 EST 2010
On May 13, 2010, at 10:36 PM, Benjamin Herrenschmidt wrote:
> On Thu, 2010-05-13 at 14:14 -0500, Kumar Gala wrote:
>> On May 7, 2010, at 3:38 AM, Li Yang wrote:
>>
>>> Check the user/supervisor execution permission base on the code address.
>>> This fixes the following oops on module loading or removing.
>>>
>>> Unable to handle kernel paging request for instruction fetch
>>> Faulting instruction address: 0xf938d040
>>> Oops: Kernel access of bad area, sig: 11 [#1]
>>>
>>> Signed-off-by: Li Yang <leoli at freescale.com>
>>> Signed-off-by: Jin Qing <b24347 at freescale.com>
>>> ---
>>> arch/powerpc/kernel/head_fsl_booke.S | 13 ++++++++++---
>>> 1 files changed, 10 insertions(+), 3 deletions(-)
>>
>> applied to merge.
>>
>> I've updated the commit message to be a bit more clear on why we need to do this.
>>
>> Thanks for figuring this out.
>
> Should I pull & send to Linus ?
No, I've got another patch to fix a FTRACE issue with SMP CPU bringup. Will post a tree for you here shortly.
- k
More information about the Linuxppc-dev
mailing list