qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH v2 5/5] hw/arm/aspeed: Check for CPU types in machine_run_boa


From: Richard Henderson
Subject: Re: [PATCH v2 5/5] hw/arm/aspeed: Check for CPU types in machine_run_board_init()
Date: Thu, 25 Jan 2024 09:18:07 +1000
User-agent: Mozilla Thunderbird

On 1/24/24 08:48, Philippe Mathieu-Daudé wrote:
Aspeed SoCs use a single CPU type (set as AspeedSoCClass::cpu_type).
Convert it to a NULL-terminated array (of a single non-NULL element).

Set MachineClass::valid_cpu_types[] to use the common machine code
to provide hints when the requested CPU is invalid (see commit
e702cbc19e ("machine: Improve is_cpu_type_supported()").

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  include/hw/arm/aspeed_soc.h |  3 ++-
  hw/arm/aspeed.c             |  1 +
  hw/arm/aspeed_ast10x0.c     |  6 +++++-
  hw/arm/aspeed_ast2400.c     | 12 ++++++++++--
  hw/arm/aspeed_ast2600.c     |  6 +++++-
  hw/arm/aspeed_soc_common.c  |  5 ++++-
  6 files changed, 27 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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