On Wed, 2016-17-02 at 07:26:31 UTC, Alexey Kardashevskiy wrote: > Quite often drivers set only "write" permission assuming that this > includes "read" permission as well and this works on plenty platforms. > However IODA2 is strict about this and produces an EEH when "read" > permission is not and reading happens. > > This adds a workaround in IODA code to always add the "read" bit when > the "write" bit is set. > > This fixes breakage introduced in > 10b35b2b74 powerpc/powernv: Do not set "read" flag if direction==DMA_NONE > > Cc: sta...@vger.kernel.org # 4.2+ > Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> > Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru> > Tested-by: Douglas Miller <dougm...@linux.vnet.ibm.com>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/6ecad912a0073c768db1491c27 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev