Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d296cfa authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent d6ccb1f5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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