Thread (12 messages) 12 messages, 4 authors, 2011-03-08
STALE5569d

[PATCH 1/2] ARM: l2x0: Errata fix for flush by Way operationcan cause data corruption

From: Santosh Shilimkar <hidden>
Date: 2011-02-28 03:45:52
Also in: linux-omap

-----Original Message-----
From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
Sent: Sunday, February 27, 2011 5:30 PM
To: Santosh Shilimkar
Cc: linux-arm-kernel at lists.infradead.org; tony at atomide.com;
catalin.marinas at arm.com; linux-omap at vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Way
operationcan cause data corruption

On Fri, Feb 18, 2011 at 06:05:24PM +0530, Santosh Shilimkar wrote:
[...]
quoted
@@ -329,6 +330,7 @@ void __init l2x0_init(void __iomem *base,
__u32 aux_val, __u32 aux_mask)
quoted
 	outer_cache.flush_all = l2x0_flush_all;
 	outer_cache.inv_all = l2x0_inv_all;
 	outer_cache.disable = l2x0_disable;
+	outer_cache.set_debug = NULL;
	outer_cache.set_debug = l2x0_set_debug;

may result in more efficient code as we're avoiding having to test
the value of outer_cache.set_debug each time we want to call it and
branch appropriately.
Ok. Will do the necessary change and submit it to patch System

Regards,
Santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help