All of lore.kernel.org
 help / color / mirror / Atom feed
* Procedures adding new CPUs in sbsa-ref
@ 2022-04-08  4:38 Itaru Kitayama
  2022-04-08 15:03 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Itaru Kitayama @ 2022-04-08  4:38 UTC (permalink / raw)
  To: qemu-devel

Hi,
I'd like to add a64fx cpu to the sbsa-ref board, if there's a quick and dirty
way of completing that, advice from the  maintainers is greatly appreciated.

Thanks,
Itaru.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Procedures adding new CPUs in sbsa-ref
  2022-04-08  4:38 Procedures adding new CPUs in sbsa-ref Itaru Kitayama
@ 2022-04-08 15:03 ` Peter Maydell
  2022-04-10 23:41   ` Itaru Kitayama
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2022-04-08 15:03 UTC (permalink / raw)
  To: Itaru Kitayama; +Cc: Leif Lindholm, Radoslaw Biernacki, qemu-devel

On Fri, 8 Apr 2022 at 15:59, Itaru Kitayama <itaru.kitayama@gmail.com> wrote:
> I'd like to add a64fx cpu to the sbsa-ref board, if there's a quick and dirty
> way of completing that, advice from the  maintainers is greatly appreciated.

I have cc'd the sbsa-ref maintainers (as listed in the MAINTAINERS file).

However, I'm not sure why you want to add the a64fx CPU to this
board model? The sbsa-ref board is intended as a platform for
developing firmware that runs on Server Base System Architecture
hardware, so it deliberately doesn't have support for every CPU
type QEMU implements.

thanks
-- PMM


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Procedures adding new CPUs in sbsa-ref
  2022-04-08 15:03 ` Peter Maydell
@ 2022-04-10 23:41   ` Itaru Kitayama
  2022-04-11 15:16     ` Alex Bennée
  0 siblings, 1 reply; 5+ messages in thread
From: Itaru Kitayama @ 2022-04-10 23:41 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Leif Lindholm, Radoslaw Biernacki, qemu-devel

Good point; however per the SBSA specification, DEN0029F, there's the
PE architecture requirement at
each level from 1 to 7, so now I am wondering whether supporting
cortex-a57 and a72 are good enough to
set up a fully SBSA level 7 compliant "board" in QMEU. Also, the 'max'
is there, but does not boot.

Itaru.

On Sat, Apr 9, 2022 at 12:04 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Fri, 8 Apr 2022 at 15:59, Itaru Kitayama <itaru.kitayama@gmail.com> wrote:
> > I'd like to add a64fx cpu to the sbsa-ref board, if there's a quick and dirty
> > way of completing that, advice from the  maintainers is greatly appreciated.
>
> I have cc'd the sbsa-ref maintainers (as listed in the MAINTAINERS file).
>
> However, I'm not sure why you want to add the a64fx CPU to this
> board model? The sbsa-ref board is intended as a platform for
> developing firmware that runs on Server Base System Architecture
> hardware, so it deliberately doesn't have support for every CPU
> type QEMU implements.
>
> thanks
> -- PMM


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Procedures adding new CPUs in sbsa-ref
  2022-04-10 23:41   ` Itaru Kitayama
@ 2022-04-11 15:16     ` Alex Bennée
  2022-04-12  9:20       ` Itaru Kitayama
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Bennée @ 2022-04-11 15:16 UTC (permalink / raw)
  To: Itaru Kitayama
  Cc: Peter Maydell, Leif Lindholm, qemu-devel, Radoslaw Biernacki


Itaru Kitayama <itaru.kitayama@gmail.com> writes:

> Good point; however per the SBSA specification, DEN0029F, there's the
> PE architecture requirement at
> each level from 1 to 7, so now I am wondering whether supporting
> cortex-a57 and a72 are good enough to
> set up a fully SBSA level 7 compliant "board" in QMEU.

Not currently - we are working on cortex-a76/neoverse-n1 which will
provide a v8.2 baseline for sbsa-ref. See:

  Subject: [PATCH 00/16] target/arm: Implement features Debugv8p4, RAS, IESB
  Date: Fri,  8 Apr 2022 17:07:26 -0700
  Message-Id: <20220409000742.293691-1-richard.henderson@linaro.org>

and:

  Subject: [PATCH 0/7] target/arm: More trivial features, A76, N1
  Date: Sat,  9 Apr 2022 22:57:18 -0700
  Message-Id: <20220410055725.380246-1-richard.henderson@linaro.org>

which are stepping stones to those concrete models. Please review if you
can. 

> Also, the 'max'
> is there, but does not boot.

Generally the firmware has to be built with the knowledge of what system
it is running on so will generally fall over if run on a different CPU
feature set. However I believe Leif had a firmware branch which attempts
to work with -cpu max by doing proper ID register probing before using
features. However -cpu max is very a moving feast which is why there is
a push for the concrete CPU types.

I believe there is a proposal for a versioned sbsa-ref model which will
step of the default CPU for higher levels.

>
> Itaru.
>
> On Sat, Apr 9, 2022 at 12:04 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>>
>> On Fri, 8 Apr 2022 at 15:59, Itaru Kitayama <itaru.kitayama@gmail.com> wrote:
>> > I'd like to add a64fx cpu to the sbsa-ref board, if there's a quick and dirty
>> > way of completing that, advice from the  maintainers is greatly appreciated.
>>
>> I have cc'd the sbsa-ref maintainers (as listed in the MAINTAINERS file).
>>
>> However, I'm not sure why you want to add the a64fx CPU to this
>> board model? The sbsa-ref board is intended as a platform for
>> developing firmware that runs on Server Base System Architecture
>> hardware, so it deliberately doesn't have support for every CPU
>> type QEMU implements.
>>
>> thanks
>> -- PMM


-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Procedures adding new CPUs in sbsa-ref
  2022-04-11 15:16     ` Alex Bennée
@ 2022-04-12  9:20       ` Itaru Kitayama
  0 siblings, 0 replies; 5+ messages in thread
From: Itaru Kitayama @ 2022-04-12  9:20 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Peter Maydell, Leif Lindholm, qemu-devel, Radoslaw Biernacki

[-- Attachment #1: Type: text/plain, Size: 2579 bytes --]

On Tue, Apr 12, 2022 at 0:22 Alex Bennée <alex.bennee@linaro.org> wrote:

>
> Itaru Kitayama <itaru.kitayama@gmail.com> writes:
>
> > Good point; however per the SBSA specification, DEN0029F, there's the
> > PE architecture requirement at
> > each level from 1 to 7, so now I am wondering whether supporting
> > cortex-a57 and a72 are good enough to
> > set up a fully SBSA level 7 compliant "board" in QMEU.
>
> Not currently - we are working on cortex-a76/neoverse-n1 which will
> provide a v8.2 baseline for sbsa-ref. See:
>
>   Subject: [PATCH 00/16] target/arm: Implement features Debugv8p4, RAS,
> IESB
>   Date: Fri,  8 Apr 2022 17:07:26 -0700
>   Message-Id: <20220409000742.293691-1-richard.henderson@linaro.org>
>
> and:
>
>   Subject: [PATCH 0/7] target/arm: More trivial features, A76, N1
>   Date: Sat,  9 Apr 2022 22:57:18 -0700
>   Message-Id: <20220410055725.380246-1-richard.henderson@linaro.org>
>
> which are stepping stones to those concrete models. Please review if you
> can.


Sure, Shuichi and I will review Richard’s series and give feedback if
there’s any.

Itaru.


>
> > Also, the 'max'
> > is there, but does not boot.
>
> Generally the firmware has to be built with the knowledge of what system
> it is running on so will generally fall over if run on a different CPU
> feature set. However I believe Leif had a firmware branch which attempts
> to work with -cpu max by doing proper ID register probing before using
> features. However -cpu max is very a moving feast which is why there is
> a push for the concrete CPU types.
>
> I believe there is a proposal for a versioned sbsa-ref model which will
> step of the default CPU for higher levels.
>
> >
> > Itaru.
> >
> > On Sat, Apr 9, 2022 at 12:04 AM Peter Maydell <peter.maydell@linaro.org>
> wrote:
> >>
> >> On Fri, 8 Apr 2022 at 15:59, Itaru Kitayama <itaru.kitayama@gmail.com>
> wrote:
> >> > I'd like to add a64fx cpu to the sbsa-ref board, if there's a quick
> and dirty
> >> > way of completing that, advice from the  maintainers is greatly
> appreciated.
> >>
> >> I have cc'd the sbsa-ref maintainers (as listed in the MAINTAINERS
> file).
> >>
> >> However, I'm not sure why you want to add the a64fx CPU to this
> >> board model? The sbsa-ref board is intended as a platform for
> >> developing firmware that runs on Server Base System Architecture
> >> hardware, so it deliberately doesn't have support for every CPU
> >> type QEMU implements.
> >>
> >> thanks
> >> -- PMM
>
>
> --
> Alex Bennée
>

[-- Attachment #2: Type: text/html, Size: 3724 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-12  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08  4:38 Procedures adding new CPUs in sbsa-ref Itaru Kitayama
2022-04-08 15:03 ` Peter Maydell
2022-04-10 23:41   ` Itaru Kitayama
2022-04-11 15:16     ` Alex Bennée
2022-04-12  9:20       ` Itaru Kitayama

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.