From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyUJf-00085a-ML for qemu-devel@nongnu.org; Mon, 16 Nov 2015 19:40:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyUJc-0001PX-GV for qemu-devel@nongnu.org; Mon, 16 Nov 2015 19:40:11 -0500 Message-ID: <1447720804.3729.17.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Tue, 17 Nov 2015 11:40:04 +1100 In-Reply-To: <564A7584.5060605@ozlabs.ru> References: <1447201710-10229-1-git-send-email-benh@kernel.crashing.org> <1447201710-10229-42-git-send-email-benh@kernel.crashing.org> <564A7584.5060605@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 41/77] ppc/pnv: Add LPC controller and hook it up with a UART and RTC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org On Tue, 2015-11-17 at 11:32 +1100, Alexey Kardashevskiy wrote: > On 11/11/2015 11:27 AM, Benjamin Herrenschmidt wrote: > > This adds a model of the POWER8 LPC controller. It is then used > > by the PowerNV code to attach a UART and RTC, which, with the right > > version of OPAL firmware, will provide a working console. > > > > 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. > > > > Is this LPC controller one per a chip or per a machine? Per chip but we usually only wire one up per machine. > In general it is quite nice when "-nodefaults" does not create > neither PHB nor LPC so the user can add them manually with parameters > different than defaults. In this case though, PHB and LPC bridges are all part of the P8 chip, and I'm trying to represent that topology as best as possible. I think "-nodefaults" for Pnv should only be about the devices we attach to the LPC/PHB not the busses themselves. Cheers, Ben.