Re: [PATCH kernel v2] powerpc/ioda: Set "read" permission when "write" is set

2016-02-17 Thread Benjamin Herrenschmidt
On Wed, 2016-02-17 at 18:26 +1100, 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

[PATCH kernel v2] powerpc/ioda: Set "read" permission when "write" is set

2016-02-16 Thread Alexey Kardashevskiy
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