From patchwork Wed Jan 24 07:56:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 765620 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:10c4:b0:337:62d3:c6d5 with SMTP id b4csp1993051wrx; Tue, 23 Jan 2024 23:56:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHw63mEZ5w6Ttv6udvhmNCU22vX6LGKGaYherH8vMhc2TaDI3ZxE62urziE5gNbkVaYXbdA X-Received: by 2002:a0d:e60b:0:b0:5ff:d4c1:48f2 with SMTP id p11-20020a0de60b000000b005ffd4c148f2mr337750ywe.11.1706083002414; Tue, 23 Jan 2024 23:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706083002; cv=none; d=google.com; s=arc-20160816; b=ERyCf42h2HTYMeNc9f92RurQhTfRBfLwX9W6C/jn2m/d4lbOKjZNG6VDlETi/ZBGtx uCYpv+XeV6EW5X1Huagn4mCT7PBAgpKjEBvWgfloNfCSTxf9mGN72dVebAz8qIbqnW/E kuFmTNK+LGuO3FuJ9HBlWWGBTiN1VlhnAvLk8gybfdWupuKPuRHnCYXQcLkgYqJZPEQ+ gtVTFVdpYoYJwFij8lUEDdkjSZ09yDqqeNukm5hZ9mM6lTvbM2mJinHYL+AFa1rexfp8 DbXbGG+E2dVGpbJHSKNnGdOiSWpqXA7flkvp31cWWLcX87cPktREnxKTeKwEiTqt6tgB /a0w== 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=L9VZHvE2FPkiZMCjVyYiBUbJfHj/7b2dkv8KOQcC+KE=; fh=gHzvNH+WnbQB64KCr0AUnCYaI0U0xtxKJ+NqKEVRr9w=; b=mj2GbSn5SFtiss5GxFGO57ecuBhIRcltWoPgWexF9/3zhztoR8QiT9mXJDluiVDWNT +HopHoAIsTib7fyC2qoLbrQtP0pk9txHl+q1kvCP5B7fsvtf9huZSHBOXUeeh9RsgM9u LQeVqtkc9Dy2dg9xczlJqo+Z0sV9YIcc6pjUyaQDcGk9/jR6C8IBbLJ9Sw1ukKae5CZZ pAXugHPjiUMMzCNyZJEi00r2WLbLFTE0YBq0oJWXI97mA4/UMNG3awLitE6IgOfuo5/r fzDByLPTro+Fkg56miFY/jexQ6LgmYN+F2qbDdcKI/pc8yW6zCQwLMZMyea7usHErNNX 2ZhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nN7Hhpgb; 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 y13-20020a05622a004d00b0042a4ec9fc93si3152097qtw.7.2024.01.23.23.56.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2024 23:56:42 -0800 (PST) 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=nN7Hhpgb; 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 1rSY7N-0001Rd-7t; Wed, 24 Jan 2024 02:56:17 -0500 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 1rSY7L-0001RB-Lb for qemu-devel@nongnu.org; Wed, 24 Jan 2024 02:56:15 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSY7K-0005S9-55 for qemu-devel@nongnu.org; Wed, 24 Jan 2024 02:56:15 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a2d7e2e7fe0so870810766b.1 for ; Tue, 23 Jan 2024 23:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706082972; x=1706687772; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L9VZHvE2FPkiZMCjVyYiBUbJfHj/7b2dkv8KOQcC+KE=; b=nN7HhpgbSYRUHsXaMAiAb82etg5vVzjZgZwmZKwzn6NCGFK7ZAqfzbUNUI1+74mLVF w12IhLwDufKnw/7q7oIaNcFbWepzwWF6n5A2xtcFLpHmfx5hiTzlur6Xzb7S3/RdIMkw G5cjkD3XKrEPUhy9o2sNsww9K6RhEZ8fj1iayprF17sfd8/lrHHG3Y8RBFG3fktBl5K7 gshJMIUjY5SdDV7gFS1jhjwbZ7wtwnBRQmKKKewLeLGxpC1btwOJnI8TNt+OZONx5a7i qJsV0hrlBnCdIMrqYOSw9I7sqq5KkagM3mP85N7FjdYoyZGL1/QTxgt/efcsNiZf9FBr B+kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706082972; x=1706687772; 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=L9VZHvE2FPkiZMCjVyYiBUbJfHj/7b2dkv8KOQcC+KE=; b=mM3PAgfUaoqBXP97IdEj6w9xuzG7y9gnurxEkmB9Y4eEPgjzm/6LsO+emBZEPuF4Us YBk1ANmMyiSSr8K3hkZIQe+w0q+mmE4uZrZqXnlv0yjH5hEtb/6D3ZAyPb3Nds52sixu wRDux84yVMiBlWuF/Lcu9SJzPM/8yWDe9TYtETnfncTfob2NJO0xR4gmWIzknPChxvNB 2kBOXiA5lWWY+eRX8LB70Etmz30QYmFuUGzipwd5Q98x6rA9IitaHeUbWj9o0MVluUt8 +vO4GMDtX6YJ7SjNpO1yY72Bq7e1V/XThGs5YAn0Q6m37S7zfqZXzmCB9/Y+WKxi/e1n imYQ== X-Gm-Message-State: AOJu0Yxly0rVMsdlyWSoOVE8LGgRMyAn+dpsNeRZrvi1Qzi24IvQzFC4 o3dWZhoE4xPwj/+BN+YmVrqofeulyPRwtRTu4b16V/TpB7fb0CvG1XfVkG+nUVAHLq/DQkbjjOG a X-Received: by 2002:a17:906:bc9b:b0:a30:e1b6:2879 with SMTP id lv27-20020a170906bc9b00b00a30e1b62879mr771770ejb.1.1706082972218; Tue, 23 Jan 2024 23:56:12 -0800 (PST) Received: from m1x-phil.lan (lgp44-h02-176-184-8-67.dsl.sta.abo.bbox.fr. [176.184.8.67]) by smtp.gmail.com with ESMTPSA id l18-20020a17090612d200b00a28fd9607a8sm15094936ejb.81.2024.01.23.23.56.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 23 Jan 2024 23:56:11 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , Ilya Leoshkevich , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v5 0/4] accel/tcg: Move perf and debuginfo support to tcg Date: Wed, 24 Jan 2024 08:56:05 +0100 Message-ID: <20240124075609.14756-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=philmd@linaro.org; helo=mail-ej1-x631.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=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 Since v5: - Rebased on commit 53e8868d69 ("meson: remove OS definitions from config_targetos") Ilya Leoshkevich (4): target: Make qemu_target_page_mask() available for *-user tcg: Make tb_cflags() usable from target-agnostic code accel/tcg: Remove #ifdef TARGET_I386 from perf.c accel/tcg: Move perf and debuginfo support to tcg include/exec/exec-all.h | 6 ------ include/exec/translation-block.h | 6 ++++++ {accel/tcg => tcg}/debuginfo.h | 4 ++-- {accel/tcg => tcg}/perf.h | 4 ++-- accel/tcg/translate-all.c | 2 +- hw/core/loader.c | 2 +- linux-user/elfload.c | 2 +- linux-user/exit.c | 2 +- linux-user/main.c | 2 +- system/physmem.c | 5 ----- system/vl.c | 2 +- target/target-common.c | 10 ++++++++++ {accel/tcg => tcg}/debuginfo.c | 0 {accel/tcg => tcg}/perf.c | 9 +++------ tcg/tcg.c | 2 +- accel/tcg/meson.build | 4 ---- target/meson.build | 2 ++ tcg/meson.build | 5 +++++ 18 files changed, 37 insertions(+), 32 deletions(-) rename {accel/tcg => tcg}/debuginfo.h (96%) rename {accel/tcg => tcg}/perf.h (95%) create mode 100644 target/target-common.c rename {accel/tcg => tcg}/debuginfo.c (100%) rename {accel/tcg => tcg}/perf.c (98%)