From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Xcq-0004Th-4C for qemu-devel@nongnu.org; Mon, 30 Nov 2015 18:12:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Xcm-0004Fx-QK for qemu-devel@nongnu.org; Mon, 30 Nov 2015 18:12:52 -0500 Message-ID: <1448925157.3685.0.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Tue, 01 Dec 2015 10:12:37 +1100 In-Reply-To: <565CBE96.8040909@fr.ibm.com> References: <1447201710-10229-1-git-send-email-benh@kernel.crashing.org> <564290E1.3090205@redhat.com> <1447203387.31884.126.camel@kernel.crashing.org> <5642B59E.2070101@ozlabs.ru> <1447213139.31884.136.camel@kernel.crashing.org> <5642BEF9.90406@ozlabs.ru> <1447215397.31884.140.camel@kernel.crashing.org> <5642C6F0.9040200@ozlabs.ru> <56582EAF.40103@suse.de> <1448697599.3172.1.camel@kernel.crashing.org> <565C925F.60306@fr.ibm.com> <1448914172.2666.40.camel@kernel.crashing.org> <565CBE96.8040909@fr.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/77] ppc: Add "native" POWER8 platform List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?C=E9dric?= Le Goater , Alexander Graf , Alexey Kardashevskiy , Eric Blake , qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org On Mon, 2015-11-30 at 22:24 +0100, C=C3=A9dric Le Goater wrote: > > In practice we should read the partition tables, I don't like hard > > coded offsets... But we should probably create a proper "flash driver= " > > that does a bunch of this, and also adds the BMC style flash interfac= e > > so OPAL can write to nvram. >=20 > yes that would be better but I don't measure what it takes to implement= =C2=A0 > the LPC/AHB bridge to access the PNOR. Yeah that's probably a little bit of work, but then there's also work being done to protect the flash using IPMI commands to do the flashing, so that could be an alternate option. I like emulating more of the BMC though, including the flash controller, as it would improve our testing coverage. Cheers, Ben.