From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhVxk-0005zU-M9 for qemu-devel@nongnu.org; Wed, 07 Sep 2016 02:03:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhVxi-000165-Nw for qemu-devel@nongnu.org; Wed, 07 Sep 2016 02:03:55 -0400 Date: Wed, 7 Sep 2016 15:46:16 +1000 From: David Gibson Message-ID: <20160907054616.GO2780@voom.fritz.box> References: <1472661255-20160-1-git-send-email-clg@kaod.org> <1472661255-20160-4-git-send-email-clg@kaod.org> <20160905033909.GA3816@voom.fritz.box> <4e91a240-3a44-d96d-fb6e-74d9637ccd92@kaod.org> <20160907015932.GE2780@voom.fritz.box> <1473226066.8689.64.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="da9oBGf5DLtF9ehv" Content-Disposition: inline In-Reply-To: <1473226066.8689.64.camel@kernel.crashing.org> Subject: Re: [Qemu-devel] [PATCH v2 3/7] ppc/pnv: Add XSCOM infrastructure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: =?iso-8859-1?Q?C=E9dric?= Le Goater , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf --da9oBGf5DLtF9ehv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 07, 2016 at 03:27:46PM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2016-09-07 at 11:59 +1000, David Gibson wrote: > >=20 > > That does suggest an alternative approach though.=A0 You could remove > > XScomDevice entirely from QOM existence, and just expose the xscom > > address space globally, much like address_space_memory.=A0 The > > individual devices could just register their own subregions within > > it. > >=20 > > I'm not sure if the latter is a good idea, though. >=20 > Not globally, per chip. Right, that's probably better. Not immediately sure how the scomdevice would get hold of its chip's scom AS, but we can probably figure out something. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --da9oBGf5DLtF9ehv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXz6moAAoJEGw4ysog2bOSEi4P/RuLyQElDb2rfuTr/8DEmQz6 SbiV/hsXck8TG/aLN7sKhLJm5MdilxqphXdIZhcd9J8pLFJwgxa/2yHRfTvltwf6 EcyL9siUntUjowC14F1lBJuWdd/Wdpod2YUbCIVOlP1frieE2T1bi5Ba9xdWEkgE jY5WbsG00Invz1Tbn9bT//q9/tZoR8z28mRUxiqDjH8QgbqPYC/r4gkNcUbbrZz1 LR7O3U45/L05c5SPy93kgkcfimJNgspmWcfURnqPFCJzs+BgEe4EGhIZnDGOeYxM keg+nttisnTKv5wY/No3KkNjcKCZIOa8gLQKeuyE+gMarHDPVjyQY95SGIT7CTWo xNC4dX+d9se63q6C+CTPDlQ/iEEgLkY60M5bumSsP8Y18yDsAAUQ+D9F5ptOYmLW wt8A1+Ao7SekwsLbkaSMKKkatOhg15XYo9jMdlmx/do+AcPgD7BPGF3MCHc90/NA ZcfRO2ux3bwyxMOulX2AoacqBr6byF9pzvMDQvluZCVq4Zsgihp6taTif3n0MLQr xehKNDHFwOFXLS561dBGqy/LRRx4v1yoO4vRwUnHoNGeYRa4zZWCMVWKwjqB5Odb X0Wj6xCwJC9X80DPr28ZPrsqhV/BM1DFHcA3VsWTFPoN7Nl6BxBnyVvQiJ3cxVGH LQM6dTYWIUW7f1sJPhAt =I0Af -----END PGP SIGNATURE----- --da9oBGf5DLtF9ehv--