forked from Minki/linux
powerpc/fsl-booke: Get coherent bit from PTE
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>
This commit is contained in:
parent
d6ccb1f55d
commit
9d296cfa69
@ -746,9 +746,6 @@ finish_tlb_load:
|
||||
rlwimi r12, r11, 32-19, 27, 31 /* extract WIMGE from pte */
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user