[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150222112213.72c49d4a@canb.auug.org.au>
Date: Sun, 22 Feb 2015 11:22:13 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
David Daney <david.daney@...ium.com>,
"Steven J. Hill" <Steven.Hill@...tec.com>
Subject: linux-next: manual merge of the mips tree with Linus' tree
Hi Ralf,
Today's linux-next merge of the mips tree got a conflict in
arch/mips/mm/tlb-r4k.c between commit 9ead8632bbf4 ("MIPS: Fix
C0_Pagegrain[IEC] support") from Linus' tree and commit a5770df09541
("MIPS: Add set/clear CP0 macros for PageGrain register") from the mips
tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
diff --cc arch/mips/mm/tlb-r4k.c
index 30639a6e9b8c,b2afa49beab0..000000000000
--- a/arch/mips/mm/tlb-r4k.c
+++ b/arch/mips/mm/tlb-r4k.c
@@@ -485,13 -485,11 +485,14 @@@ static void r4k_tlb_configure(void
* Enable the no read, no exec bits, and enable large virtual
* address.
*/
+ u32 pg = PG_RIE | PG_XIE;
++
++ if (cpu_has_rixiex)
++ pg |= PG_IEC;
#ifdef CONFIG_64BIT
- set_c0_pagegrain(PG_RIE | PG_XIE | PG_ELPA);
-#else
- set_c0_pagegrain(PG_RIE | PG_XIE);
+ pg |= PG_ELPA;
#endif
- if (cpu_has_rixiex)
- pg |= PG_IEC;
- write_c0_pagegrain(pg);
++ set_c0_pagegrain(pg);
}
temp_tlb_entry = current_cpu_data.tlbsize - 1;
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists