Received: from eggs.gnu.org ([2001:4830:134:3::10]:43615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZCIS-0007As-6t for qemu-devel@nongnu.org; Wed, 10 Jan 2018 04:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZCIP-00034u-IL for qemu-devel@nongnu.org; Wed, 10 Jan 2018 04:03:44 -0500 Date: Wed, 10 Jan 2018 19:59:58 +1100 From: David Gibson Message-ID: <20180110085958.GJ19773@umbus.fritz.box> References: <20171016093641.GH2776@umbus.fritz.box> <20171019062440.GY2776@umbus.fritz.box> <699e58bf-de22-5341-ecc6-458df7ccbe65@ozlabs.ru> <9227196b-789c-e4b2-c9c5-4fd95ed42b4e@ozlabs.ru> <20171109063822.GD7732@umbus.fritz.box> <9fabc6c4-9a95-d44e-dc4c-33d91c00fb0c@ozlabs.ru> <20180103000947.GE24581@umbus.fritz.box> <9188ab4a-f3d6-3cfb-ae26-a24f7781fad1@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ah9ph+G2cWRpKogL" Content-Disposition: inline In-Reply-To: <9188ab4a-f3d6-3cfb-ae26-a24f7781fad1@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu v3] RFC: ppc/spapr: Receive and store device tree blob from SLOF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Balbir Singh , Greg Kurz , slof@lists.ozlabs.org, Nikunj A Dadhania , Thomas Huth --Ah9ph+G2cWRpKogL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 08, 2018 at 07:35:43PM +1100, Alexey Kardashevskiy wrote: > On 03/01/18 11:09, David Gibson wrote: > > On Tue, Jan 02, 2018 at 05:13:09PM +1100, Alexey Kardashevskiy wrote: > >> On 11/12/17 17:20, Alexey Kardashevskiy wrote: > >>> On 09/11/17 17:38, David Gibson wrote: > >>>> On Tue, Nov 07, 2017 at 06:14:04PM +1100, Alexey Kardashevskiy wrote: > >>>>> On 20/10/17 11:46, Alexey Kardashevskiy wrote: > >>>>>> On 19/10/17 17:24, David Gibson wrote: > >>>>>>> On Tue, Oct 17, 2017 at 04:55:03PM +1100, Alexey Kardashevskiy wr= ote: > >>>>>>>> On 16/10/17 20:36, David Gibson wrote: > >>>>>>>>> On Mon, Oct 16, 2017 at 04:20:04PM +1100, Alexey Kardashevskiy > >>>>>>>> wrote: > >>>>>>> [snip] > >>>>>>>>> || > >>>>>>>>> > >>>>>>>>> Yeah.. this is all a bit complicated, I'm really thinking about= a > >>>>>>>>> fdt_fsck() function for libfdt. > >>>>>>>> > >>>>>>>> > >>>>>>>> Oh. So what now? Do as below or wait for libdtc update? > >>>>>>> > >>>>>>> So I started hacking on this. It's a bit fiddlier to get right t= han I > >>>>>>> anticipated. How about you make a placeholder function to "test"= the > >>>>>>> tree for now, with a comment that it will be updated once the lib= fdt > >>>>>>> extensions are there. > >>>>>> > >>>>>> What would the placeholder do? Nothing or my proposed "FDT_CHK" th= ingy? > >>>>>> > >>>>>> Are we in a hurry with this one at all, or I can wait till libfdt = gets this > >>>>>> fsck()? > >>>>> > >>>>> > >>>>> Ping? > >>>>> > >>>>> This is not v2.11 material, is it? > >>>> > >>>> Not at this stage, no. > >>>> > >>>> I've started looking at writing the fdt_fsck() thing, but got > >>>> sidetracked by a bunch of related fixes to safety of handling > >>>> corrupted blobs in libfdt. > >>> > >>> Please let me know when I can repost the " > >>> ppc/spapr: Receive and store device tree blob from SLOF" again. Thank= s. > >> > >> > >> Still to early to repost? > >=20 > > No. >=20 >=20 > I looked at the recent libfdt (from qemu tree, sha1 e543880, v1.4.6) and > could not find fdt_fsck() or similar, and I was waiting for this really, > have I missed something? Oh, right, yeah, I haven't had time to look at that again. --=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 --Ah9ph+G2cWRpKogL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAlpV1g4ACgkQbDjKyiDZ s5LRzBAAoT9QvllIDTYivM9cIAQk+mh5sRnOXvMH0Kvh/sgdEGs4RxIjhP/D2PSx O+vy8ck9H5RsaRCpAYFIpRmho531YYeR62AxFxk91Gmlk9Rjv09Sg5N1PVKjqwZP XAb4M9anPoG/sTkYw5WggzObx5kmIhclJsBi4PGpQ0kyIiR/lu0B8DSyQobOYaUB P5yIDmbfdEsitax6tp9YCuycZm0UqwfDY2dzbRVfYPJ4Vfz/NAoS3rHZABZZA2kv 5zAF2KIz8MmRgfYYIeHBIxjrqRYU5sT/qToYNPOGsffIbE/MUsPlQ+/BWvYgH7tu eLezPPkuIHTxX3OVmktpRu225aPoYrvbBwIXiJKv1/OmpOjhYF+THX6E9NhqOFIS rxv92NuP8PNb1zwEQTcjnHyMjZEgIB9JxVDKaMWaVbIDs44zvPWlypNd7fODWPZZ nI44Ve5dtKExqAgOop9sInlCrW8TP7xiUy+AFdisV1INTUt+LnkgiutWe+DfVm01 2oKqqvPG0sQTibzYptOV09ZU4GGmEhkws82FHv322GtNPLraIfbQCqH5hSZYaKqM 8seOoNoyJJyS7nOqUmWF3eTLkjY//UEB/hGhP5V+B4fU7EcbjBvfDX6pbofWirpf IawuFGB33Q0bkYQXYWtVV62MyjcW6eBddu/gIoGWGgZx5Jhz9qI= =Zt4q -----END PGP SIGNATURE----- --Ah9ph+G2cWRpKogL--