Message ID | 20230613133347.82210-1-philmd@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp423989wru; Tue, 13 Jun 2023 06:35:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ND6XBXC9efaCHaSS7RzM5O3PQF3DgjzZM5ns7eW/rJzJW19HLYpMaOxUG+4FAWwadVm8Q X-Received: by 2002:a05:620a:608e:b0:75c:b6ad:4f45 with SMTP id dx14-20020a05620a608e00b0075cb6ad4f45mr15755057qkb.25.1686663359744; Tue, 13 Jun 2023 06:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686663359; cv=none; d=google.com; s=arc-20160816; b=EBZwtESN4P0DXZKBk4KSzNPdjF2DY14tQVCikhRDI3WlcUYiA+pZAtScxihDJHlykx eOdtXILbc3Mss2jDZnHe1ADdIamgCfwGBrGSXCF5sFl9A8fsADyMK0ILGiGOHcYeAY7B kawdXnH1cKV8ZiU7phmHZc6GWHP+ZUmlTfKzljqF5yrLlCznCLfPUGZwnKT2jIgmMuW2 nv6T7woeRmvw8VjaJ42XOuMleh/A/pTRtRmR01goKMUs2xwrV8fXEDwjIOByIhaRRsBp zwTlq1hyLkC5lxEYQFYY4md5waHPBoHn9euV6FBbif4S1h6o/3QhvOcRqUCXVjAQGK+8 VyjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=gBFSVqesPLYVNvOpKpmvg4XLW+9gcOy7P9MjR5bQqc0=; b=FUiPLSKifX/Ex+lQe1aP+TrMWBQTpwmd0x0Gw49gMGZkhcQG2V8vUDWoFf4LHq2MSH 4A/+xUdFPdh7iTi2zIThNiJw+Ed5OYKAJ4y+nM7LLglANCD7aDTdVTsTHC9NaI5klfFI yFsv36xGvAF0c2a5fvbMER9+fxwWMN3LIm2fyR6OQ9JUDBM/DZKf1P0zW5BymDStB0vp 185cpDMvrEtZB617DPeHn5hRF53N1lMB6S7tt0N7Z0n6LPuQYPl9eQBPCjROc8Wh1nB3 +im+DvvCdJoRw3d9reVvknXDaPpdGqdZxd2EVALPynsmlDBy6hFGPusa6Bity0wdyZ5d ft1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eBMpvCWD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i7-20020a05620a144700b00761f57e9c59si765164qkl.86.2023.06.13.06.35.59 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jun 2023 06:35:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eBMpvCWD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1q94AF-0006FY-4Z; Tue, 13 Jun 2023 09:34:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1q94AD-0006EG-Q6 for qemu-devel@nongnu.org; Tue, 13 Jun 2023 09:34:25 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1q94A1-00021S-0w for qemu-devel@nongnu.org; Tue, 13 Jun 2023 09:34:16 -0400 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9745c5fed21so809803666b.3 for <qemu-devel@nongnu.org>; Tue, 13 Jun 2023 06:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686663251; x=1689255251; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gBFSVqesPLYVNvOpKpmvg4XLW+9gcOy7P9MjR5bQqc0=; b=eBMpvCWDRgAGb497ldgG467Ib67WHof5rqsmbhIbDLRcBMQE4SdLHgNOWTEB4f7M7D fYFoRAVipghhQYnXwzkgLc+pPD9p+3rJLQcfy9qT83OdTdnbXm1cXZk1Rwo9d9yXt44Y 0OCHWoIe21LiOJielueRrko0zVuNRQqm7yXlNGRr7ubtVwocJABygl0K+oZcRImsnpgg fB23W2EpL79f1wO4kD+sc+pUKwqRO+oWUdNWGCWPVCnSlnOMZArgDaZfzoL0rzXgBIbq kYSC+/QKbstZ9h9FW8gcNMr5BUALQtSitWWtbR9rA8O3kK6E8CXyPXNqrLq4vjC2Xe/y RolQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686663251; x=1689255251; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gBFSVqesPLYVNvOpKpmvg4XLW+9gcOy7P9MjR5bQqc0=; b=hf1Exu/IUsEalPLaDHBQQUHQDYgZ9sD0JEMsxuZAIOQYiDraiLMyWbg4ueA0uW5g3i 6B9fUiJZX3P9TrF4QPihQW8UF/wxOHJdOle6otUQFOokNNQpyCwk+KzBVOTlI/BYpcLE lsGqx5lxkp4wl1K7/CBb6L3EBBfvMjbV4o/o2qrNaHtd5QTUSAU5rqmW9/suPG2Grywa +MsFUtlm4fXKjrgwPlBN9EUl7vR3nrzgV3ffL3mTuE9rr7BtBuZgpALVvFmVoyopEZps AJyB9RhGXizx1VAFxRT2YCjVM8C57pBdZ1Nb3GVs7EjpLruv7J+8qS3zxHVgx7UBp47T 3+2A== X-Gm-Message-State: AC+VfDwzxEn7PqAIfFU4upV0IgEHjFVtOPnQbb+uKWOQ+1xg4Sn+T7up yM/ZJ/Lr/ndIlzInJwHeMgh98Nn2IV8VwIvWFJo= X-Received: by 2002:a17:907:948e:b0:982:416f:1963 with SMTP id dm14-20020a170907948e00b00982416f1963mr1063297ejc.39.1686663251226; Tue, 13 Jun 2023 06:34:11 -0700 (PDT) Received: from localhost.localdomain ([213.235.133.109]) by smtp.gmail.com with ESMTPSA id p10-20020a17090635ca00b00961277a426dsm6608330ejb.205.2023.06.13.06.34.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 13 Jun 2023 06:34:10 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Thomas Huth <thuth@redhat.com>, qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Richard Henderson <richard.henderson@linaro.org>, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH v3 0/9] bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CONFIG_SYSTEM_ONLY Date: Tue, 13 Jun 2023 15:33:38 +0200 Message-Id: <20230613133347.82210-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=philmd@linaro.org; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
bulk: Replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY/CONFIG_SYSTEM_ONLY
|
expand
|
On Tue Jun 13, 2023 at 11:33 PM AEST, Philippe Mathieu-Daudé wrote: > Missing review: 1, 7, 8 > > Since v2: > - Rebased > - Added R-b tags > - Rework i386_tr_init_disas_context() patch (Richard) > - Dropped RFC prefix > > This series aims to clarify the CONFIG_[USER|SYSTEM] vs CONFIG_SOFTMMU > confusion [*] by using explicit definitions, removing mentions of > CONFIG_SOFTMMU in non-TCG code. > > We replace CONFIG_SOFTMMU by !CONFIG_USER_ONLY in C code and > by CONFIG_SYSTEM_ONLY in meson config files. I like the change in general, SOFTMMU does not read well (and is not exactly correct for system code as pointed out). Sorry for chiming in late and if I missed it, but was there a reason not to define a complementary CONFIG_SYSTEM so system code does not have to test !CONFIG_USER_ONLY and invert a bunch of the tests? Actually I thought you would have CONFIG_SYSTEM and CONFIG_USER options and the _ONLY variants could be derivative for convenience, but I'm probably missing some detail. Thanks, Nick