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 2B7A6606A31A for ; Wed, 2 Dec 2026 08:43:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=spacecubics-com.20260707.gappssmtp.com header.i=@spacecubics-com.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=nvFwzhVx Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xYfvb-0002Ue-4n; Wed, 02 Dec 2026 03:43:03 -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 1xYfvX-0002UA-Nl for qemu-arm@nongnu.org; Wed, 02 Dec 2026 03:43:00 -0500 Received: from mail-dy1-x132b.google.com ([2607:f8b0:4864:20::132b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xYfvV-00058W-OZ for qemu-arm@nongnu.org; Wed, 02 Dec 2026 03:42:59 -0500 Received: by mail-dy1-x132b.google.com with SMTP id 5a478bee46e88-33bf40b0c8bso8412067eec.0 for ; Wed, 02 Dec 2026 00:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spacecubics-com.20260707.gappssmtp.com; s=20260707; t=1796200976; x=1796805776; darn=nongnu.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=3kv648EfUMXhCI/mn62Vh8h3NfRxaYiqJmdrP+zzjs0=; b=nvFwzhVx3rBgZ1YdUai+5iWC+0mvgc6j2pyewJ29OkIoq+sfcnroK7iOLKAT8jKJcj Da5Id5UNtusZgAYtNZti0CdKSPUx9Pn0ZNekKVlzY0SgG7WdPnOq3NGdCY9Rk9sPcb2/ Zs9q6fMMIAfrIYgI054XeBBIdonnSuD1OzKM0/ewYap8ZXnFoRTS9QXDzBmwKo/PkMKy /UvB+q5dW0Y/Jk7sJAR46j5nc9sXsN5ZhBdhacPVD92qX/P1M+pUTQSBbVrIiJnRwoRC wbO7lZnjSTpHBl7TPLgYuVbqhgpYBKGTzFlLrD7kRsbsFZoaH6kmOY9bh+mj7IC56a38 bJVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796200976; x=1796805776; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=3kv648EfUMXhCI/mn62Vh8h3NfRxaYiqJmdrP+zzjs0=; b=e1W0beVXbgmCOto1YUgfVcu7M7vA504k6d9f2bSv8ek0Rs3eUZ0jhPOsotRfhGRLVy WYtI3kcqNBBlB7c0G53o4Yu3dakR+x2NQoAD2w4Zivxp9s3SIDGLdSmWo0JfQOb+wBlS g8CytNQziQlG80zPYrK38kpPypMeq2P1W1xI8DawD7tlR+/8NS+XhQN8whQ9CjDD3Mg+ Czv4GaPMSzSjt86+gIyQcmyAbkI5Ka3lajIdtXt3WCOTBe3OmG/jmo5lsV2wNyDqZMC2 1ZSMlyso0CWIyfcCbtFbr8NiLLKVLBYqE+mahgEWs0unjkB8ONBIpDGwepzviyWFeIrT heUQ== X-Forwarded-Encrypted: i=1; AL+hErE94OFUp9UWrXGkYjeOudBn0+1y+ruqWW6p4KbfSBO2abLCCXXZnZKZ4AeRLAQsXT5QnNQizfOtgQ==@nongnu.org X-Gm-Message-State: APuU4Z9SdiaTXBeHfkPeISoykBNaJF+JmwRHFxOd15Vr35oeJPxiB61b fAML6Uo++9qMtpvpLFDAPC2LeqLaTOBd5QuKGtX1RoIP8+/gHCH8Elg994esStSAFKk= X-Gm-Gg: AZFdTZcjA9uSk2X9EV3/tJv7davbtZI/kkGC5qsRY8oRKscQXmHtnqWsF4iBQxrYJmo DGlctCN7YuosLbNLtfro2KMDgKKylvN3prDy3e10ps7GPHpq/mCvJorLgyKzvmFvjlJhrgmgHMh uFi7x1maM5oIyCJ+s9VtEKaB7kuBtvITOhVIrrMjN4GhMMjPb0+EU+IuK9t18lKiYgM5rLMSiaV sS98jIVrGyy4d2MIoN2oWKt1nbiJhju2DodJU5l6mb2c52BsawgnApKaSlcst4dFPOPpuWClYaW Eq00+IpLTj8Zm4Ww0f4jN3CzdRG88JwO2IO6kWtxX4JE1iY9hqG3tllCRGp6vykfss/UBMZSqwa 5irsmCykTL3J9gEfgAycl9wyBvaOX/vrqnyZBP9UFsMhVXzzNfNOCLJawA5oKftGZ7nXrxpQiXT R9ahjWJpPMQaSyRAH5XIHa/5Ko5b3zgyH0W0qZit4PsawJMQXS35pYZfWtGscS3YtNxHRlkzKps i1RvMbgLtkfrkU/FpoHeDhwJX27Z738dSDGEjOlFu7r3QCnXlDhixpggDbtfKu/0FRHxKW/MohE VsfkBoeyRH0hbPbttJSOj0uhnQtEeYB9Q9GyVYpCqGfT/KKt2wQizmbSJnUU3r1im4mUI1p4 X-Received: by 2002:a05:7301:550e:b0:386:e952:3455 with SMTP id 5a478bee46e88-386e952358cmr18078709eec.34.1796200975512; Wed, 02 Dec 2026 00:42:55 -0800 (PST) Received: from Toshiko (58-189-220-39f1.hyg1.eonet.ne.jp. [58.189.220.39]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm199844930eec.3.2026.12.02.00.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 00:42:55 -0800 (PST) Date: Wed, 2 Dec 2026 17:42:47 +0900 From: Maximilian Zimmermann To: Alex =?utf-8?Q?Benn=C3=A9e?= 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 Message-ID: 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> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874id2tc9y.fsf@draig.linaro.org> Received-SPF: none client-ip=2607:f8b0:4864:20::132b; envelope-from=maxz@spacecubics.com; helo=mail-dy1-x132b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 (Re-adding qemu-devel to Cc) > This looks fine so: > > Reviewed-by: Alex Bennée > > 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. 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? 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? > > 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!