From: Santosh Shilimkar Date: Mon, 28 Mar 2011 13:57:46 +0000 (+0530) Subject: ARM: GIC: Convert GIC library to use the IO relaxed operations X-Git-Tag: v3.0-rc1~328^2^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac77e469e991e9dd91b28e503fa24b5609eedba;p=pandora-kernel.git ARM: GIC: Convert GIC library to use the IO relaxed operations The GIC register accesses today make use of readl()/writel() which prove to be very expensive when used along with mandatory barriers. This mandatory barriers also introduces an un-necessary and expensive l2x0_sync() operation. On Cortex-A9 MP cores, GIC IO accesses from CPU are direct and doesn't go through L2X0 write buffer. A DSB before writel_relaxed() in gic_raise_softirq() is added to be compliant with the Barrier Litmus document - the mailbox scenario. Signed-off-by: Santosh Shilimkar Acked-by: Catalin Marinas Cc: Will Deacon --- Reading git-diff-tree failed