qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-stable] [Qemu-devel] [PATCH] loader: don't perform overlapping


From: Mark Cave-Ayland
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH] loader: don't perform overlapping address check for memory region ROM images
Date: Fri, 23 Feb 2018 18:53:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 23/02/18 18:04, Peter Maydell wrote:

On 23 February 2018 at 11:29, Mark Cave-Ayland
<address@hidden> 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 <address@hidden>
Signed-off-by: Mark Cave-Ayland <address@hidden>

Reviewed-by: Peter Maydell <address@hidden>

Do you want to take this via your sparc tree?

I can do, although I don't have any outstanding SPARC patches (just PPC ones for the moment) so it would just be a single commit PR. Is that okay?


ATB,

Mark.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]