Benjamin Herrenschmidt <[email protected]> writes: > > <[email protected]> > > > <[email protected]> > > > <[email protected]> > > <[email protected]> > <[email protected]> > 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 [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
