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,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 7E080C433E0 for ; Thu, 4 Mar 2021 17:20:58 +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 04EB964F57 for ; Thu, 4 Mar 2021 17:20:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04EB964F57 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]:38712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHrei-0000hm-Vv for qemu-devel@archiver.kernel.org; Thu, 04 Mar 2021 12:20:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHrdg-0008Sh-04 for qemu-devel@nongnu.org; Thu, 04 Mar 2021 12:19:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:48326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHrde-0002gd-Fn for qemu-devel@nongnu.org; Thu, 04 Mar 2021 12:19:51 -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 E23C1AEBE; Thu, 4 Mar 2021 17:19:48 +0000 (UTC) Subject: Re: [RFC v1 00/38] arm cleanup experiment for kvm-only build To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Richard Henderson , Peter Maydell 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: Thu, 4 Mar 2021 18:19:47 +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: <38f0a65d-b5e4-3795-03a3-d6b1b3346816@amsat.org> 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: Paolo Bonzini , Roman Bolshakov , =?UTF-8?Q?Alex_Benn=c3=a9e?= , Eduardo Habkost , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 3/4/21 5:39 PM, 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 > 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. > Would we still be able to configure a lean AARCH64-only qemu that only contains the cpu models we want, (via board configuration / KConfig?), for example, a kvm-only build that only has a few 64-bit cpu models in it, plus max/host and removes all the rest? Ciao, CLaudio