All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Maximilian Zimmermann <maxz@spacecubics.com>
Cc: qemu-devel@nongnu.org,  qemu-arm@nongnu.org,
	 Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,
	 Peter Maydell <peter.maydell@linaro.org>,
	 Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH 1/3] hw/arm: Add Space Cubics SC-OBC Module A1 board
Date: Thu, 03 Dec 2026 22:01:46 +0000	[thread overview]
Message-ID: <87h5guyqet.fsf@draig.linaro.org> (raw)
In-Reply-To: <aw_TfUD0M8qbJOwo@Toshiko> (Maximilian Zimmermann's message of "Wed, 2 Dec 2026 17:42:47 +0900")

Maximilian Zimmermann <maxz@spacecubics.com> writes:

> (Re-adding qemu-devel to Cc)
>
>> This looks fine so:
>> 
>> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
>> 
>> What is the intention going forward, will the other parts of memory map
>> get implemented in the future? Is this model useful to anybody beyond
>> booting an Arm kernel and accessing the UART?
>
> Thank you for the review!
>
> The intention is to implement all devices, with the most probable next
> devices being I2C, sysmon and sysreg. Generally for all devices the
> FPGA register map is available online.
>
> Currently I agree that the base board is not that useful in terms of
> modeled hardware, but instead of creating a large patch series as a
> first time contributor, I decided to start with a small subset, which
> allows basic usage in Zephyr. If you would prefer a larger series
> (with more devices already implemented) I can also follow that
> approach.

No I think it's fine to add it in stages as long as that is the
direction its going. The raspi model has been growing in bits and pieces
for years.

>
> Another point I would like to ask about is how to best handle device
> changes. For example the currently modeled board is Rev. 2. In the
> future some devices may change, so the currently used Xilinx UART will
> be replaced by our SC-UART. In that case, I would introduce a subclass
> for each revision and use a base class for shared hardware, similar to
> hw/arm/mps2.c. Is it better to introduce this structure already or
> wait until a revision change becomes necessary?

I'd wait - don't over complicate code in anticipation of the future that
may or may not come.

> Also would you prefer
> -M scobc-a1 pointing at the latest revision, while keeping the revision
> explicit with scobc-a1-rev2 or just the latter with no alias?

Versioned machines are generally for the virtualisation use can and
handling migration across versions. For embedded stuff we tend to just
have additional machine types. They can still share code. 

>
>> 
>> It might be worth adding a link to the Zephyr board docs:
>> 
>>   https://docs.zephyrproject.org/latest/boards/sc/scobc_a1/doc/index.html
>
> Will do!

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  reply	other threads:[~2026-12-03 22:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  2:13 [PATCH 0/3] hw/arm: Add Space Cubics SC-OBC Module A1 board support Maximilian Zimmermann
2026-11-27  2:13 ` [PATCH 1/3] hw/arm: Add Space Cubics SC-OBC Module A1 board Maximilian Zimmermann
     [not found]   ` <874id2tc9y.fsf@draig.linaro.org>
2026-12-02  8:42     ` Maximilian Zimmermann
2026-12-03 22:01       ` Alex Bennée [this message]
2026-11-27  2:13 ` [PATCH 2/3] hw/arm/scobc_a1: Add mission bus UARTs Maximilian Zimmermann
2026-11-27 17:31   ` Alex Bennée
2026-11-27  2:13 ` [PATCH 3/3] tests/functional/arm: Add SC-OBC Module A1 test Maximilian Zimmermann
2026-11-27 17:21   ` Alex Bennée
2026-12-03  1:42     ` Maximilian Zimmermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h5guyqet.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=maxz@spacecubics.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.