Thread (44 messages) 44 messages, 14 authors, 2015-07-08

[PATCH 02/15] regmap: kill off set_irq_flags usage

From: Russell King - ARM Linux <hidden>
Date: 2015-06-09 21:27:29
Also in: lkml

On Tue, Jun 09, 2015 at 08:12:11PM +0100, Mark Brown wrote:
On Tue, Jun 09, 2015 at 01:26:28PM -0500, Rob Herring wrote:
quoted
clear that is really needed. There appears to be a great deal of blind
copy and paste of this code.
Well, I don't think it's blind - IIRC it's just that this code all
predates the genirq flags and ARM had the opposite default to x86 (I
guess because of being conservative about all the random interrupt
controllers you get and what might be hanging off them) so we needed to
do this dance to get interrupts to work.
It's because there exist platforms where specific IRQs are permanently
asserted, and unexpectedly claiming such an interrupt (eg, through IRQ
probing) would lock the system - at least before we ended up with the
detection in genirq (which has its roots in the ARM code.)

The problem is we're dealing with history here, and flipping ARM from
defaulting to "IRQs not valid" to "All IRQs valid" is a far from
trivial task.

I'd suggest people think carefully about applying these patches.  They
have only been around for a matter of hours, so to rush to apply them
when they haven't been revewied as a whole to assess whether the approach
is the right one is rather hasty.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help