From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9258606A322 for ; Thu, 3 Dec 2026 22:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=SZQgUTIf Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xZEsR-0005Ht-RC; Thu, 03 Dec 2026 17:02:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZEsF-0005D4-VM for qemu-arm@nongnu.org; Thu, 03 Dec 2026 17:02:02 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xZEsB-0007Ng-Tp for qemu-arm@nongnu.org; Thu, 03 Dec 2026 17:01:53 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4a9a8d6cea8so2839195e9.1 for ; Thu, 03 Dec 2026 14:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796335309; x=1796940109; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to:content-type; bh=F8O168sjBJO0APYUDfPHlCWp6cMcRj/fg0RsLkAMTw4=; b=SZQgUTIfhTz2ypZVYAy4+Cb/EvK4v4D+B/rQKknc8Y41IfD8lJknTXF8XOoyGXXvsg E8AcUHQFZ897/+4DRQ/jcgWjUkg2F9tCOWAHrcJJhx0ALodbL4i4uU4Lk7zRCRhyPTX+ P9FmtgC1tF4RbuZDODFzgUa+beYINx1AZgLxNlPWFno9t8hgOc4tLtX/t4dSfMFxm2cJ +BJzajGnhv0rpgoFwkLnS7J9IpfrnLDRhIjxjClaQfcShzspW3CCl9TgS0P5iAWzpsn9 oYyIhGbDhWjczLtLQo4uNYD7kXsd+gD0SeW7amnoxJOGTDE03YyrG0Lz5e4TCo09XkWZ j72g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796335309; x=1796940109; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=F8O168sjBJO0APYUDfPHlCWp6cMcRj/fg0RsLkAMTw4=; b=ALOHm2p2AoAypy3cG1+z5zEER1lhsKqQ+XN42+cjW6cZK/mnrilJlqMAGwgvcSYvON SVgrYJgTlFlvXqnbH8zKfBh6fpaTMb07zhXG3aDCINkN9AEXlAiJ4EHB1uyBi0a2329C 8/1+2NzLb4Mpjacgc2qOKTOZOGYaOtG6lYy8Tp7ipQfiGcL2rU11n14GV89Lzv3BvgEh w+kNGogJr9vXNn6mkNCft9O4DOQ+W8yNLrKK39b1hn4Rwnq6GW7sSYmRlr8cFO7Y2BuJ nAEs8cDNjNxWI1LQADnD8Tz3fh3f6DwV+PmSmxjMA8ffG7y1kqMqVrJYmVpOPobZgaDo 9I3w== X-Forwarded-Encrypted: i=1; AL+hErHKZARxfuNWfQwdLUwqVpSE6uvNaD10/DsbJnwUbdvbHQtfTla6GGkERE+EKMsawqmjT5AIl0ouqw==@nongnu.org X-Gm-Message-State: APuU4Z/qyKe0q4fuuF9l5z92sSazqNssAaa42Ru2A4kDXxxrccISqd6T nC8QV7zaU5NSKPGFXkzR3uMCbTqt273EJ7Rjl8elyKWqU1GO9or20VXek/i+RHYkV1g= X-Gm-Gg: AZFdTZfYvWpS0SsGVQD5n3qy07APRjMTxsqJlnIkzCgSbZvYXdYukNftO3oLORB++EG VGznk9GjSuOwBWpQY4WlKUEtAKpQ4Vl07VoQFZHhWOB1LdaH8XRcfhd0K64HEX2CA+fZhEpcz0Y Bxw8mfn5YtOaj8xastCd0O+zD8z2dh0vl1BuCzYCib0MTqIGrviHiJE9rwYKh7xNz57rLiF3ZX9 6XfsG27nSKQSUb9RFMP7CTC8hfB6TLPjqpTSrK4V9A0VCMb8GoLLmb3BBDiEGR0fPXxEwyjBWH2 q1Oku8vcw877KHo3Wnrb+zak1Q6u4fBBI2h+FnZPAfGILvUISeAPMjHWaWBJHEFvSb7fJVUheSf GzBN3efKRkmq80sA1rhXYHmyK1Lj43P1/rnte7Ba7kZmo7zhVm/lr9ISLZ5hIe6YWGlvb4fKuvR +1LsYDqW7ShrhLNFIUKEqJYmDDpUTz0MLHHk5iFhH9Ke7CNnnA/mJijknwRLQAX27zRhEQEcS4z iszCl081cYHvXIA1QC8hynaWMS0XvMW8haVS2mAnKXe4yQOultFZtDCW8lGxnwhRbHsaS5qXDHo tHlUPviYh1JrntGsKzJ+E0+imAVR X-Received: by 2002:a05:600c:45c3:b0:49e:65f2:db64 with SMTP id 5b1f17b1804b1-4bbeb851340mr226825e9.5.1796335308102; Thu, 03 Dec 2026 14:01:48 -0800 (PST) Received: from draig.lan ([185.124.0.158]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbe00890bcsm102627205e9.7.2026.12.03.14.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 14:01:47 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1069C5F8DE; Thu, 03 Dec 2026 22:01:46 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Maximilian Zimmermann Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Pierrick Bouvier , Peter Maydell , Paolo Bonzini Subject: Re: [PATCH 1/3] hw/arm: Add Space Cubics SC-OBC Module A1 board In-Reply-To: (Maximilian Zimmermann's message of "Wed, 2 Dec 2026 17:42:47 +0900") References: <20261127-add-scobc-a1-board-v1-0-b572280dcde1@spacecubics.com> <20261127-add-scobc-a1-board-v1-1-b572280dcde1@spacecubics.com> <874id2tc9y.fsf@draig.linaro.org> User-Agent: mu4e 1.14.5-pre2; emacs 30.1 Date: Thu, 03 Dec 2026 22:01:46 +0000 Message-ID: <87h5guyqet.fsf@draig.linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Maximilian Zimmermann writes: > (Re-adding qemu-devel to Cc) > >> This looks fine so: >>=20 >> Reviewed-by: Alex Benn=C3=A9e >>=20 >> 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.=20 > >>=20 >> It might be worth adding a link to the Zephyr board docs: >>=20 >> https://docs.zephyrproject.org/latest/boards/sc/scobc_a1/doc/index.html > > Will do! --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro