Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114555
b: refs/heads/master
c: b38fd42
h: refs/heads/master
i:
  114553: 03faebb
  114551: 023d440
v: v3
  • Loading branch information
Kumar Gala committed Sep 19, 2008
1 parent d7472e6 commit 10fb86c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33a7f122740bd820a029faf450a9a0caa9458426
refs/heads/master: b38fd42ff46a4a31dced8533e8a6e549693500b6
26 changes: 21 additions & 5 deletions trunk/arch/powerpc/kernel/head_fsl_booke.S
Original file line number Diff line number Diff line change
Expand Up @@ -579,13 +579,19 @@ interrupt_base:

FIND_PTE
andc. r13,r13,r11 /* Check permission */
bne 2f /* Bail if permission mismach */

#ifdef CONFIG_PTE_64BIT
lwz r13, 0(r12)
#ifdef CONFIG_SMP
subf r10,r11,r12 /* create false data dep */
lwzx r13,r11,r10 /* Get upper pte bits */
#else
lwz r13,0(r12) /* Get upper pte bits */
#endif
#endif

/* Jump to common tlb load */
bne 2f /* Bail if permission/valid mismach */

/* Jump to common tlb load */
b finish_tlb_load
2:
/* The bailout. Restore registers to pre-exception conditions
Expand Down Expand Up @@ -640,10 +646,20 @@ interrupt_base:

FIND_PTE
andc. r13,r13,r11 /* Check permission */

#ifdef CONFIG_PTE_64BIT
#ifdef CONFIG_SMP
subf r10,r11,r12 /* create false data dep */
lwzx r13,r11,r10 /* Get upper pte bits */
#else
lwz r13,0(r12) /* Get upper pte bits */
#endif
#endif

bne 2f /* Bail if permission mismach */

#ifdef CONFIG_PTE_64BIT
lwz r13, 0(r12)
lwz r13,0(r12)
#endif

/* Jump to common TLB load point */
Expand Down Expand Up @@ -702,7 +718,7 @@ interrupt_base:
/*
* Both the instruction and data TLB miss get to this
* point to load the TLB.
* r10 - EA of fault
* r10 - available to use
* r11 - TLB (info from Linux PTE)
* r12 - available to use
* r13 - upper bits of PTE (if PTE_64BIT) or available to use
Expand Down

0 comments on commit 10fb86c

Please sign in to comment.