From patchwork Mon Jun 26 14:01:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 696445 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp3244310wrm; Mon, 26 Jun 2023 07:01:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vpI43KlAyBoGb+pC9kozHJlrvXw620GCCp4L8hcPDD8n+n6owrkfpLMJRsPHEI5sXYs8P X-Received: by 2002:a05:6214:2b0a:b0:634:d868:f0dd with SMTP id jx10-20020a0562142b0a00b00634d868f0ddmr8463790qvb.50.1687788105252; Mon, 26 Jun 2023 07:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687788105; cv=none; d=google.com; s=arc-20160816; b=Gtjw6IWN//EyEj5m9O3jxhvyFz3Sql9tAkzlsPsN8M/UnQv4y91IDk3eU9GZ4N5nRy bQr8b4o9g6r/eTPaYMlvGqhulBc1mXviChoeh48JSpDgp9T1IV9OIRb2SHOKhx5pxPhe DTpgJEaZt7s0yD6/dKmJ2TZZutG8v3pdmHOrhtzuekL4oXRkpAahdkc2CKRPPPD610ZD w4F905FTmV32iEILnd4nOEcr0DjD4VbJ7jHS+E0tC465lUvWrbbc25x80jPANuAR6qq1 g7pBqW6Xs9DchihSitEowAGIe8QbDSvkrXwimco4weNV53F91vuyD6VvADPmtR1qWviJ ioLA== 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=9Gnxy0hWR1/A5L1cIpllCbYRoWI9TM+IkHpFErpq5tE=; fh=+8iDtSVsC4ND3tAiXEJBWkQ7I9nBJLvWgZ6rUb1p9DA=; b=iDlHIJQfGAhZ0h6D7mo1swXbw1efbly8EjJgaWxVO0bqE28GthHR0OsmgEsAsTxmDw SibS7qzB9TPbtg4IPzAxJez2R8IwSas595emQAM7QGGQWCjXbX3SyrZfYveJaqHXySMH 08qYNa6OI0ULg4JKUtBWHYy1kGiHC+SohLpEYbHLVkvnBB/O6Fv8n2wg97ZO6Nd+crIg bcvWSOQ1EF7XUQyfuTOLvNVb0f0nqi5PwqXW4PWcE3KqEAV+mXQCAKZhFdfXKPzmqY/g sGXy9Dgi2pipH8WQ/8Ev5Ewt7yv74MMmYxEuHZAeqRF7l/lcQwF2ikGtrMFKLBk+AZ9Z SPsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R9iTzQKr; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s11-20020a0562140cab00b005ef6e02d541si869793qvs.188.2023.06.26.07.01.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Jun 2023 07:01:45 -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=R9iTzQKr; 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 ) id 1qDmmG-0007K2-F8; Mon, 26 Jun 2023 10:01:12 -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 ) id 1qDmmE-0007IK-Ob for qemu-devel@nongnu.org; Mon, 26 Jun 2023 10:01:10 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDmmB-0008FV-6E for qemu-devel@nongnu.org; Mon, 26 Jun 2023 10:01:10 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b69ff54321so17129801fa.2 for ; Mon, 26 Jun 2023 07:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687788065; x=1690380065; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9Gnxy0hWR1/A5L1cIpllCbYRoWI9TM+IkHpFErpq5tE=; b=R9iTzQKrLZN9EImzzrqs1FViq9Y3gKYXKx3PGMXZNwDBq0/Ax0COmtAzOgWSnLJY7i 4dbtOW9+/JFNwBE6ASbAkUtitpGSuEV7UktDOGzlGS1Vqujoo+5iNYF8/ClFM4Q529TX bRjqCOOHkOCMSPsGGHp4KrMCfBImegcxgrem/U7eC5efux4N+7xOTLNsn4twUPHd+ey0 mGgb6fx4vWx88g8KTpGe2ldYXzg3JiAGyCRU2WqLBHJM6Fsvgnof80lOib1f3XRI2Cis vlkDJbNpI3bydjH20flsjIIYUaO87/AByrM79LtIlOCe4etbx3ht5X0BaDq6Y2cMoTYL jKyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687788065; x=1690380065; 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=9Gnxy0hWR1/A5L1cIpllCbYRoWI9TM+IkHpFErpq5tE=; b=AiQiT/Jy2b9O5lbcFUrpjaMwmwTcf8FgQzOiMX1WX0l2jX5XhRmRRs+PBVuqPED3LR eLEyb1uz/r3H9eqWSegVsPZYxpTTuWWCfq9P+yCLXQj5UXJTilBuGKbq5r7gUg8Uw6Of iBTVzbDqrUy7C5ZPAyXRzK6aZOXihRKP08b7kzzx/XZ5QhRlSt5fSJRaWsyeWXcbyRkH 9X66sRIFTTLug80XYN/8Q6thcJSc+JK+Nyk6gZnalpxlqs8hDl0Cs5/KhjvKF27kGgoN q0ZJPkOLWs61MV6DFhDuuMzLN5BCQAhsd7+6KuvBXGhWQxt6kDq9JhBI1mYqpEVo8njC 2a4g== X-Gm-Message-State: AC+VfDzEmt5K0Wi2Cj76mofZsKf5Gsj5CQxbRq8oJvrGhAvop8YVif9g sh0vKUiy7I0zmA3DAnR69dB8doTtCnDzzlCnICg= X-Received: by 2002:a2e:9d4e:0:b0:2b4:67e0:4ce0 with SMTP id y14-20020a2e9d4e000000b002b467e04ce0mr13941443ljj.44.1687788064758; Mon, 26 Jun 2023 07:01:04 -0700 (PDT) Received: from m1x-phil.lan ([176.187.199.226]) by smtp.gmail.com with ESMTPSA id c6-20020a170906340600b0098dd26c6e95sm3267799ejb.42.2023.06.26.07.01.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 26 Jun 2023 07:01:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= , David Gibson , Daniel Henrique Barboza , Greg Kurz , Thomas Huth , Nicholas Piggin , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH] target/ppc: Only generate decodetree files when TCG is enabled Date: Mon, 26 Jun 2023 16:01:00 +0200 Message-Id: <20230626140100.67941-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=philmd@linaro.org; helo=mail-lj1-x236.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org No need to generate TCG-specific decodetree files when TCG is disabled. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Greg Kurz Reviewed-by: Richard Henderson --- target/ppc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/meson.build b/target/ppc/meson.build index a69f174f41..4c2635039e 100644 --- a/target/ppc/meson.build +++ b/target/ppc/meson.build @@ -28,7 +28,7 @@ gen = [ extra_args: ['--static-decode=decode_insn64', '--insnwidth=64']), ] -ppc_ss.add(gen) +ppc_ss.add(when: 'CONFIG_TCG', if_true: gen) ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c')) ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))