Received: from eggs.gnu.org ([2001:4830:134:3::10]:37921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkx3O-0004wk-Iv for qemu-devel@nongnu.org; Fri, 16 Sep 2016 13:35:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkx3K-0008To-V7 for qemu-devel@nongnu.org; Fri, 16 Sep 2016 13:35:57 -0400 Received: from 19.mo6.mail-out.ovh.net ([188.165.56.177]:52326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkx3K-0008TE-Or for qemu-devel@nongnu.org; Fri, 16 Sep 2016 13:35:54 -0400 Received: from player776.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo6.mail-out.ovh.net (Postfix) with ESMTP id 680E3FFA0A5 for ; Fri, 16 Sep 2016 19:35:52 +0200 (CEST) References: <1473943560-14846-1-git-send-email-clg@kaod.org> <1473943560-14846-10-git-send-email-clg@kaod.org> <1473977631.8689.373.camel@kernel.crashing.org> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: <7aa86591-fbdd-7e16-e992-d92af535c51e@kaod.org> Date: Fri, 16 Sep 2016 19:35:47 +0200 MIME-Version: 1.0 In-Reply-To: <1473977631.8689.373.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 09/10] ppc/pnv: add a LPC controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt , qemu-ppc@nongnu.org Cc: David Gibson , qemu-devel@nongnu.org On 09/16/2016 12:13 AM, Benjamin Herrenschmidt wrote: > On Thu, 2016-09-15 at 14:45 +0200, C=C3=A9dric Le Goater wrote: >> This version of the LPC controller model doesn't yet implement >> support for the SerIRQ deserializer present in the Naples version >> of the chip though some preliminary work is there. >=20 > The version in my branch has this support btw. Yes. there is some of it in patch 10 :=20 + if (pcc->chip_type =3D=3D PNV_CHIP_POWER8NVL) { + irqs =3D qemu_allocate_irqs(pnv_lpc_isa_irq_handler, lpc, 16); + } else { + irqs =3D qemu_allocate_irqs(pnv_lpc_isa_irq_handler_cpld, NULL, = 16); + } but these are empty shell for the moment as I need PSI, and so XICS=20 native, to go forward. Working on it. Cheers, C.