Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAPoL-0005Rn-8V for qemu-devel@nongnu.org; Wed, 10 Dec 2008 09:13:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAPoJ-0005Rb-Sa for qemu-devel@nongnu.org; Wed, 10 Dec 2008 09:13:08 -0500 Received: from [199.232.76.173] (port=54115 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAPoJ-0005RW-Kg for qemu-devel@nongnu.org; Wed, 10 Dec 2008 09:13:07 -0500 Received: from web27208.mail.ukl.yahoo.com ([217.146.182.98]:30889) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LAPoJ-0007N6-5y for qemu-devel@nongnu.org; Wed, 10 Dec 2008 09:13:07 -0500 Date: Wed, 10 Dec 2008 14:13:05 +0000 (GMT) From: Salvatore Lionetti Subject: Re: [Qemu-devel] [PATCH 1/3] PPC4xx IIC and MAL In-Reply-To: <1228841861.17963.15.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <505560.69650.qm@web27208.mail.ukl.yahoo.com> Reply-To: salvatorelionetti@yahoo.it, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hollis Blanchard Cc: qemu-devel Ok 1) The line code modified is 80% IIC, only few row about MAL 2) MAL until today (if ever this patch enter in qemu) is only used to rw re= gisters, so no malfunction is present. 3) As you can see many ppc* file are to modify since I2C previous support i= t totally not integrated: have sense modify ppc* and never use an IIC devic= e? 4) Is error prone and very tedious to extract some code, expecially if ther= e is no modularity advantage: one piece require the other, 5) I already have successfully tested the expected patch. 6) I can't do that directly so every time have 2 see if main line is update= d or not, merge svn file with current my patch status 7) Who apply the patch only apply one click? In this moment i have no time to make all this retail and test. Thanks for punctual feeling. Salvatore --- Mar 9/12/08, Hollis Blanchard ha scritto: > Da: Hollis Blanchard > Oggetto: Re: [Qemu-devel] [PATCH 1/3] PPC4xx IIC and MAL > A: salvatorelionetti@yahoo.it > Cc: "qemu-devel" > Data: Marted=EC 9 dicembre 2008, 17:57 > On Tue, 2008-12-09 at 01:46 +0000, Salvatore Lionetti wrote: > > Hi > >=20 > > This set of patch try to full support hw present in > 'walnut' board. > > http://elinux.org/DHT-Walnut > >=20 > > The fw used to successfully verify board is > u-boot-1.3.4. > >=20 > > The only component not tested is PCI: perhaps should > be a good start > > point for Hollis 's recent work, which i thanks > for previous code > > review. > >=20 > > 1) IIC: new eeprom device, full emulation of 4xx > master core=20 > > MAL: Moved interface so can be shared with other > modules > > 4xx boards: move MAL & IIC common part between > ppc4xx cpu > > add a list of created devices, so > machine 2 phase > > creation is allowed, > >=20 > > Warning: to compile: > > - comment line 'ppc4xx_emac_init(...)' in > module hw/ppc405_boards.c > > - rename ppc405ep_init(args) in > ppc405xp_init("405ep", args, NULL) > >=20 > > Files changed: > > - Makefile.target > > - Makefile > > - hw/ppc405_uc.c > > - hw/ppc4xx_devs.c > > - hw/ppc405.h > > - hw/i2c.h > > - hw/iic_eeprom.c (Added) > > - hw/ppc4xx.h >=20 > Please split this into smaller patches which can be more > easily > reviewed. For example, you should send one patch that > *only* moves the > i2c code (and makes no changes). Then submit a patch that > modifies the > code in its new location. You should submit separate > patches for MAL and > I2C. You should not change the DEBUG #defines, nor add > debug calls to > printf. >=20 > In other words, please remove all extraneous changes from > your patch, > and break it up into small self-contained pieces that can > be committed > one by one. >=20 > --=20 > Hollis Blanchard > IBM Linux Technology Center=0A=0A=0A