Re: [PATCH v2] powerpc/mpic: Add DT option to skip readback after EOI

2015-01-28 Thread Scott Wood
On Wed, 2015-01-28 at 14:15 -0600, Segher Boessenkool wrote: > On Tue, Jan 27, 2015 at 03:57:53PM -0600, Scott Wood wrote: > > At this point, given the previous discussion, does anyone object to > > removing the readback entirely? Do we have any evidence that reading > > WHOAMI is effective at add

Re: [PATCH v2] powerpc/mpic: Add DT option to skip readback after EOI

2015-01-28 Thread Segher Boessenkool
On Tue, Jan 27, 2015 at 03:57:53PM -0600, Scott Wood wrote: > At this point, given the previous discussion, does anyone object to > removing the readback entirely? Do we have any evidence that reading > WHOAMI is effective at addressing whatever problem reading EOI made go > away on the relevant p

Re: [PATCH v2] powerpc/mpic: Add DT option to skip readback after EOI

2015-01-27 Thread Scott Wood
On Tue, 2015-01-27 at 15:19 +, Bogdan Purcareata wrote: > The readback acts as a synchronization mechanism in handling external > interrupts, making sure the core waits until EOI write completion. This is > required in certain scenarios, such as when the MPIC communicates with a PCI > device in

[PATCH v2] powerpc/mpic: Add DT option to skip readback after EOI

2015-01-27 Thread Bogdan Purcareata
The readback acts as a synchronization mechanism in handling external interrupts, making sure the core waits until EOI write completion. This is required in certain scenarios, such as when the MPIC communicates with a PCI device in posted write mode. If the device uses legacy interrupts, and the CP