[PATCH 3/4] hw/hppa: Require SeaBIOS version 22 for A400 machine

deller@kernel.org posted 4 patches 1 month, 3 weeks ago
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>
[PATCH 3/4] hw/hppa: Require SeaBIOS version 22 for A400 machine
Posted by deller@kernel.org 1 month, 3 weeks ago
From: Helge Deller <deller@gmx.de>

Require at least SeaBIOS version 22 before adding the A400 machine.
This is required, because version 22 adds the A400 machine definition
and provides the necessary 64-bit PAT firmware. All other machines up to
now used only the 32- or 64-bit PDC firmware without the PAT extensions.

Signed-off-by: Helge Deller <deller@gmx.de>
---
 hw/hppa/machine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index d6aeb793c0..5ce4a17915 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -45,7 +45,7 @@ struct HppaMachineState {
     MachineState parent_obj;
 };
 
-#define MIN_SEABIOS_HPPA_VERSION 19 /* require at least this fw version */
+#define MIN_SEABIOS_HPPA_VERSION 22 /* require at least this fw version */
 
 #define HPA_POWER_BUTTON        (FIRMWARE_END - 0x10)
 static hwaddr soft_power_reg;
-- 
2.53.0
Re: [PATCH 3/4] hw/hppa: Require SeaBIOS version 22 for A400 machine
Posted by Anton Johansson via qemu development 1 month, 3 weeks ago
On 18/02/26, deller@kernel.org wrote:
> From: Helge Deller <deller@gmx.de>
> 
> Require at least SeaBIOS version 22 before adding the A400 machine.
> This is required, because version 22 adds the A400 machine definition
> and provides the necessary 64-bit PAT firmware. All other machines up to
> now used only the 32- or 64-bit PDC firmware without the PAT extensions.
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> ---
>  hw/hppa/machine.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
> index d6aeb793c0..5ce4a17915 100644
> --- a/hw/hppa/machine.c
> +++ b/hw/hppa/machine.c
> @@ -45,7 +45,7 @@ struct HppaMachineState {
>      MachineState parent_obj;
>  };
>  
> -#define MIN_SEABIOS_HPPA_VERSION 19 /* require at least this fw version */
> +#define MIN_SEABIOS_HPPA_VERSION 22 /* require at least this fw version */
>  
>  #define HPA_POWER_BUTTON        (FIRMWARE_END - 0x10)
>  static hwaddr soft_power_reg;
> -- 
> 2.53.0
> 

Reviewed-by: Anton Johansson <anjo@rev.ng>