From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fixy1-0006qs-C7 for qemu-devel@nongnu.org; Fri, 27 Jul 2018 04:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fixxy-0003JX-6z for qemu-devel@nongnu.org; Fri, 27 Jul 2018 04:19:17 -0400 Message-ID: From: Benjamin Herrenschmidt Date: Fri, 27 Jul 2018 18:18:51 +1000 In-Reply-To: <25b9402d-d3e3-ca43-7f57-698650f0681f@kaod.org> References: <20180628083633.12413-1-clg@kaod.org> <20180628083633.12413-2-clg@kaod.org> <1c0ea35e33f56f5127e5c934ca107775fd4933f1.camel@kernel.crashing.org> <25b9402d-d3e3-ca43-7f57-698650f0681f@kaod.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 1/2] ppc/pnv: Add model for Power8 PHB3 PCIe Host bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?C=E9dric?= Le Goater , David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Marcel Apfelbaum , Andrea Bolognani , "Michael S. Tsirkin" On Fri, 2018-07-27 at 09:16 +0200, C=C3=A9dric Le Goater wrote: > > I'd have to remember how PQ works on P8 ... my gut feeling is that we > > should resend if P=3D1 but I'm no 100% certain. >=20 > This is not exactly what the code does. To force a resend, it ignores=20 > P but if Q=3D1, it bails out without doing anything, like a normal trig= ger=20 > would do. So I think that in the resend case we should ignore Q as well. Not too sure. We might need to swallow the resend if PQ became 01. I don't know for sure what the HW does. Does it unconditionally resend or does it re-evaluate the priority etc... it's unclear to me. But yes, we should still resend if PQ=3D11 Cheers, Ben.