From patchwork Fri May 3 12:34:52 2024 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: 794377 Delivered-To: patch@linaro.org Received: by 2002:adf:a153:0:b0:34d:5089:5a9e with SMTP id r19csp711837wrr; Fri, 3 May 2024 05:36:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU7VIR+yncQATBSSyVVKw0rgoxHR4Se63B5XXohxhdiEkGIuAqBGcB972nJfTq1uAIcoYFZldr2EeVECpsneETM X-Google-Smtp-Source: AGHT+IFo/04GP5k7nbHxXkHUrw5FJtING61tz+oygaOPXGP8CrdB4ZFbTz7ZhgOBPDfX3hWFnKPc X-Received: by 2002:a05:622a:1ba3:b0:43a:b5e9:7d6 with SMTP id bp35-20020a05622a1ba300b0043ab5e907d6mr2599140qtb.22.1714739786970; Fri, 03 May 2024 05:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714739786; cv=none; d=google.com; s=arc-20160816; b=Tub4Eha+g0iB7MhqGu1V8BMTb2t2MM3x5eAb4jEHOOBzXYb3zbtKnb1DiThr4ivL9w jBGFha/59/Fju/A0dD7pp3K/b0vueM9hIXv6Jgo9cZ35Uf86va0X+yIpB7Yp5Iiw9/wV gpFoDiE7b6/PhS9brD5D16kYPzl3a2etJ0/W6Ylj01FK6avGFXedSzarj2Q3bsLTuaUu 8XMjand+eDe3nYe4jxwLv8F8Zffbmc6k4bvCxCJDKD0vSdLlyY5zVf4+c/3cVif7v0jt CNvvVuos6Gbb1CEtPL9iok+m9q32CVracwloleUncKLlwj760t2gJW9ejtJKzdSAPiuY BIcA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DJ2+DminAMBhR7ne1mJVPzDapawzOzMCaGznDAzlaXg=; fh=oECX/HpztodFaUv3pEO7ZivaceaHACgJ0hUyl/lk/I0=; b=KOCkftb31ewJQe8v6s04LsRO00Rn2eE0FTGaqTeWxjuUTkOwsXdQKls5xCrBf/NGPW rNGMp+OTtzSvpfbNT7WjedNuavI5ZB7OhIk2fNkQe8BKABCD5A0EmR3H0omoEaZFXgJq cyU/U1dmsB8K0Plx9w1BojUMI7O5jl1ob8a+KTJLuag93GQGzN1HpgBW4xL6Q5o2setd CSAVThfKqjxEZZaXE/23EnO/pCg3GYSM4dOMkSsuqN9QSP3QKVctBjAdbcnEyv/zhJ6X 6rhTFCgZw9a45JIk9HN90tBin/Hgss+JxzN/sJi2GFp2iSfLQsdSYBSArdfQ+hSO8hPJ 72qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MNlJxYBB; 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 j19-20020ac85f93000000b00439d100fb3dsi3234779qta.668.2024.05.03.05.36.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2024 05:36:26 -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=MNlJxYBB; 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 1s2s8n-0007c1-0u; Fri, 03 May 2024 08:35:55 -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 1s2s8A-0007EO-Fn for qemu-devel@nongnu.org; Fri, 03 May 2024 08:35:17 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2s83-0002nO-WE for qemu-devel@nongnu.org; Fri, 03 May 2024 08:35:11 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-41dc9f98e8dso11334825e9.1 for ; Fri, 03 May 2024 05:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714739706; x=1715344506; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DJ2+DminAMBhR7ne1mJVPzDapawzOzMCaGznDAzlaXg=; b=MNlJxYBB3woYKpnxO0ejtIrc1pAtUGax1j8olkw2ANawuy3nLCuMnWb2gnwJahhf5m vOpsooRhQzBYyqHO0DUkAC5wJLJukH+jevtvCeD01bqR2a6Ff8GFySyTBfAePoRHG62O SIz9pV/FjxZyi35shxmlmjVZJ+9AyPjs7NhhAvUHlT30Et1KTopnZHP7z8vypwFaQOCS wxu9beaJc+O0TWhzMtvxJRNqwOpb5EqiyJV9VDHn88QapXxlfZW1Xr6tC9Rv7PxXBXE8 Ks4CE4Z/zJEhfYGZXFQJcal5YzEwD+k5QOR4stf4sZHAmeEBebUTDq3OAe+ZiiLq7OSI wY/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714739706; x=1715344506; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DJ2+DminAMBhR7ne1mJVPzDapawzOzMCaGznDAzlaXg=; b=n4aQ8dtU4GvZ9prPGadNvktwOEkGTKPtDuM7b8qxfiemvtaWEGpP3es0x9SyHb2lNw E4MiM3WZFKapYbQXcoHFt6Dz4rqPrLmz1my+lIsVIesaDyVJwQcCZE7C+koVN/qS4HDD hsl7nzmHiQ26R0TXh2VcB4PqlroyymkMlqTEOPhDcqvaXD8F2GdwEknSGcHoLK64xrN+ Xg78uW0TGLZjaaNMxCl8GBCK0m7y/SAJWmT29alyeOTp9WbIMU4Qy41u5xIQx898otoc zOpOKy8oWuhhcGogefMsUN0byvI9yR2DvPOkCcohvoRpKZxMD/vaFTiJdFtkANvVmomD EyvQ== X-Gm-Message-State: AOJu0YyC6Jck7JlytYEQa25+Xh1+ZaNcWquQPq1f70nMoa4NraNjjxs+ 7ODMyvU46IrzyLIVeN5uTTVJy+VUBqwsj67Zp8kZCA004kg29i58aKWGvVrpUYSL83b7j9Q7Zbe W X-Received: by 2002:a05:600c:4f16:b0:41c:66:18c2 with SMTP id l22-20020a05600c4f1600b0041c006618c2mr5073169wmq.4.1714739706095; Fri, 03 May 2024 05:35:06 -0700 (PDT) Received: from m1x-phil.lan ([176.176.179.187]) by smtp.gmail.com with ESMTPSA id q8-20020a05600c46c800b0041ac4aafd3dsm5500179wmo.12.2024.05.03.05.35.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 May 2024 05:35:05 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Warner Losh , Richard Henderson , Kyle Evans , Ilya Leoshkevich , Riku Voipio , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 1/5] accel/tcg: Move SoftMMU specific units to softmmu_specific_ss[] Date: Fri, 3 May 2024 14:34:52 +0200 Message-ID: <20240503123456.28866-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240503123456.28866-1-philmd@linaro.org> References: <20240503123456.28866-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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 autolearn=ham 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 Currently these files are only used in system emulation, but could eventually be used by user emulation. Use the "softmmu_specific_ss" to express they are related to SoftMMU. Signed-off-by: Philippe Mathieu-Daudé --- accel/tcg/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build index aef80de967..84826f043a 100644 --- a/accel/tcg/meson.build +++ b/accel/tcg/meson.build @@ -16,12 +16,13 @@ tcg_specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_false: files('user-exec-stub. if get_option('plugins') tcg_specific_ss.add(files('plugin-gen.c')) endif -specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss) -specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( +softmmu_specific_ss = ss.source_set() +softmmu_specific_ss.add(files( 'cputlb.c', 'watchpoint.c', )) +tcg_specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: softmmu_specific_ss) system_ss.add(when: ['CONFIG_TCG'], if_true: files( 'icount-common.c', @@ -34,3 +35,5 @@ tcg_module_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: files( 'tcg-accel-ops-icount.c', 'tcg-accel-ops-rr.c', )) + +specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss)