qemu-devel
[Top][All Lists]
Advanced

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

RE: [PATCH 4/4] docs/system: Add a64fx(Fujitsu A64FX processor) to suppo


From: address@hidden
Subject: RE: [PATCH 4/4] docs/system: Add a64fx(Fujitsu A64FX processor) to supported guest CPU type
Date: Thu, 29 Jul 2021 10:26:21 +0000

> If you want this CPU to work with the virt board, then yes.
> You should put it above 'host' and 'max' (because those are
> not-real-cpu special cases, so it makes more sense for them to be last
> in the list).
> 
> More generally: how are you testing this patchset? To test it
> you should have at least one board that lets you use the new
> CPU type so you can boot some guest with it. So if that's not
> "virt" then what is it?

We are testing it on the virt board.
Therefore, we will fix it as you suggested.

Best regards.

> -----Original Message-----
> From: Peter Maydell <peter.maydell@linaro.org>
> Sent: Thursday, July 29, 2021 6:43 PM
> To: Ishii, Shuuichirou/石井 周一郎 <ishii.shuuichir@fujitsu.com>
> Cc: Thomas Huth <thuth@redhat.com>; Laurent Vivier <lvivier@redhat.com>;
> Paolo Bonzini <pbonzini@redhat.com>; qemu-arm <qemu-arm@nongnu.org>;
> QEMU Developers <qemu-devel@nongnu.org>
> Subject: Re: [PATCH 4/4] docs/system: Add a64fx(Fujitsu A64FX processor) to
> supported guest CPU type
> 
> On Thu, 29 Jul 2021 at 08:31, ishii.shuuichir@fujitsu.com
> <ishii.shuuichir@fujitsu.com> wrote:
> >
> > Hi, Peter.
> >
> > > This adds a64fx to the list of CPUs we support in the 'virt' board, but 
> > > it hasn't
> > > changed the valid_cpus[] array in hw/arm/virt.c, so trying to actually 
> > > use -cpu
> > > a64fx with -machine virt will fail.
> >
> > I'm sorry, but just to be sure, let me check.
> >
> > Is it correct to understand that the above comment means that we need to add
> > the following fixes included in "[PATCH 2/4] target-arm: cpu64: Add support 
> > for
> Fujitsu A64FX" patch
> > within this patch to make it a meaningful fix within one patch?
> >
> > > diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> > > index 93ab9d2..2e91991 100644
> > > --- a/hw/arm/virt.c
> > > +++ b/hw/arm/virt.c
> > > @@ -202,6 +202,7 @@ static const char *valid_cpus[] = {
> > > ARM_CPU_TYPE_NAME("cortex-a72"),
> > > ARM_CPU_TYPE_NAME("host"),
> > > ARM_CPU_TYPE_NAME("max"),
> > > + ARM_CPU_TYPE_NAME("a64fx"),
> > > };
> 
> If you want this CPU to work with the virt board, then yes.
> You should put it above 'host' and 'max' (because those are
> not-real-cpu special cases, so it makes more sense for them to be last
> in the list).
> 
> More generally: how are you testing this patchset? To test it
> you should have at least one board that lets you use the new
> CPU type so you can boot some guest with it. So if that's not
> "virt" then what is it?
> 
> -- PMM

reply via email to

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