From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TisQE-0000LW-0M for qemu-devel@nongnu.org; Wed, 12 Dec 2012 14:56:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TisQ8-0005eG-8h for qemu-devel@nongnu.org; Wed, 12 Dec 2012 14:56:49 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:46589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TisQ8-0005aq-12 for qemu-devel@nongnu.org; Wed, 12 Dec 2012 14:56:44 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Dec 2012 19:56:24 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qBCJuUhQ2294052 for ; Wed, 12 Dec 2012 19:56:30 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qBCJubsH014001 for ; Wed, 12 Dec 2012 12:56:38 -0700 Message-ID: <50C8E173.6090209@de.ibm.com> Date: Wed, 12 Dec 2012 20:56:35 +0100 From: Christian Borntraeger MIME-Version: 1.0 References: <1355317734-55761-1-git-send-email-jfrei@linux.vnet.ibm.com> <1355317734-55761-2-git-send-email-jfrei@linux.vnet.ibm.com> <338C5027-5A15-4E2C-9408-0B65D7508D14@suse.de> In-Reply-To: <338C5027-5A15-4E2C-9408-0B65D7508D14@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] s390: Move IPL code into a separate device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Heinz Graalfs , qemu-devel , Andreas Faerber , Jens Freimann , Cornelia Huck , Einar Lueck On 12/12/12 14:31, Alexander Graf wrote: >> +void s390_ipl_cpu(uint64_t pswaddr) > > Any reason this isn't inlined inside the reset handler? And why is this public? Well, the former patch version had the disk bootmap parsing in a separate file, but we can certainly unexport that and make it inline in this patch. [...] >> +#define KERN_IMAGE_START 0x010000UL >> +#define KERN_PARM_AREA 0x010480UL >> +#define INITRD_START 0x800000UL >> +#define INITRD_PARM_START 0x010408UL >> +#define INITRD_PARM_SIZE 0x010410UL >> +#define PARMFILE_START 0x001000UL >> +#define ZIPL_FILENAME "s390-zipl.rom" >> +#define ZIPL_IMAGE_START 0x009000UL >> +#define IPL_PSW_MASK 0x0000000180000000ULL > > I don't think we need the above values outside of ipl.c, no? :) See above. Will move that into ipl.c