Subject: Re: [RFC, kernel] powerpc/ioda: Set "read" permission when "write" is set

From: Alexey Kardashevskiy <[email-masked]>
Date: Wed, 17 Feb 2016 18:29:10 +1100

On 02/16/2016 02:18 PM, Michael Ellerman wrote:
> On Tue, 2016-12-01 at 04:40:20 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.
>>
>> Cc: Benjamin Herrenschmidt <[email-masked]>
>> Signed-off-by: Alexey Kardashevskiy <[email-masked]>
>> Tested-by: Douglas Miller <[email-masked]>
>
> Are you planning on sending a non-RFC version of this?

Just posted.

> If so is it an urgent fix I should send upstream now?

Yes.

 > And if so should it also be CC'ed to stable?

Ben suggested that yes, it should. Thanks. Sorry about breaking things.

-- 
Alexey