From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 118FFC433DB for ; Fri, 5 Mar 2021 09:05:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 798F764F5F for ; Fri, 5 Mar 2021 09:05:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 798F764F5F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lI6Oa-0000rs-FR for qemu-devel@archiver.kernel.org; Fri, 05 Mar 2021 04:05:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI6Nd-0000MU-LK for qemu-devel@nongnu.org; Fri, 05 Mar 2021 04:04:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:53802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI6NZ-0000ty-Tf for qemu-devel@nongnu.org; Fri, 05 Mar 2021 04:04:17 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1152CAF47; Fri, 5 Mar 2021 09:04:12 +0000 (UTC) Subject: Re: [RFC v1 00/38] arm cleanup experiment for kvm-only build To: Peter Maydell , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= References: <20210221092449.7545-1-cfontana@suse.de> <875z2k53mn.fsf@linaro.org> <63847c79-93c2-5ee3-d568-9091fedf325c@suse.de> <87a6rmkffo.fsf@linaro.org> <8d4a427a-94dd-7472-e8ae-98c4efa44ce0@suse.de> <5fb3cf49-fc09-7e7c-d34e-299f04e9842a@suse.de> <335966c3-9f31-5868-54e5-edb28a37c50c@suse.de> <1b92cbea-8abf-40b9-337a-15f34ef40f61@linaro.org> <38f0a65d-b5e4-3795-03a3-d6b1b3346816@amsat.org> From: Claudio Fontana Message-ID: Date: Fri, 5 Mar 2021 10:04:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=195.135.220.15; envelope-from=cfontana@suse.de; helo=mx2.suse.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eduardo Habkost , Richard Henderson , QEMU Developers , Roman Bolshakov , Paolo Bonzini , =?UTF-8?Q?Alex_Benn=c3=a9e?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 3/4/21 8:24 PM, Peter Maydell wrote: > On Thu, 4 Mar 2021 at 16:39, Philippe Mathieu-Daudé wrote: >> >> On 3/3/21 7:54 PM, Richard Henderson wrote: >>> On 3/3/21 10:45 AM, Claudio Fontana wrote: >>>> It is a bit weird that qemu-system-aarch64 runs with a cortex-a15 >>>> model tbh, as cortex-a15 is not capable of aarch64. >>> >>> No, but qemu-system-aarch64 is capable of 32-bit emulation (because most >>> 64-bit cpus retain 32-bit mode). It takes no extra effort to run >>> cortex-a15 than it does a cortex-a57. >> >> IIRC qemu-system-arm starts the aa64 cores in 32-bit mode, while > > ...no, it simply doesn't have them at all; it only has > the 32-bit-only cores. We only support '64-bit core that > starts in 32-bit mode' for KVM; it would be nice to have the > TCG support for that but nobody's ever written it. > >> qemu-system-aarch64 in 64-bit (this gave me trouble because the >> kernels for the raspi 64-bit SoCs are in 32-bit mode -- because >> the GPU starts them in this mode). >> >>> I have wondered if we should have just one qemu-system-arm that does it >>> all and drop the separate qemu-system-aarch64 -- or vice versa. But >>> we've had the separation around so long I'm sure someone would be confused. >> >> That would be great cleanup IMHO. > > I figure it's not really worth the bother until/unless we ever > some day get to the holy grail of "one binary that supports > multiple target architectures", at which point we could have > one qemu-system for everything... > > -- PMM > "one small binary, with optionally pluggable modules for multiple target architectures and optional features" ? Ciao, Claudio