Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11AC3C433EF for ; Fri, 6 May 2022 06:39:12 +0000 (UTC) Received: from localhost ([::1]:48996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmrcN-0002Rl-SU for qemu-devel@archiver.kernel.org; Fri, 06 May 2022 02:39:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmraG-0001IV-Qy for qemu-devel@nongnu.org; Fri, 06 May 2022 02:37:01 -0400 Received: from smtpout2.mo529.mail-out.ovh.net ([79.137.123.220]:49017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmraE-0001iV-U1 for qemu-devel@nongnu.org; Fri, 06 May 2022 02:37:00 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.108.16.17]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id B039CFCF6B00; Fri, 6 May 2022 08:36:55 +0200 (CEST) Received: from kaod.org (37.59.142.104) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Fri, 6 May 2022 08:36:55 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-104R005cbeb307c-23af-4b87-808f-437e93b79658, 85FEA43FB7D152D5FE87D0D31D0EEF45A371AE19) smtp.auth=clg@kaod.org X-OVh-ClientIp: 82.66.77.115 Message-ID: <6a44aa70-e778-a115-6e4a-1336fef6c951@kaod.org> Date: Fri, 6 May 2022 08:36:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v2 1/1] hw/arm/aspeed: Add fby35 machine type Content-Language: en-US To: Peter Delevoryas CC: "patrick@stwcx.xyz" , "qemu-arm@nongnu.org" , "qemu-devel@nongnu.org" , Peter Maydell References: <20220503225925.1798324-1-pdel@fb.com> <20220503225925.1798324-2-pdel@fb.com> <2ab490a2-875d-ae82-38d0-425415f9818c@kaod.org> <856683F7-3F36-449E-B203-89EC3D876DD9@fb.com> <3C811C58-AF56-412B-B567-1218076B7584@fb.com> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= In-Reply-To: <3C811C58-AF56-412B-B567-1218076B7584@fb.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [37.59.142.104] X-ClientProxiedBy: DAG8EX2.mxp5.local (172.16.2.72) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: a4c7bd08-8600-40f1-8ded-19409e0afd62 X-Ovh-Tracer-Id: 13981143571456035747 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvgddutdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgihesthekredttdefjeenucfhrhhomhepveorughrihgtpgfnvggpifhorghtvghruceotghlgheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeekteejtdelkeejvdevffduhfetteelieefgeefffeugffhfeekheffueefledujeenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehpvghtvghrrdhmrgihuggvlhhlsehlihhnrghrohdrohhrgh Received-SPF: pass client-ip=79.137.123.220; envelope-from=clg@kaod.org; helo=smtpout2.mo529.mail-out.ovh.net 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" >>> Have you considered extending the emulation to include a AST1030 SoC >>> in a larger machine ? >>> >>> The AST1030 SoC is merged and I think that QEMU could run a cortex-m4 >>> CPU and a A7 CPU. A + R CPUs is supported (Xilinx boards). >>> >> >> As a matter of fact yes! I tested booting our OpenBIC Zephyr kernel last week with the 1030, that worked. I also used the experimental i2c multi-master patches from Klaus to make a i2c-netdev device that connects two separate QEMU instances through a socket and sends their i2c messages back and forth. I was able to test a basic MCTP transaction. >> >> I’m hoping to help however possible with merging Klaus’s changes, and then propose the i2c-netdev thing too. > > Oh wait a minute: You mean I could include both SoC’s in one machine? Yes. We would need to extend the Aspeed machines to instantiate 2 different SoCs (or more). This is something quite interesting to design. > Oh that’s a good idea actually. Maybe I’ll look into that as an alternative to the socket thing. Still, it might be something useful to submit anyways. Yes. Please do. Thanks, C.