Re: [RFC PATCH] arm: imx: Workaround i.MX6 PMU interrupts muxed to one SPI

From: Arnd Bergmann
Date: Thu Nov 20 2014 - 06:48:59 EST


On Thursday 20 November 2014 11:42:37 Daniel Thompson wrote:
> Notes:
> This patch adopts the approach used on the u8500 (db8500_pmu_handler)
> but the logic has been generalized for any number of CPUs, mostly
> because the i.MX6 has a both dual and quad core variants.
>
> However it might be better to include the generalized logic in the main
> armpmu code. I think the logic could be deployed automatically on SMP
> systems with only a single not-percpu IRQ, replacing the
> plat->handle_irq dance we currently do to hook up this code.
>
> Thoughts? (or is there already shared logic to do this that I
> overlooked)
>

I would definitely prefer to have this handled in the armpmu implementation,
given that there are at least two platforms that need the exact same
hack.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/