From nobody Tue Nov 26 18:31:15 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1705664187; cv=none; d=zohomail.com; s=zohoarc; b=TkuDvifTVkt5M3sJSSfRiAQZvW2Zi+enjZKZvCNsH6dQUCrnqBRd3V+dQ878uovRgFxNoNfoUjaLrnnJXK0tEWnJMqKabr4JzgL36ZiXC+4BFDMRMbyXbgRoitIJe4CuCo1Lz09LdHADBsrO8gkSLzqRS/jw3aBFC13tp70CzF4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705664187; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=grikY+amHmPq7q8W8EjnJR7Fi9QeXPdA+8sNJUwVsyo=; b=QWwQxmzFA9jP1yfeXvdzGJ25o0byu6RySA35LpNd2Y50QTPj9j+orq8Msl5Hbi8NvXm5s5wijjNc45v+WhX0TpzTVwvQoJPgY2CEfnxIp9lHEUz+Mo8uplMDlMVw/lFrO3BUDWIvFeyoVmt2hBI3rMlN/Pqd+86+IFnpX9iaKTg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 170566418703234.729256731757346; Fri, 19 Jan 2024 03:36:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQn9k-0001Xx-9B; Fri, 19 Jan 2024 06:35:28 -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 1rQn9i-0001W7-VS for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:35:27 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQn9g-0007Wu-13 for qemu-devel@nongnu.org; Fri, 19 Jan 2024 06:35:26 -0500 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-337bad75860so450549f8f.1 for ; Fri, 19 Jan 2024 03:35:23 -0800 (PST) Received: from localhost.localdomain (91-163-26-170.subs.proxad.net. [91.163.26.170]) by smtp.gmail.com with ESMTPSA id h4-20020a5d5044000000b0033609b71825sm6271320wrt.35.2024.01.19.03.35.21 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 19 Jan 2024 03:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705664122; x=1706268922; 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=grikY+amHmPq7q8W8EjnJR7Fi9QeXPdA+8sNJUwVsyo=; b=A6oNhbaaso+N9ZBobJD74HwobF3vF94lpf31BGUc7GFKzTCqQMdN9byuOarlClYqdg UgJmkPP8hcOW07v/NyznC0Jwdlswox3Z28L9csV3wWSDPd+PWGoOrhDnmIbtSL/Oh3vo XEBUijIIIMbLH6StMm3DSlB3H4thutFIaULdOf2bh+gJlFqPyP9tDCkFh+Hs3cnexc7u qz9/nGMGaFTLeeI1G1kRMopa+FzCZuAGWGy+3dwUg+9oieRQ8E0PewryPZqo5fN5RH6d 7xRP+0hhsUPHwkFAlLb6aZEtsOLLSpXME7roqFbNFRNmWcdGOBwm8Kq7LULkYpiPRwSd /LWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705664122; x=1706268922; 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=grikY+amHmPq7q8W8EjnJR7Fi9QeXPdA+8sNJUwVsyo=; b=GkykYAqIQNoju37ldym0ooWZb8J/gVjdrzKOAIfmPbDdKfjJqvLNupXFxoht0A3oNC HIfHjYyhllHmZxHTERQ6J87rBc8DfAXSMrBXyAgcT5pNAp9FrOH6NNj3+e0r/XzqPBv0 nz/KbsnSkbaUOx45meAYJMaejvPS2rbpjIRw9LkD0MvhtBx7vOB0VpsBxhH+h/D+s0PB t3Gei1X/RM38HqWyn+P9lHNP9x6GraOi6TxxktilVEpsbRptvyY4B5HoJ9mVP+dN6MXj S2jTn9uolMrl4njiOsj+cwDp5o3Gc29RxctlhH6RJUcpo5NxXP6KYlAl+NE7IG/n+Bme arOw== X-Gm-Message-State: AOJu0Yxrk7zbNCExsSGQHkpyyOxRVsLbHYeGFIVZvEXhfx4xct6Wfn9+ 6vQNs2fU4QnnRYMlaMCsaGgfzbbASKjWu/jEa1/zlXN03JC+dJS3J+G1Zv3dmeo7efHDcpFHKRd 9X7obMg== X-Google-Smtp-Source: AGHT+IFGu0S56XYueCbcd3l3ulMJXaTbGaSZD/F7favirurH/UIHPvl0U0ITbNeTPTdsF1rGU96YMw== X-Received: by 2002:adf:f408:0:b0:337:68ab:617f with SMTP id g8-20020adff408000000b0033768ab617fmr1477351wro.15.1705664122436; Fri, 19 Jan 2024 03:35:22 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Peter Maydell , Paolo Bonzini Subject: [PULL 03/36] accel: Do not set CPUState::tcg_cflags in non-TCG accels Date: Fri, 19 Jan 2024 12:34:32 +0100 Message-ID: <20240119113507.31951-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240119113507.31951-1-philmd@linaro.org> References: <20240119113507.31951-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1705664188364100003 'tcg_cflags' is specific to TCG. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Message-Id: <20231130075958.21285-1-philmd@linaro.org> --- target/arm/cpu.c | 2 +- target/i386/cpu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 826ce842c0..593695b424 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1796,8 +1796,8 @@ static void arm_cpu_realizefn(DeviceState *dev, Error= **errp) int pagebits; Error *local_err =3D NULL; =20 +#if defined(CONFIG_TCG) && !defined(CONFIG_USER_ONLY) /* Use pc-relative instructions in system-mode */ -#ifndef CONFIG_USER_ONLY cs->tcg_cflags |=3D CF_PCREL; #endif =20 diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 2524881ce2..03822d9ba8 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -7221,8 +7221,8 @@ static void x86_cpu_realizefn(DeviceState *dev, Error= **errp) static bool ht_warned; unsigned requested_lbr_fmt; =20 +#if defined(CONFIG_TCG) && !defined(CONFIG_USER_ONLY) /* Use pc-relative instructions in system-mode */ -#ifndef CONFIG_USER_ONLY cs->tcg_cflags |=3D CF_PCREL; #endif =20 --=20 2.41.0