linux/arch
Alexey Kardashevskiy 6ecad912a0 powerpc/ioda: Set "read" permission when "write" is set
Quite often drivers set only "write" permission assuming that this
includes "read" permission as well and this works on plenty of
platforms. However IODA2 is strict about this and produces an EEH when
"read" permission is not set and reading happens.

This adds a workaround in the IODA code to always add the "read" bit
when the "write" bit is set.

Fixes: 10b35b2b74 ("powerpc/powernv: Do not set "read" flag if direction==DMA_NONE")
Cc: stable@vger.kernel.org # 4.2+
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Tested-by: Douglas Miller <dougmill@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-02-17 23:52:17 +11:00
..
alpha arch/*/include/uapi/asm/mman.h: : let MADV_FREE have same value for all architectures 2016-01-15 17:56:32 -08:00
arc Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
arm virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
arm64 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
avr32 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32 2016-01-18 12:50:55 -08:00
blackfin virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
c6x Merge branch 'for-linux-next' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming 2016-01-12 13:00:16 -08:00
cris cris: nand: remove useless mtd->priv = chip assignments 2015-12-18 13:22:11 -08:00
frv frv: fix compiler warning from definition of __pmd() 2016-01-15 17:56:32 -08:00
h8300 h8300: Rename ctlr_out/in[bwl] to raw_read/write[bwl] 2015-12-15 10:12:03 +01:00
hexagon
ia64 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
m32r m32r: fix m32104ut_defconfig build fail 2016-01-14 16:00:49 -08:00
m68k Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-01-12 17:11:47 -08:00
metag virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
microblaze Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
mips virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
mn10300 libnvdimm, pfn, pmem: allocate memmap array in persistent memory 2016-01-15 17:56:32 -08:00
nios2 nios2: fix cache coherency 2015-11-26 22:25:58 +08:00
openrisc
parisc Merge branch 'parisc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2016-01-17 13:20:54 -08:00
powerpc powerpc/ioda: Set "read" permission when "write" is set 2016-02-17 23:52:17 +11:00
s390 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
score
sh virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
sparc virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
tile virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
um um: kill pfn_t 2016-01-15 17:56:32 -08:00
unicore32 Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
x86 platform-drivers-x86 for 4.5-1 2016-01-19 17:54:15 -08:00
xtensa virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
.gitignore
Kconfig mm: mmap: add new /proc tunable for mmap_base ASLR 2016-01-14 16:00:49 -08:00