From patchwork Wed Jan 24 10:16:30 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: 765628 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:10c4:b0:337:62d3:c6d5 with SMTP id b4csp2036328wrx; Wed, 24 Jan 2024 02:18:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IECE1Ehx6XYXaTFWX4590iTRNAsS8kNKgSGtHNFtfsqj+eS6TGBt7cZOWZ55EXcxBjpaxo+ X-Received: by 2002:ad4:5cee:0:b0:686:2520:694c with SMTP id iv14-20020ad45cee000000b006862520694cmr2701080qvb.36.1706091482372; Wed, 24 Jan 2024 02:18:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706091482; cv=none; d=google.com; s=arc-20160816; b=aVFvUKTNQmHzNxSmX6g6HN9mtEBdUoadvmlA9Kb4tD+u/fxYcRgQCLZbL6Rhh0GaO+ QRiOv4NyXgRvAUMEyDL6nzv5EQwncGRO9vygMRBo0dSNZsI17eP9c/+bx6xNbNGKDhN5 iZiaZ01l3gxBu5+x9WzPxnR0pEir665DN3JL/IXd8SEeJaXJlbxVy9usxTgnF1oTut1W sdnNCZjEz/Dp1sVV27qQZTpakJfZO4F9j9/AIEq3cHSsAPs/r+RSbYjUObBUKH0kB3qO paCo489D2Ow2WKeWr7ryHiucgSq1r0/aObNapjTr1dkdsOSYa60UXee11HWt+QdaK+LK zfIg== 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=QsMxRF0CFPEEOHUzu32CYiZcfWVxxK2j9lUe/1YJuqc=; fh=NbVuPqdWflDAvPSkTKr6NNYNDd7OZZnC8VcS2hE3bCE=; b=Fu6urPmgMWylhb8RV22AUYqNhJwEFdEMbZ2oY2ey6FlOXlikubL0gPG6SyIIyRuCaP VjYhnGSOUuF42ZKL0jflxSySErVpdkhlyJEB8hakYJMCbOEGKgr5ArnKYyCiIsSg4TPB ILbFCq3EsA0/PFtBAnjZ5b8b6zCDcqbzpneyjCtN4D5L1bCM94WFQ4NGvBgUkVJBgGFD PMPSgAjzZHcAvU0EMEdleFOQqvJ9V5xJz37dyg9JFpNXSBn4ISN4EOGwHwhJihgGcZcL 9AYavxu9lPqY42nJoL7LuEadH4lqaWgCyvS6/teUA3n3/w1bqev+HN+WpW4O+2stnNPx oikQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w73dlsA4; 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 o10-20020a0ce40a000000b0067f80631fc5si10011460qvl.187.2024.01.24.02.18.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jan 2024 02:18:02 -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=w73dlsA4; 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 1rSaJM-00036s-JK; Wed, 24 Jan 2024 05:16:48 -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 1rSaJK-00036K-Mf for qemu-devel@nongnu.org; Wed, 24 Jan 2024 05:16:46 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSaJI-0003mR-Ur for qemu-devel@nongnu.org; Wed, 24 Jan 2024 05:16:46 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-55a035669d5so6327906a12.2 for ; Wed, 24 Jan 2024 02:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706091403; x=1706696203; 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=QsMxRF0CFPEEOHUzu32CYiZcfWVxxK2j9lUe/1YJuqc=; b=w73dlsA40P1BUl/qXhnga1NDU66O2fJaFEeiYTOyO8JVL1tnLkcJat/cIRwzSt8RjB 22TVMXN5xmStBdnZVUdT3IcW66LBarA67Ipi7JDV4l2OFJnoAa7E8gUW4QrHeOO5N5Ya QPO4ndfnlkKX1ZBI+UXh5Y8rjioVSL1MbdKgYPtbJP+IiBj/OasDkuD+YAD82FMioJ7c uSBLEC7RkENTutL749FYlKh+88z5xfuD4BNmj6bgER+5W59HrABIor54qwxO9ZhiqJF7 3V+oRqCrl65RddW9lboWbhGEB+G7CXpc+SnPym1XKx7G3TUrR2Omga8CmyrJvnpvhyGX vBUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706091403; x=1706696203; 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=QsMxRF0CFPEEOHUzu32CYiZcfWVxxK2j9lUe/1YJuqc=; b=Uk5EFaQhuWDGZ8FhDCUixG9nujkyOwLp2zzDyTwOGgsNIHwyYNfDwzhTqY1XrYf7oi vFm8+JF3zNbW4+dzC269wBm7h8JTTJ8EPv+/J8aCoRzdGpY1EdLtfspZOP8iO3dyd+MY jsSoNzcKRYZnMvjpYowSvHwupANaJVKI/6ej5GP69JVXESzjfYBQJjskihL2FvN0PcEW Zk4SjqXpiuIvyYW1mz+vnp3FwLreg94MusiYkc0pixSHIRwcG+lE+sYhiUlQ3mYlxU9W 4Te4ujr8nQagKKOKlzjy5Ck+fLTDXQUnN4UOYxf/KYfQfKV/r/LAXpmtWEqP0VbSOMhM 3wmA== X-Gm-Message-State: AOJu0YxnlQDiHmhXoQ53Cc4ntdX7RDdMjy44X/c89cWdcpvRW/i2FfmF +0G7QIqam8pIXv7emzcTVU13UnT3SLB2klVSffTt5pWKEzM8SFxrr9IF+QzB650= X-Received: by 2002:a17:907:a807:b0:a31:2249:ae4a with SMTP id vo7-20020a170907a80700b00a312249ae4amr355087ejc.120.1706091402778; Wed, 24 Jan 2024 02:16:42 -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 vb5-20020a170907d04500b00a313b27f6d5sm144254ejc.147.2024.01.24.02.16.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 24 Jan 2024 02:16:42 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Anton Johansson , qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Pavel Dovgalyuk , Claudio Fontana , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/9] accel/tcg: Extract some x86-specific code Date: Wed, 24 Jan 2024 11:16:30 +0100 Message-ID: <20240124101639.30056-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::52f; envelope-from=philmd@linaro.org; helo=mail-ed1-x52f.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 accel/tcg/ ought to be target agnostic. This series remove some x86 code, addressing part of "Work still remains" from Anjo's series: https://lore.kernel.org/qemu-devel/20240119144024.14289-1-anjo@rev.ng/ Based-on: <20240124075609.14756-1-philmd@linaro.org> "Move perf and debuginfo support to tcg" Philippe Mathieu-Daudé (9): accel/tcg: Rename tcg_ss[] -> tcg_specific_ss[] in meson accel/tcg: Rename tcg_cpus_destroy() -> tcg_cpu_destroy() accel/tcg: Rename tcg_cpus_exec() -> tcg_cpu_exec() accel/tcg: Un-inline icount_exit_request() for clarity accel/tcg: Hoist CPUClass arg to functions with external linkage accel/tcg: Introduce TCGCPUOps::need_replay_interrupt() handler target/i386: Extract x86_need_replay_interrupt() from accel/tcg/ accel/tcg: Introduce TCGCPUOps::cpu_exec_halt() handler target/i386: Extract x86_cpu_exec_halt() from accel/tcg/ accel/tcg/tcg-accel-ops.h | 4 +- include/hw/core/tcg-cpu-ops.h | 7 ++ target/i386/tcg/helper-tcg.h | 2 + accel/tcg/cpu-exec.c | 125 ++++++++++++---------------- accel/tcg/tcg-accel-ops-mttcg.c | 4 +- accel/tcg/tcg-accel-ops-rr.c | 4 +- accel/tcg/tcg-accel-ops.c | 4 +- target/i386/tcg/sysemu/seg_helper.c | 23 +++++ target/i386/tcg/tcg-cpu.c | 2 + accel/tcg/meson.build | 12 +-- 10 files changed, 103 insertions(+), 84 deletions(-)