From patchwork Mon May 17 10:51:18 2021 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: 12261541 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 3B987C433ED for ; Mon, 17 May 2021 10:55:05 +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 D23AC611CA for ; Mon, 17 May 2021 10:55:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D23AC611CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liatr-0002N3-NC for qemu-devel@archiver.kernel.org; Mon, 17 May 2021 06:55:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liaqo-00046H-Oh; Mon, 17 May 2021 06:51:54 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:41947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liaqk-0006JW-Vn; Mon, 17 May 2021 06:51:54 -0400 Received: by mail-wm1-x32b.google.com with SMTP id o6-20020a05600c4fc6b029015ec06d5269so3335451wmq.0; Mon, 17 May 2021 03:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QZd/87Z8RVp2dDQlE17s2j2kfbwKqcNh9feGLDEoUT0=; b=GSJGoC87NqEgxIwzRO1/6LBWqPZpuXPMZ0uXbz4T/sNWuMmbCnnuvO7vO19vrn5mNF sldOSfayHYF1gvCoJwMKAuj+1QCwKii25COszYAQyXKK8eumUNbi4P2D57Su8hFGp38L UzO5eLOhyMbUNxc+xkdcMlyo5We4ZxKSOaZlxAB4+UusHK6++x+vTdzaTMtFs7qXNgyr TLlH4pL+xNorKOAz4mzmTj+Z5YkNYRdaN5upqg1IfxNSz0ETlQL/XSupu21ISEw5WrN7 WzE1u9OxS7aigVnYQfwLOckiW1U+1/itET15BsDkLkUPkWz/ee7jiSfEQhcTkLKUadYJ fTtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=QZd/87Z8RVp2dDQlE17s2j2kfbwKqcNh9feGLDEoUT0=; b=Xrr7PbmhoK2+WoxsUV6yUf5E7ZnRrvic/MrkO/0ZchERL54cLqWrx1TzQAB8Bww9If SI4K+4YH67JJkNb9N9z+UGeKyI3DpUgc30Gcc+S4ShRDMxN7F+0wl5Q8EixEFaO2kI2Z zGsX23jyRQPjSZKi4jO9vCFHP1g9Uf0nfo+H4/QgNPZM3SdGmBenatpcLeIV1L6iO+sn +/D8DetlkcOapwsDbbb5YaxPBk173/41IrKyHWPf94aLaMbXehCd0U01VXA3zAp5/3Nh +Thv3gi2QJIN1SnnbXR+vCWl09uAZMzHUBaQ8Pf3+arqGEJi0Gv1vO4wIFqIXRLlGiQp ySxA== X-Gm-Message-State: AOAM530USOerGbQvOHhJ1ioFgPDGtO5WPCcwFC2DN4ONMlG6TdcxHo+5 3SCRJTHfyVKoksx8l1AeiAhkcP2HGzbEfw== X-Google-Smtp-Source: ABdhPJzhNebuAkLW9FHYgk5dryRkSRcYzk4irc187D11kKRvi8sz5wu5anMgKLHUbWLPWuM4n77riw== X-Received: by 2002:a1c:7501:: with SMTP id o1mr64620985wmc.65.1621248707826; Mon, 17 May 2021 03:51:47 -0700 (PDT) Received: from localhost.localdomain (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id a16sm5196820wrw.62.2021.05.17.03.51.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 03:51:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v7 01/23] NOTFORMERGE target/arm: Restrict MTE code to softmmu Date: Mon, 17 May 2021 12:51:18 +0200 Message-Id: <20210517105140.1062037-2-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210517105140.1062037-1-f4bug@amsat.org> References: <20210517105140.1062037-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: qemu-riscv@nongnu.org, Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Paolo Bonzini Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following patches require the "arm cleanup experiment for kvm-only build" [*] series with split various user/sysemu and tcg/kvm code from the target/arm/ directory. To be able to build the following patches waiting the series get merged, simply restrict the MTE code to the softmmu source set. [*] https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg02908.html Signed-off-by: Philippe Mathieu-Daudé --- target/arm/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/arm/meson.build b/target/arm/meson.build index 5bfaf43b500..09802ba1a17 100644 --- a/target/arm/meson.build +++ b/target/arm/meson.build @@ -41,7 +41,6 @@ 'cpu64.c', 'gdbstub64.c', 'helper-a64.c', - 'mte_helper.c', 'pauth_helper.c', 'sve_helper.c', 'translate-a64.c', @@ -49,6 +48,11 @@ )) arm_softmmu_ss = ss.source_set() + +arm_softmmu_ss.add(when: 'TARGET_AARCH64', if_true: files( + 'mte_helper.c', +)) + arm_softmmu_ss.add(files( 'arch_dump.c', 'arm-powerctl.c',