From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epHiM-0004Ot-0d for qemu-devel@nongnu.org; Fri, 23 Feb 2018 13:04:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epHiK-0004qZ-Sz for qemu-devel@nongnu.org; Fri, 23 Feb 2018 13:04:57 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:38037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epHiK-0004ph-MY for qemu-devel@nongnu.org; Fri, 23 Feb 2018 13:04:56 -0500 Received: by mail-pg0-x244.google.com with SMTP id l24so3643432pgc.5 for ; Fri, 23 Feb 2018 10:04:56 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180223112933.4135-1-mark.cave-ayland@ilande.co.uk> References: <20180223112933.4135-1-mark.cave-ayland@ilande.co.uk> From: Peter Maydell Date: Fri, 23 Feb 2018 18:04:35 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH] loader: don't perform overlapping address check for memory region ROM images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland Cc: QEMU Developers , qemu-stable On 23 February 2018 at 11:29, Mark Cave-Ayland wrote: > All memory region ROM images have a base address of 0 which causes the overlapping > address check to fail if more than one memory region ROM image is present, or an > existing ROM image is loaded at address 0. > > Make sure that we ignore the overlapping address check in > rom_check_and_register_reset() if this is a memory region ROM image. In particular > this fixes the "rom: requested regions overlap" error on startup when trying to > run qemu-system-sparc with a -kernel image since commit 7497638642: "tcx: switch to > load_image_mr() and remove prom_addr hack". > > Suggested-by: Peter Maydell > Signed-off-by: Mark Cave-Ayland Reviewed-by: Peter Maydell Do you want to take this via your sparc tree? thanks -- PMM