diff options
author | Felipe Balbi <balbi@ti.com> | 2015-01-03 01:18:54 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-22 19:37:42 +0300 |
commit | 6ed3464897cc825a75218653c710d673282dfcf8 (patch) | |
tree | 1d40b327048a981db84bc7a41862cbd75cb5ba86 /drivers/irqchip/exynos-combiner.c | |
parent | e10fc03c4f89e5191f0ad2a3885d476f498bf131 (diff) | |
download | linux-6ed3464897cc825a75218653c710d673282dfcf8.tar.xz |
irqchip: omap-intc: Improve IRQ handler
As it turns out the current IRQ number will *always* be available from
SIR register which renders the reads of PENDING registers as plain
unnecessary overhead.
In order to catch any situation where SIR reads as zero, we're adding
a WARN() to turn it into a very verbose error and users actually
report it.
With this patch average running time of omap_intc_handle_irq() reduced
from about 28.5us to 19.8us as measured by the kernel function
profiler.
Tested with BeagleBoneBlack Rev A5C.
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Cc: Linux ARM Kernel Mailing List <linux-arm-kernel@lists.infradead.org>
Link: http://lkml.kernel.org/r/20150720204910.GH5394@saruman.tx.rr.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/exynos-combiner.c')
0 files changed, 0 insertions, 0 deletions