[PATCH] powerpc/mpic: Add DT option to skip readback after EOI
Scott Wood
scottwood at freescale.com
Thu Jan 15 04:58:32 AEDT 2015
On Wed, 2015-01-14 at 11:57 +0000, Bogdan Purcareata wrote:
> The readback is necessary in order to handle PCI posted
> writes,
That is unclear.
> or when the MPIC is handling interrupts in a loop
> (ppc_md.get_irq).
I'm questioning this one as well -- if reading WHOAMI is sufficient to
sync with the EOI, why wouldn't reading INTACK work as well?
> Newer MPIC versions don't require this readback. Leave the option
> configurable using a device tree entry.
>
> This saves a MMIO trap per interrupt.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
You should note changes (e.g. with a [] note between signoffs) if it
differs from the original...
-Scott
More information about the Linuxppc-dev
mailing list