From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emHjI-0005bU-PQ for qemu-devel@nongnu.org; Thu, 15 Feb 2018 06:29:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emHjH-0008Uz-Qv for qemu-devel@nongnu.org; Thu, 15 Feb 2018 06:29:32 -0500 Received: from mail-ot0-x244.google.com ([2607:f8b0:4003:c0f::244]:42060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emHjH-0008Uj-LQ for qemu-devel@nongnu.org; Thu, 15 Feb 2018 06:29:31 -0500 Received: by mail-ot0-x244.google.com with SMTP id a7so23109384otk.9 for ; Thu, 15 Feb 2018 03:29:31 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Thu, 15 Feb 2018 11:29:10 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 4/6] raspi: Specify the valid CPUs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: QEMU Developers , Alistair Francis , Eduardo Habkost , Marcel Apfelbaum , Igor Mammedov , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= On 2 February 2018 at 00:42, Alistair Francis wrote: > List all possible valid CPU options. > > Signed-off-by: Alistair Francis > Reviewed-by: Philippe Mathieu-Daud=C3=A9 > --- > > V5: > - Use cpu_model names > V4: > - Remove spaces > V3: > - Add static property > V2: > - Fix the indentation > > hw/arm/raspi.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c > index cd5fa8c3dc..745a880726 100644 > --- a/hw/arm/raspi.c > +++ b/hw/arm/raspi.c > @@ -158,6 +158,11 @@ static void raspi2_init(MachineState *machine) > setup_boot(machine, 2, machine->ram_size - vcram_size); > } > > +static const char *raspi2_valid_cpus[] =3D { > + "cortex-a7", > + NULL > +}; Is this definitely right? Looking at the code, the raspi2 board creates a TYPE_BCM2836, and that creates cortex-a15 CPUs... thanks -- PMM