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=-2.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 40C47C433DB for ; Wed, 13 Jan 2021 14:37:56 +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 AB5DE23434 for ; Wed, 13 Jan 2021 14:37:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB5DE23434 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:40506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzhHW-0004Jz-I9 for qemu-devel@archiver.kernel.org; Wed, 13 Jan 2021 09:37:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzh4J-0002Yw-4K for qemu-devel@nongnu.org; Wed, 13 Jan 2021 09:24:18 -0500 Received: from mout.gmx.net ([212.227.15.19]:57115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzh4F-0002oL-5s for qemu-devel@nongnu.org; Wed, 13 Jan 2021 09:24:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610547815; bh=/hNCXOLmNzhOpDmVUMxdmNkmQHEzagwlWqorhgqRlKM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=CAMOHlZq4QxSHrarkfP73iKH6JgZYj0xkFY6v6wzhorB7E3yHGN4uq9IcluNY+l2K Xo62OSN6LZOu04+Tv3PwFcscML+e7K8W1GV3T6Cmok8yCDI5PMkXCeHGlrKAPfIrVL r0PVuFiIiV8pFIhQyY4xzEG/IGwv0FLjdjtWj6qU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.130.10]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M4JqV-1kzQ4k0LJJ-000Lk7; Wed, 13 Jan 2021 15:23:35 +0100 Subject: Re: [PATCH 1/8] build-system: clean up TCG/TCI configury To: =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= References: <20210107140039.467969-1-pbonzini@redhat.com> <20210107140039.467969-2-pbonzini@redhat.com> <20210107160653.GD1029501@redhat.com> <46e79fb0-2ce1-35a8-3ce8-44699508a1d1@gmx.de> <20210113135705.GC1568240@redhat.com> From: Helge Deller Autocrypt: addr=deller@gmx.de; keydata= mQINBF3Ia3MBEAD3nmWzMgQByYAWnb9cNqspnkb2GLVKzhoH2QD4eRpyDLA/3smlClbeKkWT HLnjgkbPFDmcmCz5V0Wv1mKYRClAHPCIBIJgyICqqUZo2qGmKstUx3pFAiztlXBANpRECgwJ r+8w6mkccOM9GhoPU0vMaD/UVJcJQzvrxVHO8EHS36aUkjKd6cOpdVbCt3qx8cEhCmaFEO6u CL+k5AZQoABbFQEBocZE1/lSYzaHkcHrjn4cQjc3CffXnUVYwlo8EYOtAH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ILVXE+dL/BELp5JzOcMPnOnVsQtNbllIYvXRyX0qkTD6XM2Jbh+xI9P xajC+ojJ/cqPYBEALVfgdh6MbA8rx3EOCYj/n8cZ/xfo+wR/zSQ+m9wIhjxI4XfbNz8oGECm xeg1uqcyxfHx+N/pdg5Rvw9g+rtlfmTCj8JhNksNr0NcsNXTkaOy++4Wb9lKDAUcRma7TgMk Yq21O5RINec5Jo3xeEUfApVwbueBWCtq4bljeXG93iOWMk4cYqsRVsWsDxsplHQfh5xHk2Zf GAUYbm/rX36cdDBbaX2+rgvcHDTx9fOXozugEqFQv9oNg3UnXDWyEeiDLTC/0Gei/Jd/YL1p XzCscCr+pggvqX7kI33AQsxo1DT19sNYLU5dJ5Qxz1+zdNkB9kK9CcTVFXMYehKueBkk5MaU ou0ZH9LCDjtnOKxPuUWstxTXWzsinSpLDIpkP//4fN6asmPo2cSXMXE0iA5WsWAXcK8uZ4jD c2TFWAS8k6RLkk41ZUU8ENX8+qZx/Q== Message-ID: <4d81fdad-6b76-d7b7-ba44-e3d7cf545dba@gmx.de> Date: Wed, 13 Jan 2021 15:23:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20210113135705.GC1568240@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:vKl9vF7bATtZPFq1TqK0Jmds3j6Ojkf8RVtxnPrBXtXMNV9mF+M CdabfnSsKz0r8/mzTOAviRwR/eoKQov9cS3jg5SV6aUamfIjnb12oUi+Z0uhAqqYzDaTkOh 71V3UcnjXV7FV+8nEBSzo4mI3Y5q69hca23nxRt0T5MGNx2HTAM+alCRE/tzS9GXRnsUbgC 1W+KW87cN1aAYznALTw8g== X-UI-Out-Filterresults: notjunk:1;V03:K0:1Jayv3lB+xM=:pxRgms43/SV6hsnY3aq7Ed 1JsA8A0WtFKgYJDz5GSE2rGT5bfHgzErrMpetkgHvqcwQgzNK27wJEck8turyCJL4nY3TyhK8 s4QpqcR9Hw68CEwYtj251KB+urrUBxIu5K2zF0ZUiL/2UYBu0CLISvzehb+z9KBzNIVQkdw32 /P0GQJ1grw3h/RIltEbJdqf+SsH3pfwV6cEVcWqpEvrWaUiWNOpbkvQ/mswM/Ao+q0rv29Ovc 8dpYeNK6d/bvpN0SRDNV0c9M608mCkQXehqF0jjguPuwczS79FodgRdEoXYSK/corFJ58VMYf 7sezsJjnGL8dFI97VqAeyqTlH4Yyq1jy37pTlwUeT6rKeMDeZz6t8Q1EOIb0AmLNkwzY88cCm eHRxt+VIzb9neGS4gi9VKXcs0W3hpdepFj6vk1eNexbAU0T0uetFwEk8pgKZk+JPefaScrcBd BzC5mmXjFrXIDzXqM4V5mslZaZUlTXoTP5o1rEPFAEVq7bS7Ntc0bpKDZzZS+/qvVKw+eMWtT mFQ7ZGsLEkjwSLBqfJgxNhwBzoANOj2xSArfdFOr2oPy4u4vkPbvcVlrKq5uQBhb9eVFFa0Uy crxI/sy1KBQPfh8/W80sVCboL/+U6E/vPOIScZGfRNZJH2tmU0JA0lMfj71hMPMYHWWjHZUc3 +lyB0+rd4FKnWOiXfI/i4W8G5iQ/fD41I0+k6vOweHEysG41iEg5s79OkoLBUofDpVxNItCXx 9fBBS+MXWAELoenugZ8Ed1NTPiN+AVUWi9uJNpLdYpAUedMWMujO5nr2jpFOZI643OaisDkiW 9RZlWZAa5/q5pzE9XbEMPAmCXaBBzgv+Tk1bpzrObITF6EBII19e24LSk6RFOTRlN1QFTFfeI pj0oT4tWn8uYfdg9Rb/g== Received-SPF: pass client-ip=212.227.15.19; envelope-from=deller@gmx.de; helo=mout.gmx.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: Peter Maydell , Paolo Bonzini , Stefan Weil , John Paul Adrian Glaubitz , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , QEMU Developers , debian-superh@lists.debian.org, Stefan Hajnoczi , debian-hppa@lists.debian.org, =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , =?UTF-8?Q?Alex_Benn=c3=a9e?= , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 1/13/21 2:57 PM, Daniel P. Berrang=C3=A9 wrote: > On Wed, Jan 13, 2021 at 02:42:51PM +0100, Helge Deller wrote: >> On 1/13/21 2:09 PM, Philippe Mathieu-Daud=C3=A9 wrote: >>> Cc'ing TCI, SH4 and PA contacts FWIW. >>> >>> On 1/7/21 5:06 PM, Daniel P. Berrang=C3=A9 wrote: >>>> On Thu, Jan 07, 2021 at 04:50:36PM +0100, Paolo Bonzini wrote: >>>>> On 07/01/21 16:01, Peter Maydell wrote: >>>>>> On Thu, 7 Jan 2021 at 14:03, Paolo Bonzini wr= ote: >>>>>>> >>>>>>> Make CONFIG_TCG_INTERPRETER a Meson option, and enable TCI (though= with >>>>>>> a warning) if the host CPU is unsupported, making it more similar = to >>>>>>> other --enable-* options. >>>>>> >>>>>> The current behaviour is kind of deliberate. Using the TCG >>>>>> interpreter is a terrible idea and think it's better if we >>>>>> don't let users end up using it without realising that they have. >>>>>> (Personally I would vote to deprecate-and-delete TCI, and also >>>>>> to just have configure error out on unknown host CPU architectures.= ) >>>>> >>>>> Fair enough, I can change this back of course. The missing targets = are >>>>> parisc, ia64 and sh4 I guess. >>>> >>>> ia64 is a dead host architecture and doesn't exist in any OS distro t= hat >>>> we target anymore, so I don't think we need to consider it. >> >> I have no opinion about ia64. >> >>>> Likewise parisc/hppa doesn't seem exist in Debian since Squeeze, so I >>>> think we can rule that out too. >> >> Can we please keep parisc/hppa. >> It's not an official platform any longer, but quite active in the >> "unstable" debian-ports repository: >> https://buildd.debian.org/status/architecture.php?a=3Dhppa&suite=3Dsid >> >>>> Only sh4 still seems to be supported in Debian. I expect the primary >>>> need there is for sh4 guest support rather than sh4 host support. >> >> Same as for hppa/parisc, sh4 is in debian-ports too. > > So that at least shows that we need *guest target* support hppa/sha4. Yes. > The question still remains whether anyone is actually likely to be > running/using QEMU on a sh4/hppa *host*, to emulate a different > guest arch ? Agreed, it's not very useful because of speed and amount of possible users, but ....(please read below) > This is what that TCG interpreter provides for. eg would anyone > really want to emulate aarch64 guest when runing on a hppa host ? In debian many packages directly and indirectly depend on the qemu source package, because it provides - beside the emulator - various userspace tools which are necessary natively, like e.g. qemu-img. In the past building those tools failed on hppa because the configure scri= pt detected that neither native TCG nor TCG interpreter support was possible. As such the configuration aborted and no tools were built. So, the change should still make it possible to enable building the usersp= ace tools. On the other side, sometimes even a slow TCG-interpreter enabled qemu for other arches can be useful. It's not about speed, but about the *possibility* to emulate small pieces of different code, e.g. cross-compilers, bios-tools and such. It's not used often, but it can be handy. That said, if it doesn't hurt I think we should not disable something which can be useful (this applies to all architectures). Helge