From patchwork Mon Aug 28 22:13:04 2023 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: 717753 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420856wru; Mon, 28 Aug 2023 15:14:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXyLzswYYtsHdHi0lfQyqMhaGKt7tXockCNhs+tlmiOuUeFivHZ2N/d8WefisTkSiN6JvD X-Received: by 2002:a05:620a:240c:b0:767:2736:ecd4 with SMTP id d12-20020a05620a240c00b007672736ecd4mr34285459qkn.47.1693260892455; Mon, 28 Aug 2023 15:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260892; cv=none; d=google.com; s=arc-20160816; b=hhYxA6Xcs5o6EmS84Xrh5niylJsnwj5fH7l9d+bOdQsHlSHE/UYmwrw+5htPelDCD3 QG+fjEK9KZTi+Hiu8B57GYFGWgHtI9H5fJw3s3jB0MddViqCe9bzvHYWtSw5Hp7sUaQL pXT2gErlbaqhXT77lA79Q11aG/MTg+MoqgXPL7ltO+kvYYnhVyvXiNY2ijKO6dbNalON iCL2zcoPQrjESYvqdTPId2zkxYKETxEtUZDN7Wxu6Jg0QsLMXktMw7am7sqRRN9fS8Y6 N2Z3zXfnsuJVJ/a+0YNFr8x7z9OFNTYcsCjnTA/y0DiqRvMfWsSY3sf1BZWcKdO8u3CR 35cw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=VTLzwsBdd+pGvD0KvryAncqN+1t1HanY/7/L+qr9KC0/tQz3S50ToZQ1VVQk5cvoTY ywDtSF8YWMXh3oJqinNcffPl/kgkEZiWFEcemHtRzauYgyRkT2hPfZ9KDrLDh6whobCQ +ZeY06ouKKOGepyziJ0jMjKOU6Zd/pVLy4u9R/Ftu/wBw37LUDApUUQ3kcvS8qQcjGxd WIeIci8zra873iueAk5E25cvkqUF803cTHtgKWzSrQFjCGz7suIEYl8//CmL6O4vEro6 GkYtwOHkKl0nzPMAHg1yLRH17IPsZ9x1EX64KMqfNAlicVsRPRAChGq8bLsI0gJEGU/i v+JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P7BR8xaD; 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 k22-20020a05620a415600b007672e58861bsi5582849qko.539.2023.08.28.15.14.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:14:52 -0700 (PDT) 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=P7BR8xaD; 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 1qakUE-0005ri-7d; Mon, 28 Aug 2023 18:13:30 -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 1qakUD-0005rG-AF for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:29 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakU9-000483-OX for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:29 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-31c6cd238e0so2981534f8f.0 for ; Mon, 28 Aug 2023 15:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260804; x=1693865604; 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=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; b=P7BR8xaDjcJGshJySCVQVljJUEjiUazbpSm6e1BrSRK+dCfM7YZ4UL3KGATyHUIm1v 0n6TjpdingX0FubBMXjURoyLyOfDVd2nooMZL2IRehWAnC46vCUeSBBlSRDJ8q0lv1iy vqYmYypvtpHR9mv8E0O9krIbh2FpkurwLZd9aUJJ8zeJbIpVvVwpHFDlnWptsZE2Sh2R dBN9pPlV+AW0EPgyUHiX12xfO1wwQam6kV0iXkZu1cRAl6xabGMr4M+KUfuBmj5LKWM7 Auo23CNqfNZ74J7crYM8/Ey2XTjImyGGSVHQER1R8NY068/ItAuxIA8cBGehJEncdVg6 Zx/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260804; x=1693865604; 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=CDnk9YSeaoJdQRRB9TTsPC8B6FMZ/ZKTWzxCgLttq3Q=; b=gNT0VlH+dKi56PYNOVW4cCOQSJ7K/EjEylLG+p4FeKWZavUV3SKNkIUzNm/Dg904ZD 2PHlinPVXEjK3vIAX8HBmFtK/g/nrKrf3IF4H0p13o50X4VOVrFnc/f5HrgXGYQSLd0d WRqlkoxhtLj0KSyi7hF/RLah5vwpjAhZnlw+zjwtZDTHAFFZGVGNA52IgnT44iBw665W aVvXNn+6PsWZiTMzuYxZEbd3EVa16H13PhRtiOG7yaoM1YdcdoRvGGWVznePhSIzgC8h VVXFfNUOT2vlvcjzc+XH1MtJMOFLiTAcFfi7jaaL9lDrUzHkhIfJI2COoQsqOOe1UNR+ V9Bw== X-Gm-Message-State: AOJu0YwrT2Q+7ifoaUU3xlqdiMSYG1tQPbqMX8GmC/3quMM07TQv/W60 NNKwQBAHg9uZsnDPo9SLU/fJ/66lxj7be2/Tu+I= X-Received: by 2002:a5d:530b:0:b0:317:ce01:fe99 with SMTP id e11-20020a5d530b000000b00317ce01fe99mr605633wrv.9.1693260803920; Mon, 28 Aug 2023 15:13:23 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id u5-20020adfed45000000b0031984b370f2sm11756175wro.47.2023.08.28.15.13.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:23 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 01/11] target/ppc/pmu: Include missing 'qemu/timer.h' header Date: Tue, 29 Aug 2023 00:13:04 +0200 Message-ID: <20230828221314.18435-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philmd@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 commit c2eff582a3 ("target/ppc: PMU basic cycle count for pseries TCG") pmu_update_cycles() uses QEMU_CLOCK_VIRTUAL and calls qemu_clock_get_ns(), both defined in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/ppc/power8-pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/ppc/power8-pmu.c b/target/ppc/power8-pmu.c index 7bb4bf81f7..2537cded83 100644 --- a/target/ppc/power8-pmu.c +++ b/target/ppc/power8-pmu.c @@ -16,6 +16,7 @@ #include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/error-report.h" +#include "qemu/timer.h" #include "qemu/main-loop.h" #include "hw/ppc/ppc.h" #include "power8-pmu.h" From patchwork Mon Aug 28 22:13:05 2023 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: 717756 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1421033wru; Mon, 28 Aug 2023 15:15:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4xIMB5M27dvb99GdVaCoVxaZmNVl7XejrNMtPcgZMUqRFHS5Nrf/wY3LGxiRvOL+8hGqd X-Received: by 2002:a05:620a:a52:b0:768:4333:c584 with SMTP id j18-20020a05620a0a5200b007684333c584mr27164346qka.77.1693260920892; Mon, 28 Aug 2023 15:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260920; cv=none; d=google.com; s=arc-20160816; b=ibZSGm2tIPWqCLKnfSBwb9O7MW9G2pTFxRT0dPVGWKupHcFNXvLJ64mnvAy2bW5JLV x/xY6STXD/gu7r8ZlEBh9yqVLw7o36cU7u4kmqtob5PGKbEuS82xlriJvmldvgKyOW1y rs+oEqHQBTyeybQO5cEff22vssoHKk33sco/a9gpL6uOEZzVfHqjfLxJgrzZ1hXsHKyA wY2x16h2bS3i6fyHkjOMca/hEzLdEoPQNMyKOnZJmPslaO4cI9rZ9u41x2u/SbF4YlZd HVinuyeRfTgX3KOOMtU0UEmiZm+NNFYbK/eEeryhD1oRoNlCdQcD7fIqq7uH2HLhZBoJ 3J6Q== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uMoJnfVgaQ/gSCJ1EcKalX6fTZe7ML+oEsM4UrP9ySg=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=jXlp2vjqQEZArGkaWWOcWejWt8GbWT6T41JCEyOGpg4Rlm0cuoiZ7PHkOXarsAPHI4 zKNZjv+Ch4M17vhhj7PSM6GxsmiXuHg5qh5U7r9508t3AzY6KdUkicWPPKxn7jtA8str Oxzue8gxZlbTl7gVC4nOERGNgsIdj88Ne97sQZpBHqPSGzKu/anXZ3rb7LlL9e10Q20a azirpJ1quh/kjhXwtUT41Bsbh73xmRndz+tOO4JpD9+6bk1SpNhFBTa9pVXu0NmypFQy eySFnFqqa8a9EyMvD8DfPkHB4D51YzuuALXYKNim/9aHgqA33DY31OYsmtdTku91Eex7 fwzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ueRVCvKg; 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 bp12-20020a05620a458c00b0076f15035d62si1685400qkb.337.2023.08.28.15.15.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:15:20 -0700 (PDT) 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=ueRVCvKg; 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 1qakUK-0005u9-Jw; Mon, 28 Aug 2023 18:13:36 -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 1qakUJ-0005tb-Pd for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:35 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUF-00048z-FY for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:35 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-401b393ddd2so35094555e9.0 for ; Mon, 28 Aug 2023 15:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260810; x=1693865610; 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=uMoJnfVgaQ/gSCJ1EcKalX6fTZe7ML+oEsM4UrP9ySg=; b=ueRVCvKg2mCfDpdrpsar4KWAKAQlZnxAwTgezKNFmIMX2ApvXjHpM8UyClm6Kh6AoZ +A/6w6hOUVCJEvM+CMOL+zSXfNuu9h1yW3UG441TQGuZcNlJhJDtDKEIJ+6Eo/tArxqo 2gCqWZSJfPo4X9gJTl5qwYxJ4KRLlO0+1MtxCGe8nQmUiXJD6/VoQrG6iPGKNYO3koMA m2HxNN1A9VmW4BIe3fruRTWO2x/nQnP4DLfad1mU4NxK+Q7Z72lXiBpc1tFrGfdBb1Jh UdHvYI3X7ypsW0cnCK2FXqBqUi62LtnxEA64F25498Qor3zwDNUMG0ondGCHX3IgoyPN xAMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260810; x=1693865610; 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=uMoJnfVgaQ/gSCJ1EcKalX6fTZe7ML+oEsM4UrP9ySg=; b=VZJmgVhuaQ3kuSs8qLTIDttojETD2r7ebeI2JKoKOuU0YTpUFwPa0YRNhQ4qkMAPHJ +9NFOPjuhGb2+5YMhABNAtoH/BcAIrJnMTClros0A1ilPDs7Hw8xCbqywiCaqhuFgwd4 +Pf5Wu9o48AVe/RwaS0AeVnlnZOF9X+zV0Jbhsvj78s67KcYzWw200weQrzOo97a8i/O 03Cna7UHj+ZE//t79HqPTSL3V7E8uQCQf3nYOESld9Q0mwKxYQwW8/03ZsR0QvbRCa+I 8znMCG0ug+B597xM7ekXzO5aa/O/kk+tF3tOb3cmUll7jwU4INs+Uo3zatG35g6j/MXm D4BQ== X-Gm-Message-State: AOJu0Yx1OmofYuEvK/BdMrNS3xtSwsDkzXh/l7XlzHKPQ6+oefLUM5vs nW/OFgeYXGUH1Ygqqw8pACkK3QvoDndA/ysnnwE= X-Received: by 2002:a1c:f304:0:b0:3fe:4900:db95 with SMTP id q4-20020a1cf304000000b003fe4900db95mr21506058wmq.37.1693260809816; Mon, 28 Aug 2023 15:13:29 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id m9-20020a7bcb89000000b003fee777fd84sm11904037wmi.41.2023.08.28.15.13.28 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:29 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 02/11] target/riscv/pmu: Restrict 'qemu/log.h' include to source Date: Tue, 29 Aug 2023 00:13:05 +0200 Message-ID: <20230828221314.18435-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h", reduce it's inclusion to the source. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/riscv/pmu.h | 1 - target/riscv/pmu.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h index 0c819ca983..d2be06a133 100644 --- a/target/riscv/pmu.h +++ b/target/riscv/pmu.h @@ -16,7 +16,6 @@ * this program. If not, see . */ -#include "qemu/log.h" #include "cpu.h" #include "qemu/main-loop.h" #include "exec/exec-all.h" diff --git a/target/riscv/pmu.c b/target/riscv/pmu.c index db06b3882f..36f6307d28 100644 --- a/target/riscv/pmu.c +++ b/target/riscv/pmu.c @@ -17,6 +17,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "pmu.h" #include "sysemu/cpu-timers.h" From patchwork Mon Aug 28 22:13:06 2023 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: 717752 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420823wru; Mon, 28 Aug 2023 15:14:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxQ07fUM9a7gXyooUH05RhCLDWlpiwtknzohNODEmXzmpO00SwrtrpJrQygKVBKdZ+uJol X-Received: by 2002:a05:620a:984:b0:76c:c30c:8a04 with SMTP id x4-20020a05620a098400b0076cc30c8a04mr23937134qkx.69.1693260884047; Mon, 28 Aug 2023 15:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260884; cv=none; d=google.com; s=arc-20160816; b=lAvGTMDZ2xy4cMdumfJ0xT+3ljSt5h+iLkikIgDYUGflTe7Vem1JgPXHCZDIGX6n2F Rk+4DuorEbIbl/QhCEifsX1uBPoYukjCeEJ7JBB/Ue4/2V5g8PU0yH7unjqePxyvUVhj K3izBFZWjcMIGEYuOL0VAy1bb2ji2XtdX2nbi01sokltPSaRCm5AyL3BT9wEY/784dq2 QTR9JVc+nlg9UpGZypPseBOicGlq00PnLTzTj0I5t7v6eNP93pe7y10CAoDHSz97ggUk A/bwMjpbde+3L6Ag1/6TO7Tclu5H/KoYK9c7r64QXqeD64y5vI9TcOmAGEWgzh8ppZ0V Cs+g== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ssBvu4DzmFM7P1c5RxQ8Yw61cUsLlr2cfwVX7OvTMhs=; fh=dbvxcF+wv/s0W/vbgiEajIQqQ0tE/CJz29MvQ77T3zI=; b=qMJ1+k77C9apT5FD1JXTjYlZGMwmbTTlHspBNBIVftmnNUxVRVCH6ZE4dSbSConmA1 d1dVhM6Wpqd9r4xccFK7kuZXPJADQlx88pLdHqF3cj17OQPJRHLQzdYPB81b8hTbkiBo Sc8hOZPSOFiz2nXYxmDmRxqOIIaJsuEz8bf2HgmKuRRGlmQS9Wnjr4h3AdxYJrkQ0hHu ONlRtiZ6uhQ8tzDA9eS84CADzqysUndwgAxLUMpCMmpdasqvvSztT5y7FK9xg4KiA3pD gus4AOeBDUTLa/ARYCeS/dq28h+vLRg+40VP+DdjpF5FGmKmyiPm955DbHFZ433YUG8t Sl2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FVfj+4+7; 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 to12-20020a05620a4c8c00b0076d9cbb7aa0si3103360qkn.19.2023.08.28.15.14.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:14:44 -0700 (PDT) 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=FVfj+4+7; 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 1qakUW-0005yD-Ez; Mon, 28 Aug 2023 18:13:48 -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 1qakUQ-0005wD-QD for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:44 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUM-0004AJ-4q for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:41 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-31781e15a0cso3317375f8f.3 for ; Mon, 28 Aug 2023 15:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260816; x=1693865616; 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=ssBvu4DzmFM7P1c5RxQ8Yw61cUsLlr2cfwVX7OvTMhs=; b=FVfj+4+7zlv008OcnUNBIkugVojkXIRGj/MkyiPGUTDK7xGCW2UyrKjaDnrR4f7eDm AGpj0a6b+WCSv9bB4uMmBBHUGWJmJDGJ8O5ekawbUNI8FGpknM0N36SYFLjmReI2eAnE QLBIvYh59nvuWFEGVuMp3e+5x4e8TcZbtqDEJi4hC7xZhNqJCj7lHKdxVn7UfoZqHasU NIir8tV8KtjpuUjEi7sWlX+3Y293eDFi7G1Lh8Gq75kWUygx6IeWH0dPABqcDrFweRtb MwiGKPe+yJhhUu2epghQGPy/O+TZyMLYFVCnleONxhXgZ+w6o98SYYGxOUpQaNfIauem yuCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260816; x=1693865616; 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=ssBvu4DzmFM7P1c5RxQ8Yw61cUsLlr2cfwVX7OvTMhs=; b=LVz2rZ6hyjvqlBWZomB8k3NvaEMYrHZCACu/KQDARvWSiDgqF4AO17V1x+ybjaNiYs bzhy28WITV1CFdsmMKUDa5woO7ZMFnbiNQzbCYc/2bhc5ilTYvDRVzscOlgzHUpF8ubo 0pqCEhL54nMz7M/Vr29aAAEA+8n6/4Rm7eI/PGt+9PfHdynAQyC4QlITTzuvfTHqkRRq QHnGoJqbsD0ik64IpJcVBx2RQsujOATTu1/OogRWCxqRnlYtZy0HlanafeVvhlQODk8r MXTalw1ZDn19uJ+q0Rh1MBq9tBMPg8+55xdlnR8f9nE+8KnPXUSym+d7DpvhlggOGRK3 mpgg== X-Gm-Message-State: AOJu0YynV+tHeHqnNZNIngrmj4vhY1LQtpMscxmx4sHS0xZ4d+WlVPwt GwshvZjuNcaapCInM4VbDTva6I7QurJiEoQ//bA= X-Received: by 2002:adf:ce82:0:b0:317:5f13:5c2f with SMTP id r2-20020adfce82000000b003175f135c2fmr18469381wrn.0.1693260816435; Mon, 28 Aug 2023 15:13:36 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id f22-20020a5d58f6000000b0031981c500aasm11704824wrd.25.2023.08.28.15.13.34 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:36 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 03/11] target/translate: Include missing 'exec/cpu_ldst.h' header Date: Tue, 29 Aug 2023 00:13:06 +0200 Message-ID: <20230828221314.18435-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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 All these files access the CPU LD/ST API declared in "exec/cpu_ldst.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/avr/helper.c | 1 + target/i386/tcg/fpu_helper.c | 1 + target/i386/tcg/sysemu/excp_helper.c | 1 + target/loongarch/cpu.c | 1 + target/mips/tcg/ldst_helper.c | 1 + target/mips/tcg/msa_helper.c | 1 + target/riscv/op_helper.c | 1 + target/riscv/vector_helper.c | 1 + 8 files changed, 8 insertions(+) diff --git a/target/avr/helper.c b/target/avr/helper.c index e6e7d51487..fdc9884ea0 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -24,6 +24,7 @@ #include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/address-spaces.h" #include "exec/helper-proto.h" diff --git a/target/i386/tcg/fpu_helper.c b/target/i386/tcg/fpu_helper.c index 6f3741b635..4430d3d380 100644 --- a/target/i386/tcg/fpu_helper.c +++ b/target/i386/tcg/fpu_helper.c @@ -21,6 +21,7 @@ #include #include "cpu.h" #include "tcg-cpu.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "fpu/softfloat-macros.h" diff --git a/target/i386/tcg/sysemu/excp_helper.c b/target/i386/tcg/sysemu/excp_helper.c index b5f0abffa3..226689a4f2 100644 --- a/target/i386/tcg/sysemu/excp_helper.c +++ b/target/i386/tcg/sysemu/excp_helper.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "exec/cpu_ldst.h" #include "exec/exec-all.h" #include "tcg/helper-tcg.h" diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index 27fc6e1f33..65f9320e34 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -11,6 +11,7 @@ #include "qapi/error.h" #include "qemu/module.h" #include "sysemu/qtest.h" +#include "exec/cpu_ldst.h" #include "exec/exec-all.h" #include "cpu.h" #include "internals.h" diff --git a/target/mips/tcg/ldst_helper.c b/target/mips/tcg/ldst_helper.c index c1a8380e34..97056d00a2 100644 --- a/target/mips/tcg/ldst_helper.c +++ b/target/mips/tcg/ldst_helper.c @@ -24,6 +24,7 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/memop.h" #include "internal.h" diff --git a/target/mips/tcg/msa_helper.c b/target/mips/tcg/msa_helper.c index 29b31d70fe..c8597b9e30 100644 --- a/target/mips/tcg/msa_helper.c +++ b/target/mips/tcg/msa_helper.c @@ -22,6 +22,7 @@ #include "internal.h" #include "tcg/tcg.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/memop.h" #include "fpu/softfloat.h" diff --git a/target/riscv/op_helper.c b/target/riscv/op_helper.c index 9cdb9cdd06..7e2f1908ee 100644 --- a/target/riscv/op_helper.c +++ b/target/riscv/op_helper.c @@ -23,6 +23,7 @@ #include "internals.h" #include "qemu/main-loop.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" /* Exceptions processing helpers */ diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index bf7e0029a1..bc9e151aa9 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "exec/memop.h" #include "exec/exec-all.h" +#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "tcg/tcg-gvec-desc.h" From patchwork Mon Aug 28 22:13:07 2023 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: 717750 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420817wru; Mon, 28 Aug 2023 15:14:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHOPH69/8SEUkSr1/aM1QcHpLPxcLQJfqvXpKpwn0MOyl6AF1BL14mYNn9Qlg4kGv5sj5h X-Received: by 2002:a05:620a:1913:b0:76f:9e:504 with SMTP id bj19-20020a05620a191300b0076f009e0504mr11264043qkb.27.1693260883797; Mon, 28 Aug 2023 15:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260883; cv=none; d=google.com; s=arc-20160816; b=KKJZomhsFyb5G+/brcvehPd7PrZsTllMD0luu7eqtd3OT38AAK+g9pGmn2ouj2hUaa 9tNTAiKaJbDnh8wiUoOekjqu+K+yblKzDY4RvMZ+hhSkkk/P+6CzFx9U+93VEWIsYyeo YHRV3u6CzS1x2AdR/OqsGkRYanhcBlYVcYPeCTSpMSu1px7/ANhCqkZ1WaBs9Da/Cm+C UmSA0RihlWtFtqqp3F8QmPdAVff7XdrONhalBtXbTLWUswxcwAdjjY5YoLqHnDjUkOVo SzfeQhVne6gj3MzhGZJgg/wDfySF+Sl6o9QWbNHwGttoKEjPIwAe20/xgYF2cIA2IY2j daVA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IN4el0RliSrzkh7KHsSv/rXBGURrc4tnh8maqpcPsQs=; fh=dbvxcF+wv/s0W/vbgiEajIQqQ0tE/CJz29MvQ77T3zI=; b=afk2ZlqiwstB7d/FSmZ8vp8qHn5f8xUQGvHRRheiAqYlDLtpXpSUz8spcfxEV3J26N gs09c8b6NG4NJYdGOCq3Pll4LEfN2SUPdoRBxxSDuQnhDNCAmQj4YjB/QQOXTwSCtx1j +iqVIkZ7F8MjeAQyOKh1qbYRG9AcjsEVhe5JBl+6ziXAuZaG61zG7CDcgUD4F7LsjQXU 9/GlOGdEuXZ+ZTF8VBresJSITfY7z4q3zKoiSYwFrL7CXgd59+lx9fuJug743G4jw98O Tac7eq6CjdYp/8LDQIqe6+WoZVT/v3OyRI2PLAAN3N6pgtmWteYpYWot/mPyaidvbqse t0+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SoA0P07C; 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 n21-20020a05620a295500b007680efd52bdsi3372627qkp.368.2023.08.28.15.14.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:14:43 -0700 (PDT) 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=SoA0P07C; 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 1qakUb-00060o-9Y; Mon, 28 Aug 2023 18:13:53 -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 1qakUW-0005yM-1P for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:48 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUR-0004BD-LU for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:47 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-401d10e3e54so6481995e9.2 for ; Mon, 28 Aug 2023 15:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260822; x=1693865622; 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=IN4el0RliSrzkh7KHsSv/rXBGURrc4tnh8maqpcPsQs=; b=SoA0P07CJHcoBlo+OVKtKcmWcbeJo1xzdqqXYAbEldUmDBslirlyE15F+kOrbIhktr Gflu+46j1WuzxmYHOp1Mgl4mI2USNeEIhrrKTWMrXDslSm3wnooQbhJBsHb0QvQ9Cd6m zHRy75mKmNSCG6sy6Mbxsx+PP8+fGNqSV+bZ/1fBC1WzFpdiNtuJxcyP6Bzu8xWcMRDM iiZoi/HFdFMiLFPG58trqNbUiBWLSeDOTbJkHNNWxXwrGNr5ApCgnU3idCINPGrXk0h4 3/8XXlYVQo4YplvWath/3L4nWe98JcUCVOuVCoZXHu9x1FvVkEA7W9zA4rkV4lPlGs1k pH+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260822; x=1693865622; 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=IN4el0RliSrzkh7KHsSv/rXBGURrc4tnh8maqpcPsQs=; b=MR1egpFtjACM3JISIQYud31IiPQAmNqiHjtcnlN99GQvjY+gHqGg7F8MUBNARZb2Zo SkhwIrciXhW4Nl/nwHGNbP7rxXPpdmnKJaeH2OiBnZl45SiUsMH80WNKu0tAyIzRD6tL AEZSLehzEhbf13hzZ7zDS/Em+XUaM/xIsY/Vx94/VnkQ51SbddkHf2NaQaH8lvE9iEy1 YQO36nOvEEaskiaTPNx86Xspkw+cudfjMsezX37Q21UeGrMRpizP5ucO+PwsS1nLRq3+ uQBrRJoltJyzH7KOoaWphfcVfpDFf4oxdSfsd8L1QFpdXALpIsXLiqUOKfmQws5HxaGr JgAA== X-Gm-Message-State: AOJu0YyUO82iEuFpa5tx6/ISRLLazTA7JDN5qZJpatY0gSWQBRACvxzU izw0v2AI1oyRYuCZUIWeStS4Ax1aCOxhEQ1/UBw= X-Received: by 2002:adf:cd0e:0:b0:317:67bf:3376 with SMTP id w14-20020adfcd0e000000b0031767bf3376mr20406896wrm.57.1693260822226; Mon, 28 Aug 2023 15:13:42 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id y3-20020adfe6c3000000b0031c5ce91ad6sm11720207wrm.97.2023.08.28.15.13.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:41 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 04/11] target/translate: Remove unnecessary 'exec/cpu_ldst.h' header Date: Tue, 29 Aug 2023 00:13:07 +0200 Message-ID: <20230828221314.18435-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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 All these files only access the translator_ld/st API declared in "exec/translator.h". The CPU ld/st API from declared in "exec/cpu_ldst.h" is not used, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/alpha/translate.c | 1 - target/hexagon/translate.c | 1 - target/hppa/translate.c | 1 - target/m68k/translate.c | 1 - target/microblaze/translate.c | 1 - target/nios2/translate.c | 1 - target/openrisc/translate.c | 1 - target/ppc/translate.c | 1 - target/sh4/translate.c | 1 - target/sparc/translate.c | 1 - 10 files changed, 10 deletions(-) diff --git a/target/alpha/translate.c b/target/alpha/translate.c index 0839182a1f..9be912c50c 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -24,7 +24,6 @@ #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/hexagon/translate.c b/target/hexagon/translate.c index 708339198e..c00254e4d5 100644 --- a/target/hexagon/translate.c +++ b/target/hexagon/translate.c @@ -23,7 +23,6 @@ #include "exec/helper-gen.h" #include "exec/helper-proto.h" #include "exec/translation-block.h" -#include "exec/cpu_ldst.h" #include "exec/log.h" #include "internal.h" #include "attribs.h" diff --git a/target/hppa/translate.c b/target/hppa/translate.c index e3af668252..c04dc15228 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -23,7 +23,6 @@ #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 15b3701b8f..9e224fe796 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -25,7 +25,6 @@ #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "exec/helper-proto.h" diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 7e7f837c63..d02c16296a 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -24,7 +24,6 @@ #include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" -#include "exec/cpu_ldst.h" #include "exec/helper-gen.h" #include "exec/translator.h" #include "qemu/qemu-print.h" diff --git a/target/nios2/translate.c b/target/nios2/translate.c index 4264c7ec6b..dfc546d3bb 100644 --- a/target/nios2/translate.c +++ b/target/nios2/translate.c @@ -29,7 +29,6 @@ #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/log.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "qemu/qemu-print.h" #include "semihosting/semihost.h" diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 7c6f80daf1..d65758449f 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -26,7 +26,6 @@ #include "qemu/log.h" #include "qemu/bitops.h" #include "qemu/qemu-print.h" -#include "exec/cpu_ldst.h" #include "exec/translator.h" #include "exec/helper-proto.h" diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 74796ec7ba..49b6a757b7 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -27,7 +27,6 @@ #include "tcg/tcg-op-gvec.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 49c87d7a01..c1e590feb3 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -22,7 +22,6 @@ #include "disas/disas.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/translator.h" diff --git a/target/sparc/translate.c b/target/sparc/translate.c index fa80a91161..3bf0ab8135 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -25,7 +25,6 @@ #include "exec/helper-proto.h" #include "exec/exec-all.h" #include "tcg/tcg-op.h" -#include "exec/cpu_ldst.h" #include "exec/helper-gen.h" From patchwork Mon Aug 28 22:13:08 2023 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: 717757 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1421090wru; Mon, 28 Aug 2023 15:15:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkRowH9G8buOFUi8tQ8rqwr/4Cwty66hWE0iJB7NKN/RE3gv45G9YcEhNEZX/w2Fvcbyzz X-Received: by 2002:ac8:580e:0:b0:403:fcd9:963 with SMTP id g14-20020ac8580e000000b00403fcd90963mr33758338qtg.67.1693260928387; Mon, 28 Aug 2023 15:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260928; cv=none; d=google.com; s=arc-20160816; b=X/k49CINwxPeAXPSx34qinB3Dbu+WL2G9Byfu2tz+8J3ovRkCen/+oRfyCSJDFeHNb pRhPdIkeKJ7GtPvGFzBfXY9PHPrJO6VVvK3r1Ka+HvmaZ/Fp8sQWV5xTKc6c0L98eTwL ktWZVUH41/Wec6fwF+KgXjAk+Ea3PzzZZ8PjciazrEBexEQsGKhEBwvPHJ81lus/1JZ1 i5BWeQXkNidJFE0hbZQ+5lS2LtUymWpER5qouZNnRVCyYjLN1QZe7hLzsvpkqBnu3V3x 3BCK2lmWVThPLy+dxzVK6FM+Kch2i1mpURuLvIPREUZGw9eJ5RNzjg464QNdtucwsK6V oT2Q== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=STcIHwCIBIKUCaEpCEknsa0AU+E9EbnqQ4Grrl8BIeU=; fh=dbvxcF+wv/s0W/vbgiEajIQqQ0tE/CJz29MvQ77T3zI=; b=jqUwCy+0ILrdnmUPYOTmNIK0zp4Rj7jq5xykhedV5k5vrlYjQ9MFpb/UobKb8Gcc1Z mji57iyGRDoCW0MaDAedr77NfmdQOvsMuQD2plXT1k7UZ0SS2vjoIyhN+MFFn6zaJ83z 0AS++wtSyvYki2olmA22MncX4zN/qsUn9g0ntmmrUSkG9OfR2Plv1oYUmPOdl5675PBC n6fCquoKYxQ+kLp2Tqq5ioeMtmx2bg0aFpFgHywJ9NXWQaTY9nnKVoOnu9fCEVK+5M85 2wOW5KnCysCwI8sr2F6+tfi56LhnTGUqB2yfI/Y91KkkSWMrnBA63LawdZP/O7lNEqyu SFug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sx/Ti0Mz"; 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 v36-20020a05622a18a400b0040fdc484518si5247559qtc.165.2023.08.28.15.15.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:15:28 -0700 (PDT) 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="sx/Ti0Mz"; 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 1qakUd-00062K-Uw; Mon, 28 Aug 2023 18:13:55 -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 1qakUc-00061N-8J for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:54 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUY-0004DY-8I for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:13:53 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fbd33a57b6so33519705e9.2 for ; Mon, 28 Aug 2023 15:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260828; x=1693865628; 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=STcIHwCIBIKUCaEpCEknsa0AU+E9EbnqQ4Grrl8BIeU=; b=sx/Ti0MzB4D+mnn4vcd1ju1B/lQqGn8iyX9DEPQlsXmjszhY64zs96kVSsZcyC8fn6 NDU4Jgj/ZFceaAB7D8VQjXf/8+lZfjxWj/CmaN/dwUYLATGx87WYoO88S6kcdjSWpesu Yn/bUCrFJdJ3GXaDZdkxlyoNZYGQa4MUZHQTxGw5h236QH4iqrjhZXrnGZGgxiYqeV2Z 5V94rtejl6DY4ItCtOkT+YR2iz1pubOm5UjkSYSY35JsfX4O87ziYVM7iKd7a3MjlVT7 5r8kwkLEgIsrxsvstfiA2EHVfPdra0J6enS0CFqXCOEUVbsLN3Qdv8iY+zmIx/VgmJl2 5aCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260828; x=1693865628; 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=STcIHwCIBIKUCaEpCEknsa0AU+E9EbnqQ4Grrl8BIeU=; b=lM2JqZwhFJiiYevd0Bm4WYgoNZxf9FXLs5+XxbORYVoEffiosPqfnKRBALvf37HfQw C/kzFjETf03zORASpyuMrwfbB4AL/OvR2UIkBVUA6HwYUPkxEeH/+yofKolb8zrFHMEd VtpHagffkvyx8DtW1jW+lYoKkzd9CipNE9VUD+/tvrwskKdsaezwodab8OAu9mqYxiQw tihVKEQTPVVveWJp2Um2SlUQWyoU8OyHeie5cNDF7PeduOunUGLIAJiw6vHVx5krbN3d aJ8MatZ/Nib3hYzI2WMhtyKad9qSkcFwHdLl6Tf9kcWJyt66FB8irpViRd9S21KLCu/U op4w== X-Gm-Message-State: AOJu0Yzbdezu/jet81HwQ5l5cdOUvizkcFCHPTCftpwkP6ozyAaG2GK1 JyeUrliN99qQVnknRvNFX8PExhC5cHf9PSehoIA= X-Received: by 2002:a7b:c4d3:0:b0:3fb:feb0:6f40 with SMTP id g19-20020a7bc4d3000000b003fbfeb06f40mr21915514wmk.11.1693260828802; Mon, 28 Aug 2023 15:13:48 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id z10-20020a7bc7ca000000b003fe1fe56202sm12031404wmk.33.2023.08.28.15.13.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:48 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 05/11] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation Date: Tue, 29 Aug 2023 00:13:08 +0200 Message-ID: <20230828221314.18435-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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 Only handle_sigsegv_accerr_write(), declared with user emulation, requires "exec/cpu_ldst.h" (for the abi_ptr typedef). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index d02517e95f..b2f5cd4c2a 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -21,7 +21,7 @@ #define EXEC_ALL_H #include "cpu.h" -#ifdef CONFIG_TCG +#if defined(CONFIG_USER_ONLY) #include "exec/cpu_ldst.h" #endif #include "exec/translation-block.h" From patchwork Mon Aug 28 22:13:09 2023 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: 717759 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1421271wru; Mon, 28 Aug 2023 15:16:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFznGH2cBHQeSauPtPEdAso0p+WbCwFecpadVJyX6bZl10yZl4pGaUZJRwphniIpcSp1MMv X-Received: by 2002:a0c:8b11:0:b0:64f:7fb2:f17c with SMTP id q17-20020a0c8b11000000b0064f7fb2f17cmr8874222qva.54.1693260961816; Mon, 28 Aug 2023 15:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260961; cv=none; d=google.com; s=arc-20160816; b=P2q4EA7+tJKJ7nzjFOVrdDUzbMnlmk1VDH900f3owQMgYzMvNFqdrf6qxWmfLb0hgn rLIyXtCG4eREg9uGBJyeY2y+F4igGOuROmR3/jl2XK5KXsS5uoMSV0/MkfagoZKcMi7X 3T1mOzt4/cEoLt82P+zv7AqUPe3PPwHumHJnD43Z/tRDIbbr2F5OhLqH5YYAurHOkgUc hXzYKB/YHUOEVnb0S+Gep4Gm46Q6snwj5xXu0l3mgxcQPXYLZIM0ghUNBNg2PuRmtt8d 4pMDYk4AvxBvYkob6jiB7F4eiZdZlmtvRlj8P9QIvCVPkz8X2tmhdAGHIcsQJY+aoxEF IQmQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UFie4e5LMyCNfAjlAs6VDkMreh5h1iDKK7cod2ZiiFQ=; fh=dbvxcF+wv/s0W/vbgiEajIQqQ0tE/CJz29MvQ77T3zI=; b=Z2OMAhpUKEWy0Gp/0B54Fn46UBzZgoqY0Ryu8Yi89QVx/amMsEdvQtHoUbhFyoRAdK upR/OjTsxRBPseKXb519EX9wOoaRh1FI/brVTUBGz0Uxl4n4+xt58o20ZjapEDm4nWR3 xdg7kYUWUD54sxjqsGl3DkI4LBKvwfANbLhDlc0qgEz2ECyZKl9wPg8xmYfZnn0ZZFGI ew/ehQ4Bdzb7q18P3wCVE8LFqVM5E8r1lyXKvzqwXP6xlb3IRVabHl3b6Yy/zQAUElE7 /wdIfTQqfLW9XF5itd/5GBqTlpyUWARMwbhvxWaUJsfEYNl/GRw7jddBh5PwgncHy9tN 4RBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gDjAWI8/"; 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 x2-20020a0cda02000000b0064a3217fbaasi5081344qvj.231.2023.08.28.15.16.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:16:01 -0700 (PDT) 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="gDjAWI8/"; 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 1qakUm-0006Ak-CD; Mon, 28 Aug 2023 18:14:04 -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 1qakUk-00063g-Aj for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:02 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUg-0004Ei-1X for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:02 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-31781e15a0cso3317564f8f.3 for ; Mon, 28 Aug 2023 15:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260836; x=1693865636; 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=UFie4e5LMyCNfAjlAs6VDkMreh5h1iDKK7cod2ZiiFQ=; b=gDjAWI8/JSVW8Phd2NrVTwBldvnUm7CP+tV2lTeJqs1EJ7OV2+IaOGrRpoIQGN+WPu GQiGS7YrdNkYOL1MaBno4f88roqcnrGWQkOrujEG3AQ7Y9vv3wLZ6lFZ/S1EL8D01Dor aKrDrF2rdt0fw6RIXNrJc9MUmS9cTEdHe64Ll8yTQP4/fysu9uBc7qd1pCmN+urlmr9s V7CJlr+U67TQubnlYuSJ/urpBpC+RC9lx7SV7KSwpBV2aV4xiwetYp6QLbGiw6wdcTOS fq+DOtmT1GdsVrF5j1GAHUTkI4IRNu3lDhtOrYZrFc7Iw/lT6+6eVX3OBN/lRJ0TiYhC nbcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260836; x=1693865636; 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=UFie4e5LMyCNfAjlAs6VDkMreh5h1iDKK7cod2ZiiFQ=; b=ikM4C62+lXxw4eZJRFpobJGe4jmkStm0erSQPWViJvAVOgxUhkX3RsuzGdbCGoRIBX LpIjGUousP90bz8cb5+sSGacNiCQsT8H7BXFR/Bf19nLA2NEz31BGJsrBv+WCeQDJp5y V7r5YH5lHMWsXnqkFk9WcI4pzl9fbIPvVL9WQlwgtADQdQoq/4p4413mMLWAc5N9p+pB ZfnUP9c/TqxtXT07/adcXgUmERYAXCzbaHuA4n7VAsWbWpeu88k3CtsBliC2HlWu7dk2 1Z1RJzH4JeW7bOxiO3FDwVXyRMCElnt7FKD265EHoVggG7C7xWytPUCrUfI9KtQluX+E rD0Q== X-Gm-Message-State: AOJu0YxKcuHHM74TjH2qmc4jiTBWmgWqnLHRsdMwdSv4JL/TnUYwMzDm N/M0LmK7t0oTX80kHNNEGI4YPPFS/g9c53mBuT4= X-Received: by 2002:adf:ffc9:0:b0:319:52da:8f0b with SMTP id x9-20020adfffc9000000b0031952da8f0bmr19894754wrs.17.1693260836611; Mon, 28 Aug 2023 15:13:56 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id f23-20020a7bcd17000000b003feef82bbefsm11885542wmj.29.2023.08.28.15.13.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:13:56 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 06/11] target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header Date: Tue, 29 Aug 2023 00:13:09 +0200 Message-ID: <20230828221314.18435-7-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 These files don't use the CPU ld/st API, remove the unnecessary "exec/cpu_ldst.h" header. Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/riscv/pmu.h | 1 - target/cris/op_helper.c | 1 - target/mips/tcg/fpu_helper.c | 1 - target/mips/tcg/sysemu/lcsr_helper.c | 1 - target/s390x/tcg/excp_helper.c | 1 - target/s390x/tcg/fpu_helper.c | 1 - target/xtensa/mmu_helper.c | 1 - target/xtensa/op_helper.c | 1 - 8 files changed, 8 deletions(-) diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h index d2be06a133..60fdd6f42c 100644 --- a/target/riscv/pmu.h +++ b/target/riscv/pmu.h @@ -18,7 +18,6 @@ #include "cpu.h" #include "qemu/main-loop.h" -#include "exec/exec-all.h" bool riscv_pmu_ctr_monitor_instructions(CPURISCVState *env, uint32_t target_ctr); diff --git a/target/cris/op_helper.c b/target/cris/op_helper.c index 40cb74ce73..98a9aaf504 100644 --- a/target/cris/op_helper.c +++ b/target/cris/op_helper.c @@ -24,7 +24,6 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" //#define CRIS_OP_HELPER_DEBUG diff --git a/target/mips/tcg/fpu_helper.c b/target/mips/tcg/fpu_helper.c index 8ce56ed7c8..45d593de48 100644 --- a/target/mips/tcg/fpu_helper.c +++ b/target/mips/tcg/fpu_helper.c @@ -25,7 +25,6 @@ #include "internal.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #include "fpu/softfloat.h" #include "fpu_helper.h" diff --git a/target/mips/tcg/sysemu/lcsr_helper.c b/target/mips/tcg/sysemu/lcsr_helper.c index 942143d209..8f97d04313 100644 --- a/target/mips/tcg/sysemu/lcsr_helper.c +++ b/target/mips/tcg/sysemu/lcsr_helper.c @@ -13,7 +13,6 @@ #include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #define GET_MEMTXATTRS(cas) \ ((MemTxAttrs){.requester_id = env_cpu(cas)->cpu_index}) diff --git a/target/s390x/tcg/excp_helper.c b/target/s390x/tcg/excp_helper.c index b7116d0577..b875bf14e5 100644 --- a/target/s390x/tcg/excp_helper.c +++ b/target/s390x/tcg/excp_helper.c @@ -23,7 +23,6 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #include "s390x-internal.h" #include "tcg_s390x.h" #ifndef CONFIG_USER_ONLY diff --git a/target/s390x/tcg/fpu_helper.c b/target/s390x/tcg/fpu_helper.c index c329b31261..d8bd5748fa 100644 --- a/target/s390x/tcg/fpu_helper.c +++ b/target/s390x/tcg/fpu_helper.c @@ -23,7 +23,6 @@ #include "s390x-internal.h" #include "tcg_s390x.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" diff --git a/target/xtensa/mmu_helper.c b/target/xtensa/mmu_helper.c index fa66e8e867..57b75882c4 100644 --- a/target/xtensa/mmu_helper.c +++ b/target/xtensa/mmu_helper.c @@ -34,7 +34,6 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #define XTENSA_MPU_SEGMENT_MASK 0x0000001f #define XTENSA_MPU_ACC_RIGHTS_MASK 0x00000f00 diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index 1af7becc54..10a2b51f91 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -31,7 +31,6 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" -#include "exec/cpu_ldst.h" #include "qemu/timer.h" #ifndef CONFIG_USER_ONLY From patchwork Mon Aug 28 22:13:10 2023 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: 717751 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420818wru; Mon, 28 Aug 2023 15:14:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEE/Of76bfYyj3gsVr7zlNf+vfNSOlz/6ir9MPeK3TIPYsZUCoGKvYLKykrJ4OB2HHqUs9p X-Received: by 2002:a05:620a:88e:b0:75d:4e8b:9d19 with SMTP id b14-20020a05620a088e00b0075d4e8b9d19mr25356111qka.26.1693260883863; Mon, 28 Aug 2023 15:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260883; cv=none; d=google.com; s=arc-20160816; b=E88WGJGxdKyKa3rAiAHKA4NRDsNPkp/J/OG14b4gMjSrlw+Ez4u8QGO0D9QUMNGpoO tyhgsXgvQKlbfr2WAtbU1lq3AzBBaITynhxWs9ThseG9aQ9Dm6+i/st87ANOGCyCPCti Cbxw9ZRsVDzT99p7lU58lBjJsZKqqCLhCAFNhCgvbPTLpvVJkyQaTYpAPsVNW9vb3g4U blMs+ddTqI7TrlsjOr1xioQ1AxpfRaXD6Xdam3/BOWL2un0DIQqxqAu1XBfZAy/ZgHpA fSUaxnvBAIlCeSSeybG3wXZFBWYkcYvaiNVrY98sn3WBRovoFy112lFIxyRjYZ1YLIxP 93uA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=n9UxN4uR/xgEuDgFqWbmhyuNk7+iYdgvOfZXEjKsASg=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=zGWea4obd9pJD7v2Y0DOaDWRjLnZJX/qgrMyLZeEC185Wa4xUK5cFypqUSpYK4C9j+ 0jYz09F/IqxEfdSrCxX5kn7+hKmZPdLm5TKO9zh0dbRHL+CCLGHiDb8x96BxKtasgvda qErMmgCM+i6AFmkKE1oW/iSTSuS/MGiSIEwNMQgLHJCQvrV6X1O57SPvTq2mgGI2IOWt Nf3eRDUhd4ChZEw+mq5nz/gPNQ4EfuwtG1P5acvfpI2Y7BU/avS5o6E8gODahPw17Hiy Ha2FIWaXlCnhgz2OWuhPB8xFZVDg5vmPiZ1HECclLIEDx+vh2rn+o9oEZl3MX3EUd7rR 1ftw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v5XJ6yKb; 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 h4-20020a05620a284400b0076c930c7fd9si5416571qkp.657.2023.08.28.15.14.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:14:43 -0700 (PDT) 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=v5XJ6yKb; 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 1qakUt-0006I7-U0; Mon, 28 Aug 2023 18:14:11 -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 1qakUr-0006GW-BD for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:09 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUm-0004Ff-7U for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:09 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-401b393df02so36190715e9.1 for ; Mon, 28 Aug 2023 15:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260842; x=1693865642; 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=n9UxN4uR/xgEuDgFqWbmhyuNk7+iYdgvOfZXEjKsASg=; b=v5XJ6yKbgtq9YkWXY/MYLESCyybiTuaBlalG35ZmTfvJTnDnpNoyndkjuMX8m+czUS nMbVAa+4LdANjwpJJLvXkaEPqUZPLPrRupNGEwLlGxVg40puCAlYp/nqadli8Ctaqjau PXcTcMbjwInusBhiKr+RiaEmKCSvWll8RI+6kXFDTycRMk/Af+frq63WsjYpH7N1Y5i1 qaefbCOrNJeu/2oISaPzfSms0LUL/PAEO0t/hDFJwsO5uqSXDOUs5V9+TEe94PmyOZ6M HRnAvV6k52HC186XLMiFEFoczDuXWpmQutU9dotlWqGSme5K/TCi188ifblG2rm6AnOF NR6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260842; x=1693865642; 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=n9UxN4uR/xgEuDgFqWbmhyuNk7+iYdgvOfZXEjKsASg=; b=AAvpDjTEV0k5v0fonHGHJkMMr+M4EhuiLqh5OKVEzaFtiIAvru7R5q/9FXUe25UA/X vxPBwIa9gpIg1pzJnYZt2Im9YTDvEdQw9/YBLwmfusmP4z5VDSHSquj75ccP9Ql4DrlI 6oIFYaR7xvBZkGNb3EScBAAjpM60+dTEjkcSQ2siNHqzXR8z4AJN5m7Ky/tBCw2pqr6t 2hq/9zeJvN+GPbxnzycrEH1kZWv9pGFTqJy+V4WngOwOniDSZ9beVleUMnHA9stwphjF OLLL9iKIPZdqZrroesKRr8Gq/irrzEGg2JC/67Twmt+5/cPD8z/Upn6p35siwJ2wonAe QYag== X-Gm-Message-State: AOJu0YzkCVuIit6nk79GKaRqsBBfYN4wxbf996kMcmWhEgThu/vLIUUJ CYi383QhZYhUGCCsFF4+VU3UUt1CQAK9iic36YE= X-Received: by 2002:a1c:7303:0:b0:3fe:19cf:93c9 with SMTP id d3-20020a1c7303000000b003fe19cf93c9mr20322978wmb.1.1693260842569; Mon, 28 Aug 2023 15:14:02 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id o10-20020a1c750a000000b003fe29dc0ff2sm12152766wmc.21.2023.08.28.15.14.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:14:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 07/11] target/helper: Remove unnecessary 'qemu/main-loop.h' header Date: Tue, 29 Aug 2023 00:13:10 +0200 Message-ID: <20230828221314.18435-8-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 "qemu/main-loop.h" declares functions related to QEMU's main loop mutex, which these files don't access. Remove the unused "qemu/main-loop.h" header. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/riscv/pmu.h | 1 - target/arm/ptw.c | 1 - target/loongarch/iocsr_helper.c | 1 - target/loongarch/op_helper.c | 1 - target/mips/tcg/sysemu/lcsr_helper.c | 1 - target/nios2/op_helper.c | 1 - target/ppc/int_helper.c | 1 - target/ppc/machine.c | 1 - target/ppc/mem_helper.c | 1 - target/ppc/mmu_common.c | 1 - target/ppc/mmu_helper.c | 1 - target/ppc/power8-pmu.c | 1 - target/ppc/translate.c | 1 - target/riscv/csr.c | 1 - target/riscv/m128_helper.c | 1 - target/riscv/op_helper.c | 1 - target/s390x/tcg/crypto_helper.c | 1 - target/s390x/tcg/misc_helper.c | 1 - target/xtensa/dbg_helper.c | 1 - target/xtensa/fpu_helper.c | 1 - target/xtensa/mmu_helper.c | 1 - target/xtensa/op_helper.c | 1 - target/xtensa/win_helper.c | 1 - 23 files changed, 23 deletions(-) diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h index 60fdd6f42c..2bfb71ba87 100644 --- a/target/riscv/pmu.h +++ b/target/riscv/pmu.h @@ -17,7 +17,6 @@ */ #include "cpu.h" -#include "qemu/main-loop.h" bool riscv_pmu_ctr_monitor_instructions(CPURISCVState *env, uint32_t target_ctr); diff --git a/target/arm/ptw.c b/target/arm/ptw.c index bfbab26b9b..a4b0172df3 100644 --- a/target/arm/ptw.c +++ b/target/arm/ptw.c @@ -9,7 +9,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/range.h" -#include "qemu/main-loop.h" #include "exec/exec-all.h" #include "cpu.h" #include "internals.h" diff --git a/target/loongarch/iocsr_helper.c b/target/loongarch/iocsr_helper.c index dda9845d6c..6cd01d5f09 100644 --- a/target/loongarch/iocsr_helper.c +++ b/target/loongarch/iocsr_helper.c @@ -6,7 +6,6 @@ */ #include "qemu/osdep.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" diff --git a/target/loongarch/op_helper.c b/target/loongarch/op_helper.c index cf84f20aba..fe79c62fa4 100644 --- a/target/loongarch/op_helper.c +++ b/target/loongarch/op_helper.c @@ -7,7 +7,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" diff --git a/target/mips/tcg/sysemu/lcsr_helper.c b/target/mips/tcg/sysemu/lcsr_helper.c index 8f97d04313..fb57bcbb78 100644 --- a/target/mips/tcg/sysemu/lcsr_helper.c +++ b/target/mips/tcg/sysemu/lcsr_helper.c @@ -7,7 +7,6 @@ */ #include "qemu/osdep.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "internal.h" #include "qemu/host-utils.h" diff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c index 0aaf33ffc2..5017457c5e 100644 --- a/target/nios2/op_helper.c +++ b/target/nios2/op_helper.c @@ -22,7 +22,6 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" -#include "qemu/main-loop.h" void helper_raise_exception(CPUNios2State *env, uint32_t index) { diff --git a/target/ppc/int_helper.c b/target/ppc/int_helper.c index 834da80fe3..96cdb3c7e3 100644 --- a/target/ppc/int_helper.c +++ b/target/ppc/int_helper.c @@ -21,7 +21,6 @@ #include "cpu.h" #include "internal.h" #include "qemu/host-utils.h" -#include "qemu/main-loop.h" #include "qemu/log.h" #include "exec/helper-proto.h" #include "crypto/aes.h" diff --git a/target/ppc/machine.c b/target/ppc/machine.c index 134b16c625..1270a1f7fc 100644 --- a/target/ppc/machine.c +++ b/target/ppc/machine.c @@ -7,7 +7,6 @@ #include "mmu-hash64.h" #include "migration/cpu.h" #include "qapi/error.h" -#include "qemu/main-loop.h" #include "kvm_ppc.h" #include "power8-pmu.h" diff --git a/target/ppc/mem_helper.c b/target/ppc/mem_helper.c index 46eae65819..c7535481d6 100644 --- a/target/ppc/mem_helper.c +++ b/target/ppc/mem_helper.c @@ -21,7 +21,6 @@ #include "cpu.h" #include "exec/exec-all.h" #include "qemu/host-utils.h" -#include "qemu/main-loop.h" #include "exec/helper-proto.h" #include "helper_regs.h" #include "exec/cpu_ldst.h" diff --git a/target/ppc/mmu_common.c b/target/ppc/mmu_common.c index 8c000e250d..6ca5d12207 100644 --- a/target/ppc/mmu_common.c +++ b/target/ppc/mmu_common.c @@ -28,7 +28,6 @@ #include "exec/log.h" #include "helper_regs.h" #include "qemu/error-report.h" -#include "qemu/main-loop.h" #include "qemu/qemu-print.h" #include "internal.h" #include "mmu-book3s-v3.h" diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c index d3ea7588f9..f87d35379a 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -28,7 +28,6 @@ #include "exec/log.h" #include "helper_regs.h" #include "qemu/error-report.h" -#include "qemu/main-loop.h" #include "qemu/qemu-print.h" #include "internal.h" #include "mmu-book3s-v3.h" diff --git a/target/ppc/power8-pmu.c b/target/ppc/power8-pmu.c index 2537cded83..cbc5889d91 100644 --- a/target/ppc/power8-pmu.c +++ b/target/ppc/power8-pmu.c @@ -17,7 +17,6 @@ #include "exec/helper-proto.h" #include "qemu/error-report.h" #include "qemu/timer.h" -#include "qemu/main-loop.h" #include "hw/ppc/ppc.h" #include "power8-pmu.h" diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 49b6a757b7..7111b34030 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -26,7 +26,6 @@ #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" #include "qemu/host-utils.h" -#include "qemu/main-loop.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" diff --git a/target/riscv/csr.c b/target/riscv/csr.c index ea7585329e..de31818daa 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -23,7 +23,6 @@ #include "cpu.h" #include "pmu.h" #include "time_helper.h" -#include "qemu/main-loop.h" #include "exec/exec-all.h" #include "exec/tb-flush.h" #include "sysemu/cpu-timers.h" diff --git a/target/riscv/m128_helper.c b/target/riscv/m128_helper.c index e6a4f6120a..ec14aaa901 100644 --- a/target/riscv/m128_helper.c +++ b/target/riscv/m128_helper.c @@ -19,7 +19,6 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "qemu/main-loop.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" diff --git a/target/riscv/op_helper.c b/target/riscv/op_helper.c index 7e2f1908ee..5355225d56 100644 --- a/target/riscv/op_helper.c +++ b/target/riscv/op_helper.c @@ -21,7 +21,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "internals.h" -#include "qemu/main-loop.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" #include "exec/helper-proto.h" diff --git a/target/s390x/tcg/crypto_helper.c b/target/s390x/tcg/crypto_helper.c index 762b277884..93aabd236f 100644 --- a/target/s390x/tcg/crypto_helper.c +++ b/target/s390x/tcg/crypto_helper.c @@ -13,7 +13,6 @@ */ #include "qemu/osdep.h" -#include "qemu/main-loop.h" #include "qemu/guest-random.h" #include "s390x-internal.h" #include "tcg_s390x.h" diff --git a/target/s390x/tcg/misc_helper.c b/target/s390x/tcg/misc_helper.c index 576157b1f3..e85658ce22 100644 --- a/target/s390x/tcg/misc_helper.c +++ b/target/s390x/tcg/misc_helper.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "s390x-internal.h" #include "qemu/host-utils.h" diff --git a/target/xtensa/dbg_helper.c b/target/xtensa/dbg_helper.c index ce2a820c60..3e0c9e8e8b 100644 --- a/target/xtensa/dbg_helper.c +++ b/target/xtensa/dbg_helper.c @@ -27,7 +27,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target/xtensa/fpu_helper.c b/target/xtensa/fpu_helper.c index d2a10cc797..381e83ded8 100644 --- a/target/xtensa/fpu_helper.c +++ b/target/xtensa/fpu_helper.c @@ -27,7 +27,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target/xtensa/mmu_helper.c b/target/xtensa/mmu_helper.c index 57b75882c4..12552a3347 100644 --- a/target/xtensa/mmu_helper.c +++ b/target/xtensa/mmu_helper.c @@ -27,7 +27,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "qemu/main-loop.h" #include "qemu/qemu-print.h" #include "qemu/units.h" #include "cpu.h" diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index 10a2b51f91..03e2c1889a 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -26,7 +26,6 @@ */ #include "qemu/osdep.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target/xtensa/win_helper.c b/target/xtensa/win_helper.c index 5a1555360a..ec9ff44db0 100644 --- a/target/xtensa/win_helper.c +++ b/target/xtensa/win_helper.c @@ -27,7 +27,6 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" From patchwork Mon Aug 28 22:13:11 2023 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: 717754 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420982wru; Mon, 28 Aug 2023 15:15:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKJ8NYFi19D0ZcKxQvOVVpnnwea7qGXXlXYouIFAhnAX/hTsugBsaL6wWoPjyWpbeL0UP8 X-Received: by 2002:a0c:aad6:0:b0:651:6d00:b843 with SMTP id g22-20020a0caad6000000b006516d00b843mr1811112qvb.45.1693260911591; Mon, 28 Aug 2023 15:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260911; cv=none; d=google.com; s=arc-20160816; b=p/jn+2i4H9MfGT9jT+y+C05Whl8/AVqwH89ElKoHRRAcOf5VywAvGyECpMl3T/Q+Bn RpDPQo7SKzmiWhvRY9d4qhjz1kQWee5UyfLto1NO3sPtMJmUAS6vW9wM/bS2NU10J19I ClQfcsJt1taOqDThE4U9mW9KnJnRHYPBs6c03afr/+uIjRFt3b3atSBNymOZ0/Aoevj1 j0wGKSoUlCzEHUnMtkCbfrj1FD4AkVSyrD45vIBi5uikg1wOpiOa2/namRSKUpSUxgFV +r7RWAZdOVYDOdR9eFDBOGvnWpCnZoHrf4RDbZzKPONw+8EEs8u1VYlSTOCE5je6Aqe/ FEeA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oSeyYv9fGrIvCDH06h643mqOjyw7AdOjJCHmBe/MXEk=; fh=dbvxcF+wv/s0W/vbgiEajIQqQ0tE/CJz29MvQ77T3zI=; b=kiTMv1xh+VWpIoafnu76+Y96ksiVj/8AMj7JIFH2F90ul1t5sKQhAOU1mhxe12uQdw Y1iN/7gxgN9BUaTlW6Ee93qucyTABIkjSck5s1QX1dxaXPuqn9gU04Abg/e93j8jD6kw WqnYlCX1amhd+WWOFaB5u2YvrlP+xTKieNSse8AEPP5IcD/DutN0E8JSBG0P/x0i3o8C +F93exCkcL3L/8EnQhFmClwo6hmQ1Vha8fJ++nWFVvKRjC/Mm1HSD8J1mlHtDMWN/jx1 GuRpOF+McPf4Y8GOZiLY6fp13v4J55n5tXaFKise90pLjKWYf8vr4Fa1XqVM2zTel3oG kt3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HvpjAnYR; 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 x18-20020a0cda12000000b0064f43bcd73fsi5241291qvj.402.2023.08.28.15.15.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:15:11 -0700 (PDT) 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=HvpjAnYR; 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 1qakUz-0006O1-AT; Mon, 28 Aug 2023 18:14:17 -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 1qakUv-0006Kk-HI for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:13 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakUs-0004Gq-UO for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:12 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-401b393df02so36191295e9.1 for ; Mon, 28 Aug 2023 15:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260849; x=1693865649; 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=oSeyYv9fGrIvCDH06h643mqOjyw7AdOjJCHmBe/MXEk=; b=HvpjAnYRFHzC3gtkDTwozxlhG1ak3ReMatVzT8Pe0f/2/gI/eOPL8drNj6EvvQXkzT PnxkW24IbXCXfBdCjXBsnft67rjOkTE5pbQOjeWS3ZOswjwjIrSnXtasLA8XdguJiCn5 LKpGf4rCE2MbWRyegi0TsE19qhrEV64Wt6M/gGbaL61fb402qJJfIqFZ3bb8fIH97kaj MZ1kFgogBOV2m5GILZi7f9xJSbCB5RTmXduGjLKF24PZrwUIwvVTTbDT9fwXZN6VbEIM AKDFZGWliSdjHbqATogc/XWNy7TqDjB+aiUqjUytuQ0tPKujK5W6Ucjz/V5R4OzPOPPG 9yTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260849; x=1693865649; 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=oSeyYv9fGrIvCDH06h643mqOjyw7AdOjJCHmBe/MXEk=; b=T/dWciqvAFLBWGw543zABq8rPal10IZVNQXhLX1FyDenu8acsc3KAziEnK0WYQ0WoP K4+vbvnaOXPh/Ko1xE+IniQz/Bzsf7uFK+ZjOt3b0OmdgxmCdCDZeYaljFYSVYW8aH6W JcLGgcz2tYFqjpX+J+7hVphe+AiO1vOPaoVYuJ6oqJX/NzEKdj6dunYoGB5Ubo/9EPWA MpoTSaJC2ywWDNELr7okmEeK5jx+ZV/YKQhKkiAH/6JrFfXsTngwDo/S7EL/CExTy1zA 6LZSDvMHnPrMBsCAo4TuY/HnKSD0wYcS/psloTUMSAzT3/UO5tmihxW/QtRc965/+HkL qHbg== X-Gm-Message-State: AOJu0YxA34DXkIW9+d8treU+GdPxP1eRPymcj4JDHliCB9KZij+kH/Af 5XpxdTHQlIEVEx0M+6k9K2TXEGH14d4fbmv3aFs= X-Received: by 2002:a1c:7407:0:b0:401:c338:ab96 with SMTP id p7-20020a1c7407000000b00401c338ab96mr4610157wmc.34.1693260849479; Mon, 28 Aug 2023 15:14:09 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id x7-20020a1c7c07000000b003ffca80edb8sm12058270wmc.15.2023.08.28.15.14.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:14:09 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 08/11] target/mips: Remove unused headers in lcsr_helper.c Date: Tue, 29 Aug 2023 00:13:11 +0200 Message-ID: <20230828221314.18435-9-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This files only access the address_space_ld/st API, declared in "exec/cpu-all.h", already included by "cpu.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/mips/tcg/sysemu/lcsr_helper.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/target/mips/tcg/sysemu/lcsr_helper.c b/target/mips/tcg/sysemu/lcsr_helper.c index fb57bcbb78..25e03572fe 100644 --- a/target/mips/tcg/sysemu/lcsr_helper.c +++ b/target/mips/tcg/sysemu/lcsr_helper.c @@ -8,10 +8,7 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "internal.h" -#include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #define GET_MEMTXATTRS(cas) \ ((MemTxAttrs){.requester_id = env_cpu(cas)->cpu_index}) From patchwork Mon Aug 28 22:13:12 2023 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: 717758 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1421150wru; Mon, 28 Aug 2023 15:15:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGhw2tAezku8HwQ+Je57vcuuf1qFTLQQeChcwNTWs4IHsmoJYVZpDicbJvr0dQH+HuyWkN X-Received: by 2002:ac8:5987:0:b0:412:2edc:16dc with SMTP id e7-20020ac85987000000b004122edc16dcmr2603678qte.22.1693260938792; Mon, 28 Aug 2023 15:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260938; cv=none; d=google.com; s=arc-20160816; b=CGv1RNGjFpRfpDHjw0EYD9lxi9Mwr3m1RHRz8GuwKqmC1QWJxqzNA9XYlPufllj1Lh 2M6YOWlpgjFS4ExZ6fMZfmXYpClsRKU17rU6kUobhTSjvC3ZR3RaPWa8ZXEzLZc322U6 LL/zJoUDApBxQFEF5OrY5c9tb1y4qSRPgx+VStqCOnsXYnddFRKdtGU/9XfWs/UEdpgl FkEi7oH1YETb3XvZeXFx7P7mjqOesF68UsOivwY2euzQHBeBozJNIrK8UAO/WhLDRX71 8ooRK3b8O95lu3Yc7rcahxzEVYhbpK8ZwoIXyBKMoK+UD/bv6+bUzb42D3BeFVRO87ie uASg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OR2t1S0ttCGvBFU5E6vcS7ExCprp94yTFLK0sZMvoOs=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=J6coZLgesV5iD4KYtQcePx10FgQ7s/hrY9KgoxLOKOu9XEKlHiulb/EoK0cQLDWLQv BQQIO1W2E76ClBdxATpHIQwLva9/C5f9iSGPYF/69pYRdXl/JM+ZAIUwMfADPLK0xKMX xqaTX21DuICErzVIZkraUfURFDD+YiobT+WXoh82v99Vaz/dMuZR3d0fZtE5jUXkXz9N TFplgUluYIFRe+nHTa+IDHt0G+dFQQ1moUbnEpBKSZXFEtB8/8Ojoe8MuQFTppZbdfdi TZryMM/mQmTygqBYv6EpM2EUp97Gf252/KFd8VhFh+Qd+A38JDX6ClHJY0+GuLBphq7X SQMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="S/ZQcSkV"; 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 c4-20020a05622a024400b0040fe30d9365si5231750qtx.70.2023.08.28.15.15.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:15:38 -0700 (PDT) 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="S/ZQcSkV"; 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 1qakV7-00072t-Ej; Mon, 28 Aug 2023 18:14:25 -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 1qakV5-0006oI-8G for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:23 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakV0-0004IE-Vc for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:22 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31c3726cc45so3204158f8f.0 for ; Mon, 28 Aug 2023 15:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260856; x=1693865656; 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=OR2t1S0ttCGvBFU5E6vcS7ExCprp94yTFLK0sZMvoOs=; b=S/ZQcSkVLgX19BJ+tgcVctbK7w2mjfIqpChSOf2Q9B2GI13xVls8DefVwpOXZtkBN6 UNTxPFK0GZKi8XcC6UB7cV/REOHocM8L25wMvAQVAlejRO1X4GEXvzmwmntDA1Qx2M/e 0I9TD0wk1JuENiQGX5pDMnykq/oL4/ppbWzAJi0VAr2jVxODyZjVgp1N4w70KtG58x63 XXHtgSlRwcQ4kl7EqVEG26uENC1BJdt0CarqLF0vAcv+2RbTRCxfSOdT4AJQTXD/6kT4 qTmQiSMjrca/6mQFI3x/jfZv8rZe9UO7aAqMLyCEriyinKt5jTThWowyD7fydVOV/0NQ P//A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260856; x=1693865656; 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=OR2t1S0ttCGvBFU5E6vcS7ExCprp94yTFLK0sZMvoOs=; b=H4R3h5lm7dmJEu3W+SkOZbZfZ7VZTMsINMpt1hmAZIrGwVzA5I5beNO2AQiHluvc8A THTQFVR8x3wOtOxyi/n0LllcyVREvjVmEuoEjt0p8wqDDK6N+Fi7ng2mDqMcK658eNwd GwPMxb3KVs2oqHpbeHmQnSf9a42jcPKa1cVz3D65VDmBp5na1+rMS35MXKJJ1SqIpKoi ln6fuorPGtB04Nl+UOHyo3+H73eZZipPwjY2OmtQgFXFUM3IDVN/XjHmR/yShidJxeFd MwF3yBDz1FTqaBU1povH4ZDc1gw2rehq0DN118DR/i6ev/FaRvJp+XzHFUYeRqeYI552 4bXw== X-Gm-Message-State: AOJu0YyG5JfLnNoeelH0/LkCxr0EZBlGSEYSS9pQF9dutcc424BMQwbi DjZRww1bICQynx2j0opd3Ih6ZEJUkUf2KHDe62A= X-Received: by 2002:a5d:5101:0:b0:317:e515:d623 with SMTP id s1-20020a5d5101000000b00317e515d623mr19508673wrt.60.1693260856203; Mon, 28 Aug 2023 15:14:16 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id v18-20020adfedd2000000b0031934b035d2sm11710874wro.52.2023.08.28.15.14.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:14:15 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 09/11] target/xtensa: Include missing 'qemu/atomic.h' header Date: Tue, 29 Aug 2023 00:13:12 +0200 Message-ID: <20230828221314.18435-10-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 commit fa92bd4af7 ("target/xtensa: fix access to the INTERRUPT SR") these files use QEMU atomic API. Explicit the header inclusion instead of relying on implicit and indirect inclusion. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- hw/xtensa/pic_cpu.c | 1 + target/xtensa/exc_helper.c | 1 + target/xtensa/op_helper.c | 1 + 3 files changed, 3 insertions(+) diff --git a/hw/xtensa/pic_cpu.c b/hw/xtensa/pic_cpu.c index 6c9447565d..8cef88c61b 100644 --- a/hw/xtensa/pic_cpu.c +++ b/hw/xtensa/pic_cpu.c @@ -30,6 +30,7 @@ #include "hw/irq.h" #include "qemu/log.h" #include "qemu/timer.h" +#include "qemu/atomic.h" void check_interrupts(CPUXtensaState *env) { diff --git a/target/xtensa/exc_helper.c b/target/xtensa/exc_helper.c index 43f6a862de..91354884f7 100644 --- a/target/xtensa/exc_helper.c +++ b/target/xtensa/exc_helper.c @@ -31,6 +31,7 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" +#include "qemu/atomic.h" #include "exec/exec-all.h" void HELPER(exception)(CPUXtensaState *env, uint32_t excp) diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index 03e2c1889a..7bb8cd6726 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -30,6 +30,7 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "exec/exec-all.h" +#include "qemu/atomic.h" #include "qemu/timer.h" #ifndef CONFIG_USER_ONLY From patchwork Mon Aug 28 22:13:13 2023 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: 717755 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1420991wru; Mon, 28 Aug 2023 15:15:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFDKxJQyEKXbhXzH/2Vb33MySM2LVFKWq8HivOjLiWRlSq+5Skc4hXiFNT0xYKrlhDzIZG X-Received: by 2002:a05:620a:1a28:b0:767:f1e8:d38c with SMTP id bk40-20020a05620a1a2800b00767f1e8d38cmr33334993qkb.15.1693260913215; Mon, 28 Aug 2023 15:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260913; cv=none; d=google.com; s=arc-20160816; b=PP8GFwpHN9m+/7PfzbKlQKokvhZNpr5ZiQeZnDiN+b2o9SFPv/TSEmdme8NHEeZnfJ TgdM3kW3v+U/5KJyeIklCwnfNudFcj5G+zlN0ULdxOKBCksjxcsxi/02kYtGTJGBWKRF IGEdsnRr86cf09B0KWZzKblwpFhk74TyS+N0nltaFq+VcviPbJiQp9Yf/HSEX9fra9oR 6Jy02lP+SHYpLbe96sdMcTkJQp/FwaLWIf0klHPEKKxIpbSe5dAcohJSZpcKQGR6ZLk8 V6sh4UUxAMJzxtx2vWZdZx/mSMuzam2sByjcB8EdLn5k/yY1gWPNOfsp7ezCazAkUprc 5I9w== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a91SKJtvPXvgB5sy2pGCK9ijSQdaH2tTol0tKP9ptIs=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=WjT+MACdqch2Srz33i9+4BKwCHqnopvK3uxrvgDw1ImFs4B0KuQqjPxXnQNCrY4yEx JYg0NK6UcblHWq5LDeYBNmAe6Dq6s9h5GEW9gWRfThxSkr8/nYGhI6dFQT/kJuV30EIy Yz+nAG/KjlP1SHJZ1p66V69L2HfD8lZAMAgPnud31ugv8Rpu1V/axa/s6UNNXv6Qi115 ys5qY+c4Rfdzze05nyokgz9+j74z2TJgSBVv7AizNLjTB3om0f2XjSsYHkamtlpg7tQ5 Dy8RknXf2DfNYTD34N6zswENauVEaSRqCNC6Q7nTLCqXrKuemEsMNQiLilIqy6jkbpxA /qHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aWL7EvO5; 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 sn14-20020a05620a948e00b0076d2c1f6690si4909305qkn.222.2023.08.28.15.15.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:15:13 -0700 (PDT) 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=aWL7EvO5; 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 1qakVA-0007Kz-RL; Mon, 28 Aug 2023 18:14:28 -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 1qakV9-0007Em-C0 for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:27 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakV5-0004J7-GE for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:27 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31c479ede21so3132730f8f.2 for ; Mon, 28 Aug 2023 15:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260862; x=1693865662; 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=a91SKJtvPXvgB5sy2pGCK9ijSQdaH2tTol0tKP9ptIs=; b=aWL7EvO5AjFIcN/KluUWftfP2Y5cehU+y6pv6zHIeNA4NCFZ9b7eZDLUqTnUwg02oq 3G+EKJGqiHujXTv0J9idbIAxmK7q6g0iI8A4KX+B9Gr3sP44XOfAOvxsnTF1oSyf2FGc GZJhqhcwkl4aFeNkDHm81ImANZXykIn/v5pEX+swH8/BTkySm14kCYCmInZ6STUODuos fBx+PYqozxpraIE6VUcASYlu4U+m3XX+wK8Upf6Aq5P/jfgSB631z1JIpPPqVJXR+hLO OQ45Lor6dQVNvQEW5OIiV17rPpdsCgyMi90m6cW8OxEP3BkYn+W1tzpr/MPgZt8mRZcm uxMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260862; x=1693865662; 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=a91SKJtvPXvgB5sy2pGCK9ijSQdaH2tTol0tKP9ptIs=; b=Fqjz18vr/RoRHPUgD1+xqszrLHiW/MVA3g7UqrNjcNbXdYorG4BcvfnuJpjyhvK0mB +nsupYk3/CfLRbrlza2Gb+g23xSSxjXfYED+i6B1x32tLMoYxeezphqHNhIJibHdhdHx JZuxBRlibrRr5U8+mPtTJop7wgpX8guGZHWSwMPXlAbu8LDmh6qzkjxeDJSlsq1GFTuW t4hMW/tjOcfa3ITbboFMchNT27ZgsAwu9Ibjnrof6CrKXa9lgOsWGIOBgdCA3QOtJCFa xbSWverhAX0xnc7eyOjYi1dE+sW0hQMuyYoc5IR/F8RzJaNG9K6qxwwk6SLAVU8Romfa soMw== X-Gm-Message-State: AOJu0YxRnglS1LGUz1pGjq/ZmL8wL1NZgczAHBQKBs+vuh3AjHZnzq/T NP6NZy8s1bwvyiQhWwv61nanPRcWmd2+hVYQpAI= X-Received: by 2002:adf:ec11:0:b0:313:f4e2:901d with SMTP id x17-20020adfec11000000b00313f4e2901dmr20467448wrn.22.1693260862015; Mon, 28 Aug 2023 15:14:22 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id f17-20020adfdb51000000b0031912c0ffebsm11673969wrj.23.2023.08.28.15.14.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:14:21 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 10/11] qemu/processor: Remove unused 'qemu/atomic.h' header Date: Tue, 29 Aug 2023 00:13:13 +0200 Message-ID: <20230828221314.18435-11-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/qemu/processor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/qemu/processor.h b/include/qemu/processor.h index 8e16c9277d..9f0dcdf28f 100644 --- a/include/qemu/processor.h +++ b/include/qemu/processor.h @@ -7,8 +7,6 @@ #ifndef QEMU_PROCESSOR_H #define QEMU_PROCESSOR_H -#include "qemu/atomic.h" - #if defined(__i386__) || defined(__x86_64__) # define cpu_relax() asm volatile("rep; nop" ::: "memory") From patchwork Mon Aug 28 22:13:14 2023 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: 717761 Delivered-To: patch@linaro.org Received: by 2002:a5d:688a:0:b0:317:ecd7:513f with SMTP id h10csp1421291wru; Mon, 28 Aug 2023 15:16:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEePYkV1J44CJngIfaPXCAcqbsmSQKYkGhyAbUyLZI/k+jRceTOI0vFBLPbOeh/5KL+KXqT X-Received: by 2002:a05:620a:801:b0:76c:ab4f:e9a4 with SMTP id s1-20020a05620a080100b0076cab4fe9a4mr24553843qks.34.1693260966197; Mon, 28 Aug 2023 15:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693260966; cv=none; d=google.com; s=arc-20160816; b=o4UnaEF8o6+Y122MQIKlKj+LdFFsWxRO27dFZoEGSoyx/oGTJJwwUGyGm49oSAXMCt oSmaLAA8udjYbT0Y6nM8m5MMGKi2vRM/TWcfrkcIRxG4+/UMOfTdJU7c5etMst1gw0is gKialAuqpIN1Zsr+BHfOq2FY5GSpEa9IDP28G8Vuf+16LUDD0H8iSjbAVU08cS1Lvng4 MN1dXj5A+KzDCHvAa7wyaDwtMnFhs224XAoN66sX5JnD7dql7fZshhwdeTLKd+UHFC0U e6gw3OLqVPmBaMt6cNTNUhevXKp3nhgo1wd9jMwQsnl/HH82f94tSKcJZ8tPi5O4We1/ RHuQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DcV1pV5u9SuvcmRud4Mp8xFzvcnx8scdTw95EYi68HA=; fh=CBJPxJEjNCibwfpZfKrPGtkERKtYgP+G6TPhM7p5XaM=; b=a/93HPVhzmuX/yHt0lvEvPWahexAionajSMT23qsl8oykpX6plvHzLZXDbtrX+yoXQ F8z75dFt7/xXlvNFVYYGw0jZ145HYYhgcsfqlWqO/IZkw1LKOrdlP1sTmyxqY4MTx71e DMRb/AdX4C+MLuCPJqV07rdKzy8Qq7BWkdi4u53xB4Qw57CXdfohoAk4thO3U36VuB/A Uh1xrXY1W5U0SwxHgLBpw/to8C9sWRXhG0AwaXgIX/FqBPjqwoOoUbYWV8aQDpKK29pN kDiOcf/gECeYhRc9CVBBSZdVwGWjUaJyxgS7PUEUyO/6U7fhLyKtGQtk7GbozFLsEREb qsVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bxys3YdY; 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 x28-20020a05620a0b5c00b0076787a8a594si5347373qkg.205.2023.08.28.15.16.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2023 15:16:06 -0700 (PDT) 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=bxys3YdY; 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 1qakVI-0007VA-0E; Mon, 28 Aug 2023 18:14:36 -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 1qakVF-0007Ra-Uf for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:33 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qakVC-0004KT-6Z for qemu-devel@nongnu.org; Mon, 28 Aug 2023 18:14:33 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fef56f7248so34754215e9.3 for ; Mon, 28 Aug 2023 15:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693260868; x=1693865668; 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=DcV1pV5u9SuvcmRud4Mp8xFzvcnx8scdTw95EYi68HA=; b=bxys3YdYXJMKN8Kf6vU6UW4r1EKUcN2fNWrONVtP01NlPtiYRw27SKaD6bmMD6VRzW Ky+oyZgPLMcQPvgufNSDSpXcCknrPeDiP9zKOetvIJuqurbAko6sc+5bx7BZ8HSwJCgV FtkBLRA0dPESqjxg/BOjyt8+VacRJ6A1AHkwr1mHSIsWTwhKEqXJPkYH+guOhIhSF0Uz ZeUEOaAGzlfWwnEoBoeyJs0oYWrnER9CyXCwxkUof+5v4ymtz/UpT4omvWZlK+FPNfk8 6aMlIGhiLwFU37h3a1A44dktaQK7OC0l1GsiI9aw8at5iunAWKy9padnz+SMFX3yGPmF Sl1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693260868; x=1693865668; 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=DcV1pV5u9SuvcmRud4Mp8xFzvcnx8scdTw95EYi68HA=; b=JIriTv8xGMaNsU8P/kU4toIb67tAFmExJqTkAHghUY/aVTlOHTPiL7KL0/vJiczy/r e3D98YXaY1nLENcKY2Loo3imtJfQpS/NxAQzfrUMH8vwtVPgH76yKYbAXOBRVgqQczgk Ik3ZHxxxc5z9twqv1PTdfgY8zcg9rAWRcrJIK4Aei4PpOmmr+LIYfMq/6NsUowuz96+u QUZSAvezq4PBw0QB9JMpSj9KEKpNmdvdJui++4nKYT5+yoHVraM6MuDHCnXxni5/3Yon Ajfy9T/nR26ttKWn6etpoBj+ky4O2TM10wXgKtjHHzBvlSJ1GqS/kxhVOBtp0WDQf95Q m8Cw== X-Gm-Message-State: AOJu0YxzRmjdUBl9POX5rH9TJt+KLo7EsMHd42kaeDY6lcF8/2dNIzWY VZCHcdx5AjpU59EWQKYpfr8wuFoaETDxOD9houI= X-Received: by 2002:a05:600c:b42:b0:3fe:2b76:3d7 with SMTP id k2-20020a05600c0b4200b003fe2b7603d7mr19786764wmr.10.1693260868477; Mon, 28 Aug 2023 15:14:28 -0700 (PDT) Received: from m1x-phil.lan ([176.164.201.64]) by smtp.gmail.com with ESMTPSA id m24-20020a7bca58000000b00401b242e2e6sm13062052wml.47.2023.08.28.15.14.26 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 28 Aug 2023 15:14:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 11/11] exec/translation-block: Clean up includes Date: Tue, 29 Aug 2023 00:13:14 +0200 Message-ID: <20230828221314.18435-12-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230828221314.18435-1-philmd@linaro.org> References: <20230828221314.18435-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, SUSPICIOUS_RECIPS=2.51 autolearn=no 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 'qemu/atomic.h' and 'exec/target_page.h' are not used. 'qemu/interval-tree.h' is only required for user emulation. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- include/exec/translation-block.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h index 5119924927..b785751774 100644 --- a/include/exec/translation-block.h +++ b/include/exec/translation-block.h @@ -7,11 +7,11 @@ #ifndef EXEC_TRANSLATION_BLOCK_H #define EXEC_TRANSLATION_BLOCK_H -#include "qemu/atomic.h" #include "qemu/thread.h" -#include "qemu/interval-tree.h" #include "exec/cpu-common.h" -#include "exec/target_page.h" +#ifdef CONFIG_USER_ONLY +#include "qemu/interval-tree.h" +#endif /* * Page tracking code uses ram addresses in system mode, and virtual