Re: [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-16 Thread Igor Mammedov
On Thu, 16 Jan 2020 16:14:45 +0100 Philippe Mathieu-Daudé wrote: > On 1/15/20 10:59 PM, BALATON Zoltan wrote: > > On Wed, 15 Jan 2020, Philippe Mathieu-Daudé wrote: > >> On 1/15/20 7:15 PM, BALATON Zoltan wrote: > >>> On Wed, 15 Jan 2020, Igor Mammedov wrote: > From: Philippe Mathieu-D

Re: [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-16 Thread Philippe Mathieu-Daudé
On 1/15/20 10:59 PM, BALATON Zoltan wrote: On Wed, 15 Jan 2020, Philippe Mathieu-Daudé wrote: On 1/15/20 7:15 PM, BALATON Zoltan wrote: On Wed, 15 Jan 2020, Igor Mammedov wrote: From: Philippe Mathieu-Daudé The firmware has to reside in the PDC range. If the Elf file expects to load it below

Re: [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-15 Thread BALATON Zoltan
On Wed, 15 Jan 2020, Philippe Mathieu-Daudé wrote: On 1/15/20 7:15 PM, BALATON Zoltan wrote: On Wed, 15 Jan 2020, Igor Mammedov wrote: From: Philippe Mathieu-Daudé The firmware has to reside in the PDC range. If the Elf file expects to load it below FIRMWARE_START, it is incorrect, regardless

Re: [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-15 Thread Philippe Mathieu-Daudé
On 1/15/20 7:15 PM, BALATON Zoltan wrote: On Wed, 15 Jan 2020, Igor Mammedov wrote: From: Philippe Mathieu-Daudé The firmware has to reside in the PDC range. If the Elf file expects to load it below FIRMWARE_START, it is incorrect, regardless the RAM size. Acked-by: Helge Deller Signed-off-b

Re: [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-15 Thread BALATON Zoltan
On Wed, 15 Jan 2020, Igor Mammedov wrote: From: Philippe Mathieu-Daudé The firmware has to reside in the PDC range. If the Elf file expects to load it below FIRMWARE_START, it is incorrect, regardless the RAM size. Acked-by: Helge Deller Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Ric

[PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range

2020-01-15 Thread Igor Mammedov
From: Philippe Mathieu-Daudé The firmware has to reside in the PDC range. If the Elf file expects to load it below FIRMWARE_START, it is incorrect, regardless the RAM size. Acked-by: Helge Deller Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Igor Mammedov