[PATCH 2/2] ARM: sun7i/sun6i: irqchip: Disable NMI before registering the handler

Maxime Ripard maxime.ripard at free-electrons.com
Mon Mar 31 07:06:31 EDT 2014


On Thu, Mar 27, 2014 at 06:02:39PM +0100, Carlo Caione wrote:
> From: Hans de Goede <hdegoede at redhat.com>
> 
> It is advisable to disable the NMI before registering the IRQ handler as
> registering the IRQ handler unmasks the IRQ on the GIC, so if U-Boot has
> left the NMI enabled and the NMI pin is active we will immediately get
> an interrupt before any driver has claimed the downstream interrupt of
> the NMI.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> Signed-off-by: Carlo Caione <carlo at caione.org>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Thanks!

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140331/ece0e7d5/attachment.sig>


More information about the linux-arm-kernel mailing list