From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: benh@au1.ibm.com, "Darrick J. Wong" <darrick.wong@oracle.com>,
Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: kernel bug in "Drop WIMG in favour of new constants"?
Date: Thu, 16 Jun 2016 20:15:42 +0530 [thread overview]
Message-ID: <87r3bx8a5l.fsf@skywalker.in.ibm.com> (raw)
In-Reply-To: <1466078709.24271.17.camel@au1.ibm.com>
Benjamin Herrenschmidt <benh@au1.ibm.com> writes:
>=20=09
> <1466054627.5400.5.camel@ellerman.id.au>
>=20=09
>=20=09
> <20160616055746.GC22590@birch.djwong.org>
>=20=09
>=20=09
> <8737oda1lt.fsf@skywalker.in.ibm.com>
>=20=09
> <87ziql8l93.fsf@skywalker.in.ibm.com>
> <87wplp8kxh.fsf@skywalker.in.ibm.com>
> Organization: IBM Australia
> Content-Type: text/plain; charset=3D"UTF-8"
> X-Mailer: Evolution 3.20.3 (3.20.3-1.fc24)=20
> Mime-Version: 1.0
> Content-Transfer-Encoding: 8bit
>
> On Thu, 2016-06-16 at 16:22 +0530, Aneesh Kumar K.V wrote:
>> Hmm Qemu=C2=A0 does
>>=20
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* Looks like an IO address */
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* FIXME: What WIMG combinati=
ons could be sensible for IO?
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * For now we allow WIMG=
=3D010x, but are there others? */
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* FIXME: Should we check aga=
inst registered IO addresses? */
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if ((ptel & (HPTE64_R_W | HPT=
E64_R_I | HPTE64_R_M)) !=3D HPTE64_R_I) {
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retur=
n H_PARAMETER;
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }
>>=20
>> -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
next prev parent reply other threads:[~2016-06-16 14:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-16 4:33 kernel bug in "Drop WIMG in favour of new constants"? Darrick J. Wong
2016-06-16 5:23 ` Michael Ellerman
2016-06-16 5:57 ` Darrick J. Wong
2016-06-16 10:07 ` Aneesh Kumar K.V
2016-06-16 10:46 ` Aneesh Kumar K.V
2016-06-16 10:52 ` Aneesh Kumar K.V
2016-06-16 12:05 ` Benjamin Herrenschmidt
2016-06-16 14:45 ` Aneesh Kumar K.V [this message]
2016-06-16 14:31 ` Aneesh Kumar K.V
2016-06-16 22:30 ` Benjamin Herrenschmidt
2016-06-17 1:49 ` Darrick J. Wong
2016-06-16 16:23 ` Darrick J. Wong
2016-06-16 5:28 ` Balbir Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3bx8a5l.fsf@skywalker.in.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=benh@au1.ibm.com \
--cc=darrick.wong@oracle.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).