Benjamin Herrenschmidt <b...@au1.ibm.com> writes:

>       
>  <1466054627.5400.5.ca...@ellerman.id.au>
>       
>       
>  <20160616055746.gc22...@birch.djwong.org>
>       
>       
>  <8737oda1lt....@skywalker.in.ibm.com>
>       
>        <87ziql8l93....@skywalker.in.ibm.com>
>        <87wplp8kxh....@skywalker.in.ibm.com>
> Organization: IBM Australia
> Content-Type: text/plain; charset="UTF-8"
> X-Mailer: Evolution 3.20.3 (3.20.3-1.fc24) 
> Mime-Version: 1.0
> Content-Transfer-Encoding: 8bit
>
> On Thu, 2016-06-16 at 16:22 +0530, Aneesh Kumar K.V wrote:
>> Hmm Qemu  does
>> 
>>         /* Looks like an IO address */
>>         /* FIXME: What WIMG combinations could be sensible for IO?
>>          * For now we allow WIMG=010x, but are there others? */
>>         /* FIXME: Should we check against registered IO addresses? */
>>         if ((ptel & (HPTE64_R_W | HPTE64_R_I | HPTE64_R_M)) != HPTE64_R_I) {
>>             return H_PARAMETER;
>>         }
>> 
>> -aneesh
>
> And what do we get ? M ? I think we might be OR'ing it
> unconditionaly...
>

Yes we do. We did that for a long time. But we had special case handing
for the lpar case. I already sent a patch to update that. But I am not
sure whether to fix this in the kernel or in Qemu.

-aneesh

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to