* [PATCH] [POWERPC] 4xx: Clear new TLB cache attribute bits in Data Storage vector
@ 2008-06-17 22:34 Josh Boyer
2008-06-17 22:36 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Josh Boyer @ 2008-06-17 22:34 UTC (permalink / raw)
To: linuxppc-dev
A recent commit added support for the new 440x6 and 464 cores that have the
added WL1, IL1I, IL1D, IL2I, and ILD2 bits for the caching attributes in the
TLBs. The new bits were cleared in the finish_tlb_load function, however a
similar bit of code was missed in the DataStorage interrupt vector.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
---
arch/powerpc/kernel/head_44x.S | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S
index c2b9dc4..22b5d2c 100644
--- a/arch/powerpc/kernel/head_44x.S
+++ b/arch/powerpc/kernel/head_44x.S
@@ -368,7 +368,12 @@ interrupt_base:
rlwimi r11,r13,0,26,31 /* Insert static perms */
- rlwinm r11,r11,0,20,15 /* Clear U0-U3 */
+ /*
+ * Clear U0-U3 and WL1 IL1I IL1D IL2I IL2D bits which are added
+ * on newer 440 cores like the 440x6 used on AMCC 460EX/460GT (see
+ * include/asm-powerpc/pgtable-ppc32.h for details).
+ */
+ rlwinm r11,r11,0,20,10
/* find the TLB index that caused the fault. It has to be here. */
tlbsx r10, 0, r10
--
1.5.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [POWERPC] 4xx: Clear new TLB cache attribute bits in Data Storage vector
2008-06-17 22:34 [PATCH] [POWERPC] 4xx: Clear new TLB cache attribute bits in Data Storage vector Josh Boyer
@ 2008-06-17 22:36 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2008-06-17 22:36 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
On Tue, 17 Jun 2008 18:34:39 -0400
Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
> A recent commit added support for the new 440x6 and 464 cores that have the
> added WL1, IL1I, IL1D, IL2I, and ILD2 bits for the caching attributes in the
> TLBs. The new bits were cleared in the finish_tlb_load function, however a
> similar bit of code was missed in the DataStorage interrupt vector.
>
> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Paul, this needs to go into 2.6.26. Do you have anything else queued
up at the moment, or should I put this in my tree and ask Linus to pull
it in?
Sorry for the late fix. It was just noticed today.
josh
> ---
> arch/powerpc/kernel/head_44x.S | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S
> index c2b9dc4..22b5d2c 100644
> --- a/arch/powerpc/kernel/head_44x.S
> +++ b/arch/powerpc/kernel/head_44x.S
> @@ -368,7 +368,12 @@ interrupt_base:
>
> rlwimi r11,r13,0,26,31 /* Insert static perms */
>
> - rlwinm r11,r11,0,20,15 /* Clear U0-U3 */
> + /*
> + * Clear U0-U3 and WL1 IL1I IL1D IL2I IL2D bits which are added
> + * on newer 440 cores like the 440x6 used on AMCC 460EX/460GT (see
> + * include/asm-powerpc/pgtable-ppc32.h for details).
> + */
> + rlwinm r11,r11,0,20,10
>
> /* find the TLB index that caused the fault. It has to be here. */
> tlbsx r10, 0, r10
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-17 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 22:34 [PATCH] [POWERPC] 4xx: Clear new TLB cache attribute bits in Data Storage vector Josh Boyer
2008-06-17 22:36 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).