From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdAt3-0006LX-LP for qemu-devel@nongnu.org; Fri, 08 Jun 2012 21:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdAt1-0007QJ-My for qemu-devel@nongnu.org; Fri, 08 Jun 2012 21:54:45 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58171 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdAt1-0007Q4-EE for qemu-devel@nongnu.org; Fri, 08 Jun 2012 21:54:43 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 9 Jun 2012 03:54:28 +0200 Message-Id: <1339206871-4706-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/3] xilinx: Speed up the build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Peter A. G. Crosthwaite" , Alexander Graf , Blue Swirl , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello Edgar and Peter, With the Makefile refactoring applied now, here's the Makefile improvemen= ts for MicroBlaze I mentioned. All Xilinx devices that are used for more than one softmmu are compiled o= nce in libhw32. Actually some also in libhw64 due to ppc440 being compiled in= to ppc64, but we can fix that in a second step via Alex' ppc-next, we're alr= eady down from thrice to twice. The middle patch is extracted from Blue's logging refactoring. Please test and apply. Your s3adp1800 and virtel_ml507 test images compla= in both with and without patches about not finding "eth0". Selftest complete= s ok except for not finding /usr/bin/sha1test on ppc440. xilinx_ethlite.c uses tswap32(). Have you ever tested this device to work= on microblazeel? I wonder if we could change the device from DEVICE_NATIVE_E= NDIAN to DEVICE_BIG_ENDIAN and in place of tswap32() use a bswap32() conditiona= l on HOST_WORDS_BIGENDIAN so that it becomes independent of the target, too? Instead of adding random devices to hw/microblaze/Makefile.objs in new se= ries, they should be added to hw/Makefile.objs with appropriate CONFIG_* option= s set in default-configs/microblaze[el]-softmmu.mak as demonstrated here, easy = to do and also ensures that the appropriate poisoning is applied. Regards, Andreas Cc: Edgar E. Iglesias Cc: Peter A. G. Crosthwaite Cc: Alexander Graf Cc: Blue Swirl Andreas F=C3=A4rber (3): hw/xilinx_*: Share Xilinx devices between ppc and microblaze qemu-log: Allow usage in libhw xilinx_axi*: Share devices between microblaze and microblazeel default-configs/microblaze-softmmu.mak | 2 ++ default-configs/microblazeel-softmmu.mak | 2 ++ default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + hw/Makefile.objs | 7 +++++++ hw/microblaze/Makefile.objs | 5 ----- hw/ppc/Makefile.objs | 3 --- qemu-log.h | 2 ++ 9 files changed, 16 insertions(+), 8 deletions(-) --=20 1.7.7