From patchwork Wed Dec 11 23:03:48 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: 849303 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp610774wry; Wed, 11 Dec 2024 15:06:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXw8ziw9qj1BbMpFjs7F7U5v1JlswOVHVbbX1ngxyu8PX2GcOc8OSa1hb+teuAMFvGY6I0MVA==@linaro.org X-Google-Smtp-Source: AGHT+IHLar1hDHulpYsPogCWq7ASCVmgpj6k4r0fKAc05SNUgAQeX13eBVOUjpHJOWNhBzBsrW3l X-Received: by 2002:a05:622a:5a0b:b0:467:70ce:75f4 with SMTP id d75a77b69052e-467961b2498mr21361801cf.28.1733958369366; Wed, 11 Dec 2024 15:06:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733958369; cv=none; d=google.com; s=arc-20240605; b=gEKvhB71hVE7t9TH87QfII+HB5G0KrOHdLoYeWTUVK2g/nas/DzEKoeOMl+C9KoKnp sQnqXQiI7rjBDuV/4nkWkMx6wbUCocf3KkgHciGZUw4h2/7t/TaQywBjGw1lqveVt43g trpV4y9Ky8uBo/+0pfmpt+S0xQ6hQdnzU0TMsPKxPnNRDO3Jc9Z4WNBGj0YSJpt3Wl/P /YtzyK+p5pgi9Ek4ZhFPx23iqQhT9L5TMe5kKWm3SG3y4XDiwlR57lL54LpdCqKilRaZ 1m8aW9y2Up8q0cpDXiw9n5V53TsA+elzjz7WN9ct+U6powAFINrZwhNm1/LA/icpERmy Bfug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=pC1Uyy5m1Ql3guGbpj24VXkLZ8MdRFxFFCdpGpXSAVg=; fh=OjCkG1+zFAHgM8ka22zpdQBeTIhfVPLMh2IbVRbLBUc=; b=R5refkM3ROgR/NyN7R0M44tgwCK35ki8A4b0L6A7pgCMOwuAPEKz/QzPJ+mqWEgT3T yQXzmiuar66YO9wzdoVLl+sBVSTudf+9fQ5jno47TvQwmzFd17zggsptqHu4a7HWOKqx OvircXdF0bjgCa6eDmzaXQVukmPHfwbvzfHuicXYagAovetz6L07GDWsJyzqR5WdyVWs 3xLaTMU0PL/z0DSMklfVVgFudRJS/L5G1q4mr6ontFmytHLpqWk1TAsJjKyeLntqnVPT REM35InBEdL7Bd+Dgnra39t7WqqPSR2UXJg97/SWxRFiFrzF7f871ynJ3sYmasxkCJRF BRTw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P/T6VuwN"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b6ee65d61asi210892885a.364.2024.12.11.15.06.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Dec 2024 15:06:09 -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="P/T6VuwN"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLVkU-0002o4-6L; Wed, 11 Dec 2024 18:04:06 -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 1tLVkS-0002n6-6k for qemu-devel@nongnu.org; Wed, 11 Dec 2024 18:04:04 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLVkP-0001na-RV for qemu-devel@nongnu.org; Wed, 11 Dec 2024 18:04:03 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3862d16b4f5so10422f8f.0 for ; Wed, 11 Dec 2024 15:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733958240; x=1734563040; 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=pC1Uyy5m1Ql3guGbpj24VXkLZ8MdRFxFFCdpGpXSAVg=; b=P/T6VuwNWlXtJOEX3RDL/PKrUcERuFyxG4ImuOx0PuqvgspCsAtMQ/fqGiCVK8+xs/ gCHtlk6AXpu20J2w3DwbFcnDijRuEGQEzb8OF1CNElRgfXjfuHfiH77ncKIPPm85KQKf 0Le5gQDAZWbOAh5nBAPeVDZpxj6edtvuuE1XjoSlAKO2Ic2Rrh3zldxZFxnzWXnMmIn3 3+xULQw7AtRiBXP4gKth6jeTqVnQhwJzg7ybCWU9Fx6DIXsA725srVIeoJqZgdyA5B2q u2epJ3xg+nkNZuA3qqsChy7uPVvQyF2KSxCd2U73acVyXTGgQRAJGVrBEjOmWV5v1qnl fZUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733958240; x=1734563040; 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=pC1Uyy5m1Ql3guGbpj24VXkLZ8MdRFxFFCdpGpXSAVg=; b=ehhgn7wwBMAfJT2OvyZHDjiy2WY5KdtJt+drWpuUaSN5dxXxqSJPKOXbScVJ7Qg0yU 71MQCePI4kcBHZ6xjkDPyeZjwXr6peOO8cLXMsee/saX7ONALMeON7Et71rPL4+rPJ3g 45LmADWNE77dBBlCOzcEcMeCStkZ3XDGYaZ+CF9uCMexTJaqTvaBicHPx1vaH8TnLn30 zxp8YRh0Z3XmCSUaWzbXyrScI55T3EGuDEY+Dq0nS9+8v7t/2oSdcHJy50uQNMeFOU54 T0uTM+piYSG9lhidtBUUD1SqOHpvrRyMdOPteb9KtFAxBmSu/Rj8pqvCGdktn08eli0r 4zJw== X-Gm-Message-State: AOJu0Yzoc2Xmtty2wiPNKTaZrPJeJGgb4BzY0dl9+K0aQsbx/nTVXXvY IFUJyy3009GOQjfiCQfsaUNi78G50W8dA8OCubXaeGFac8uQKfVtgzWQauh6V/j8+HE4VGZOcwW L X-Gm-Gg: ASbGncvhdUntkmUufEeH2pqLEPOT9Xe8GYyq6fKia4IvOk3FGYkhmSzoly+dnd9HVZA OAX2BjAGGdTV2kGcmAO1uwN+a1mS3Bh9oXrVEUyj6pEeVXsGAuQzZ6wlBtC+rwfG9/QZPSqmyNj iK+S6ntGCimnPLrjDWquT2QNzzofE+J1jEeCdCAFUDxjljPan/w7QpnIY+7rtqeJPgzUHnt4xsE qNT5Jb1tN6w7P2l0mRzmJbB79IKw9vkpFzR2e3oGQf5X+ncH+kPBLQn17CiFenBNM5hFbjTH90m YxzaauudWA3eJJVCF+aNWVlQjjVgx/ocLw== X-Received: by 2002:a05:6000:4025:b0:386:3958:2ec5 with SMTP id ffacd0b85a97d-3878886cb39mr554381f8f.28.1733958239833; Wed, 11 Dec 2024 15:03:59 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-387824a4bb8sm2285775f8f.33.2024.12.11.15.03.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Dec 2024 15:03:59 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/9] misc: Reduce 'exec/tswap.h' inclusions Date: Thu, 12 Dec 2024 00:03:48 +0100 Message-ID: <20241211230357.97036-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=philmd@linaro.org; helo=mail-wr1-x432.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=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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Include "exec/tswap.h" where it is needed and remove it from "exec/cpu-all.h" which is a header included very often. Philippe Mathieu-Daudé (9): target/xtensa: Remove tswap() calls in semihosting simcall() helper target/mips: Remove tswap() calls in semihosting uhi_fstat_cb() accel/tcg: Include missing 'exec/tswap.h' header in translator.c hw/arm: Include missing 'exec/tswap.h' header hw/ppc: Include missing 'exec/tswap.h' header hw/mips: Include missing 'exec/tswap.h' header hw/sh4/r2d: Include missing 'exec/tswap.h' header hw/xtensa: Include missing 'exec/tswap.h' header exec/cpu-all: Do not include 'exec/tswap.h' header hw/xtensa/bootparam.h | 1 + include/exec/cpu-all.h | 1 - accel/tcg/translator.c | 1 + hw/arm/boot.c | 1 + hw/arm/npcm7xx.c | 1 + hw/mips/fuloong2e.c | 1 + hw/mips/malta.c | 1 + hw/ppc/sam460ex.c | 1 + hw/ppc/spapr.c | 1 + hw/ppc/virtex_ml507.c | 1 + hw/sh4/r2d.c | 1 + hw/xtensa/xtfpga.c | 1 + target/mips/tcg/sysemu/mips-semi.c | 43 +++++++++++++++++++++--------- target/xtensa/xtensa-semi.c | 15 ++++------- 14 files changed, 46 insertions(+), 24 deletions(-)