From nobody Thu Apr 3 11:29:39 2025 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=1742510194; cv=none; d=zohomail.com; s=zohoarc; b=CXO5NDDONpTzqcMoxUdyNvNUmW4i1Bz335Kv96IKiZq4Q/niDdTfpjeaNaz+AOFHEXEkvQwuB/TO04IWoKOfb0AfbB2Lg6yLJurRteRl6DEHHHJSe2R9d6cB2Yt75aj+OBVtw4+qNKmb2FdhmL372c56tk7wv0RyWVByTXPncTM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1742510194; h=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=xFqUHpOq6/zm0nogOBs1dNKROVvqoyXbuPu8a/iEMZk=; b=BwmOCyQuh/QC5uUSIuUqDaWvxbbJ4QNRApPhPPo+GbZR8FQWP6bj1Oa1glICAXioBYn3o3VW+jP0tLzEJaSvYbrFGEtQkHZEhHRVHFuo7UA4Cprl4Cn6+L84eTVuNDMfgZScCz/yU/gqkAlbhTqIyI65t3euf5pxwU2cFBFjZiQ= 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 1742510194459756.1145118808784; Thu, 20 Mar 2025 15:36:34 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tvOQO-0002wx-0z; Thu, 20 Mar 2025 18:31:41 -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 1tvOPM-0002RM-K8 for qemu-devel@nongnu.org; Thu, 20 Mar 2025 18:30:41 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvOP9-00078B-Eu for qemu-devel@nongnu.org; Thu, 20 Mar 2025 18:30:31 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-2240b4de12bso36343685ad.2 for ; Thu, 20 Mar 2025 15:30:21 -0700 (PDT) Received: from pc.. ([38.39.164.180]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22780f4581csm3370145ad.59.2025.03.20.15.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Mar 2025 15:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742509820; x=1743114620; 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=xFqUHpOq6/zm0nogOBs1dNKROVvqoyXbuPu8a/iEMZk=; b=i21sxuNsAz8f+fThjf6Fk/2evEFrvpbv1O4XRFXEpmHbcGeEg1cwua1OEtFOL0whg3 bS9D/svg3VygevKune3qAX37XcpKoLrOEp+b4FImyBHB5OOx22xkgrKvH4ZYgvde9lum nq9NYMjxxuiRBwKm4njGmPiwkhUATq/gZ0zH6/Q+88PlZJV8plIOgcOR2Z+4xZ0hyYwG GiQVh7+a2H2KZS5pDi4fKerRDx6hA+2eDl6m8BAktCQRNd6P7FDzPfpgZivUYSuQ7KV+ IT0guLLpKpTzYDiRJs1AN8vhjzI323g9MtWLuFLAvTuO927Vnrna34HoKTu5mUhu06r3 1q1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742509820; x=1743114620; 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=xFqUHpOq6/zm0nogOBs1dNKROVvqoyXbuPu8a/iEMZk=; b=Rcj1IxDxpvZ/djqi49TfB+pr1HycWlcpSwlamI3ZFGVnN5kqAlHJRPkYL7NcXi4ulb TF7Su1SrpW34OMGSO9HUlxFPFs92GYNteH1B2KWP3QiUFNUO88LYxPahDSvHerpi5UOj G2OYnv0MeAOqt6kfcpdc8XOJneaS4f1kFQsWXe5vOLHQbEnTcaax8vyCJEL+PUwW+qVi oJt4c8yd+lFmJI8A/mrKMCLmcc6kVoqYJtVp7X4+EzvRY8NS0zkh8r8w/IQYAdlbtiDY HRz/+pPueXgrYINXDNRsyrcUBbOMfg8D9o5QOGZ5aN2wh4pfQsaZbAJFGWj7YfeHcxo2 IYIg== X-Gm-Message-State: AOJu0YyIhRbKhXKKt4GSiZ0HO1fD4ruIl5WfW9ab12ftQ+w6dFdHr1Ap Gh2ccrDQ3wPEeIh/KNdSEMuEa7t8W4jdvrJ4agU/uO8QA2CoGGlq8uRGRtYTux5g2/abc/BL11m W X-Gm-Gg: ASbGncvCVRE1EBV7HyGhqciLW60JyuxrNv5CWTV8S3G71/xy5Nj+8o9QdSutFNu167i 4/vsk9cGvnXC69CI/DG7f6+DhkmMAKHWlZFyl7ZMXR+pos/vBGXUOof6d6AD4lwlXqrGdbVDjdj DEd+CN66KgZVjNDZAtyn+VBx4liGgjG/0x0FMUVb42CZylTqNVOrRo2TL+ZyxxMUA2qN7jC8cLC kWUm1BRbCRr6aLAAo23U5SEkSLX2VACAWJcjpMk4xGQlYW0kaBoWvw/EXH00w2MJG3i1RLOm9R/ Zbb4NuF070OwrpjpvmCweHNqpYsKAGoj4e06I2vPZEtf X-Google-Smtp-Source: AGHT+IFBKDA1KSEszRYL6pQSK/w5qMFQcOYQFQf+g/w2J4vsHvlcI3/0ADJcw1lVzMWVtNrb1auW7g== X-Received: by 2002:a17:903:32ce:b0:223:6180:1bf7 with SMTP id d9443c01a7336-22780e1557emr14650115ad.42.1742509820539; Thu, 20 Mar 2025 15:30:20 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-arm@nongnu.org, Peter Maydell , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH v2 07/30] exec/cpu-all: remove tswap include Date: Thu, 20 Mar 2025 15:29:39 -0700 Message-Id: <20250320223002.2915728-8-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250320223002.2915728-1-pierrick.bouvier@linaro.org> References: <20250320223002.2915728-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 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=2607:f8b0:4864:20::629; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x629.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1742510197006019100 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- include/exec/cpu-all.h | 1 - target/ppc/mmu-hash64.h | 2 ++ target/i386/tcg/system/excp_helper.c | 1 + target/i386/xsave_helper.c | 1 + target/riscv/vector_helper.c | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 4a2cac1252d..1539574a22a 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -21,7 +21,6 @@ =20 #include "exec/cpu-common.h" #include "exec/cpu-interrupt.h" -#include "exec/tswap.h" #include "hw/core/cpu.h" =20 /* page related stuff */ diff --git a/target/ppc/mmu-hash64.h b/target/ppc/mmu-hash64.h index ae8d4b37aed..b8fb12a9705 100644 --- a/target/ppc/mmu-hash64.h +++ b/target/ppc/mmu-hash64.h @@ -1,6 +1,8 @@ #ifndef MMU_HASH64_H #define MMU_HASH64_H =20 +#include "exec/tswap.h" + #ifndef CONFIG_USER_ONLY =20 #ifdef TARGET_PPC64 diff --git a/target/i386/tcg/system/excp_helper.c b/target/i386/tcg/system/= excp_helper.c index b0b74df72fd..4badd739432 100644 --- a/target/i386/tcg/system/excp_helper.c +++ b/target/i386/tcg/system/excp_helper.c @@ -23,6 +23,7 @@ #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/tlb-flags.h" +#include "exec/tswap.h" #include "tcg/helper-tcg.h" =20 typedef struct TranslateParams { diff --git a/target/i386/xsave_helper.c b/target/i386/xsave_helper.c index 996e9f3bfef..24ab7be8e9a 100644 --- a/target/i386/xsave_helper.c +++ b/target/i386/xsave_helper.c @@ -5,6 +5,7 @@ #include "qemu/osdep.h" =20 #include "cpu.h" +#include "exec/tswap.h" =20 void x86_cpu_xsave_all_areas(X86CPU *cpu, void *buf, uint32_t buflen) { diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index ff05390baef..ff8b2b395f5 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -26,6 +26,7 @@ #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" +#include "exec/tswap.h" #include "fpu/softfloat.h" #include "tcg/tcg-gvec-desc.h" #include "internals.h" --=20 2.39.5