From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Date: Fri, 28 Mar 2008 09:10:46 +0000 Subject: Re: [kvm-ppc-devel] [PATCH 4 of 4] [qemu ppc pci] Emulate the Message-Id: <47ECB616.5090600@linux.vnet.ibm.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: kvm-ppc@vger.kernel.org Hollis Blanchard wrote: I always used a bamboo.dts -> dtb out of my kernel tree and used that one a= long time, so I never saw this issue. I tried to convert this bamboo.dts file in qemu into a dtb file today and s= aw that it does not compile (nether with nor without that new patch, the pa= tch only pointed me to that file). paelzer@HeliosPrime ~/Desktop/KVM/ppc_port/kvm-userspace-vio/qemu/pc-bios $= dtc -I dts -O dtb -o bamboo.dtb2 bamboo.dts DTC: dts->dtb on file "bamboo.dts" bamboo.dts:20 syntax error FATAL ERROR: Couldn't read input tree Is this correct/expected atm or do we have to fix something here before thi= s goes upstream ? > diff --git a/qemu/pc-bios/bamboo.dts b/qemu/pc-bios/bamboo.dts > --- a/qemu/pc-bios/bamboo.dts > +++ b/qemu/pc-bios/bamboo.dts > @@ -187,6 +187,45 @@ >=20 > }; >=20 > + PCI0: pci@ec000000 { > + device_type =3D "pci"; > + #interrupt-cells =3D <1>; > + #size-cells =3D <2>; > + #address-cells =3D <3>; > + compatible =3D "ibm,plb440ep-pci", "ibm,plb-pci"; > + primary; > + reg =3D <0 eec00000 8 /* Config space access */ > + 0 eed00000 4 /* IACK */ > + 0 eed00000 4 /* Special cycle */ > + 0 ef400000 40>; /* Internal registers */ > + =20 > + /* Outbound ranges, one memory and one IO, > + * later cannot be changed. Chip supports a second > + * IO range but we don't use it for now > + */ > + ranges =3D <02000000 0 a0000000 0 a0000000 0 20000000 > + 01000000 0 00000000 0 e8000000 0 00010000>; > + =20 > + /* Inbound 2GB range starting at 0 */ > + dma-ranges =3D <42000000 0 0 0 0 0 80000000>; > + =20 > + /* Bamboo has all 4 IRQ pins tied together per slot */ > + interrupt-map-mask =3D ; > + interrupt-map =3D < > + /* IDSEL 1 */ > + 0800 0 0 0 &UIC0 1c 8 > + =20 > + /* IDSEL 2 */ > + 1000 0 0 0 &UIC0 1b 8 > + =20 > + /* IDSEL 3 */ > + 1800 0 0 0 &UIC0 1a 8 > + =20 > + /* IDSEL 4 */ > + 2000 0 0 0 &UIC0 19 8 > + >; > + }; > + > }; >=20 > chosen { >=20 > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpl= ace > _______________________________________________ > kvm-ppc-devel mailing list > kvm-ppc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel --=20 Gr=FCsse / regards,=20 Christian Ehrhardt IBM Linux Technology Center, Open Virtualization ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel