Thread (24 messages) 24 messages, 4 authors, 2012-11-16

[PATCH V2 4/5] arm: mm: Added support for PJ4B cpu and init routines

From: Russell King - ARM Linux <hidden>
Date: 2012-11-14 00:14:38
Also in: linux-devicetree

On Mon, Oct 29, 2012 at 10:11:47PM +0100, Gregory CLEMENT wrote:
+	/* Auxiliary Debug Modes Control 2 Register */
+	mrc	p15, 1,	r0, c15, c1, 2
+	bic	r0, r0, #(1 << 23)   @ Enable fast LDR.
+	orr	r0, r0, #(1 << 25)   @ Dont interleave write and snoop data.
+	orr	r0, r0, #(1 << 27)   @ Disable Critical Word First feature.
+	orr	r0, r0, #(1 << 29)   @ Disable outstanding non cacheable request
+	orr	r0, r0, #(1 << 30)   @ L1 replacement - Strict round robin
This just looks silly to me - setting five bits with five instructions
when they can all be done in one instruction.  Yes, I know you want
to comment it, but there's other ways to achieve that.
+__v7_pj4b_proc_info:
+	.long	0x562f5842
+	.long	0xffffffff
Same comment here as Will :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help