projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ccb1f
)
powerpc/fsl-booke: Get coherent bit from PTE
author
Kumar Gala
<galak@kernel.crashing.org>
Wed, 17 Mar 2010 04:39:56 +0000
(23:39 -0500)
committer
Kumar Gala
<galak@kernel.crashing.org>
Wed, 17 Mar 2010 04:39:56 +0000
(23:39 -0500)
We shouldn't be always setting 'M' in the TLB entry since its reasonable
for somethings to be mapped non-coherent. The PTE should have 'M' set
properly.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/head_fsl_booke.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/head_fsl_booke.S
b/arch/powerpc/kernel/head_fsl_booke.S
index
25793bb
..
a7cf493
100644
(file)
--- a/
arch/powerpc/kernel/head_fsl_booke.S
+++ b/
arch/powerpc/kernel/head_fsl_booke.S
@@
-747,9
+747,6
@@
finish_tlb_load:
#else
rlwimi r12, r11, 26, 27, 31 /* extract WIMGE from pte */
#endif
-#ifdef CONFIG_SMP
- ori r12, r12, MAS2_M
-#endif
mtspr SPRN_MAS2, r12
#ifdef CONFIG_PTE_64BIT