From patchwork Thu Apr 24 09:46:48 2025 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: 883937 Delivered-To: patch@linaro.org Received: by 2002:a5d:474d:0:b0:38f:210b:807b with SMTP id o13csp3341801wrs; Thu, 24 Apr 2025 02:48:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW5fB68SXfkGtH3zxmJy5fcSW6cUXdJm0h+/6la8DrIFjQFrLN4LetRoBpsOPHVVRl/CVSx6A==@linaro.org X-Google-Smtp-Source: AGHT+IG6iEIecwqLW+ifHW2REGy9llqe/VypJcYZ7xRm3fonWYelKLtL/jMJO2Tm05g/Y0weWfDZ X-Received: by 2002:a05:6214:29e4:b0:6e8:f88f:b96b with SMTP id 6a1803df08f44-6f4bfc0b259mr34950586d6.9.1745488116336; Thu, 24 Apr 2025 02:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745488116; cv=none; d=google.com; s=arc-20240605; b=jfVQVhp+3o0c11kNCc+hFa9ol1+o28x9d+ACOubrTuaLYqF7gFWjUfLK8is0/bIG6H pOprwWYw+hEPjBC4vmvv+4bbe9oHRwIF2KxgG7jA2dQP+OAhMyNsHF1p09vEjeQi1PhP lxK5yptKqyryRqQ0acPlbCrUAx9d6rgc5X8jyTKzu8yjcWjjdc8MDMph84Sv41kdREth mwYe9UUyiPyRK+nR8z3eN5tHw7vnCdBD0J/thFU0einLKeaEFxaI9vo0TE0xfS53XQI2 m96iZtOezpuvmyBMVvv8uB6EArTAY+Tka+FfEgG0mGqWn34Xs4ROi21hXagUs2hXWcFP o5og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=J4J0VMJ6GfvwPK+ehChCjxy21KDTNZZmDYppJFi+hTg=; fh=OfreXVzz+9AWc5zm3wgpgY6oO4v5p5SO53/S12OWUWc=; b=QoXMJus1pMZOlO0MclqavfBubYeY1Kak/cdbDiuY5rSR/G6sktBTjo4vO3eI6xPOP4 wg44cm5NE9mWl1TCBR56K9na0XpOBU3zFkPSjhCHfCyXqChXpbp/w0w/nHHWNjj+DMVf 9g01vtITMDD7WrX2IF9sFdJ2OPJR5MGNZwIjKxZg8+JnlMWLKUPxj7SA3g9iPHkvz9HC 46/djNfN17RXU4cmr9IydbEslM3hnRUi3xLFQ3pvprGoUCi1FriB2AeiQOrzvcvHfv+Q tv1+Qdewu7GaLE5iyFIHJ78HNTWrvlmxe97SCtfZkzCh3mK2yJq/Tz2qtcNRFHOvFGHa VmDA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H1KiyEGF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6f4c092af78si11708046d6.165.2025.04.24.02.48.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Apr 2025 02:48:36 -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=H1KiyEGF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7tBE-000836-7J; Thu, 24 Apr 2025 05:47:40 -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 1u7tBA-0007zP-R7 for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:37 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7tB9-0002at-4h for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:36 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-39c0e0bc733so674713f8f.1 for ; Thu, 24 Apr 2025 02:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745488053; x=1746092853; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J4J0VMJ6GfvwPK+ehChCjxy21KDTNZZmDYppJFi+hTg=; b=H1KiyEGFkmqo+c9nDMQZx6uDHS+qSZJpXk2DV0id6h9pylbAAsiqTQpH60psywygLH QpmyGbG/rFaW1NIelgKvDoge1DatiKmEIGqndLFkGrs26EJ8+GyEK1PJ2fbO2vqYx/yE WNitpny42D7LsCMHx4bu+EdAlUp9jtjyMiQeV8GcMBDtZgNH1W1IhXwnZfutEBRcWfek ni9l17eEmkrvEzAaMoliT41gUiMKbGS5ChLqiKMkFPfhFifbLaquSxZ8GZny3p/HWUed OLxTguX3RL6NvhXoa0TdLCKHKNJyPlHCWdJbR+bnFJt46BTp2r5jPYAXOLYi4SaunSbd rkig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745488053; x=1746092853; 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=J4J0VMJ6GfvwPK+ehChCjxy21KDTNZZmDYppJFi+hTg=; b=InZi8lzMLT32px+T6qbHl/sNgEScLHfxRAW+SNZnzM+4nHXGD9dITJuCquRVFl8ScK iOAQ3V3IUza8emLUOazb3Z9WgczHQCxDnI+Asgvbm+NYp0jMft2yjbCzrti9qGJ6eIjS PzTpn5XGiadE9N5gNpa2um7UOWx83xAFzxuWYFWBxC2YwhNwtac7oiplpAaECvlyW8k9 guTo2Kh7sgZaBDiVfgBzS5q28llWQUQC6FEsO8VQYdHYyxP1vyvbTNKHz8ARbUisonBW AUNiowE9n9HfL552tzodVk5XgI803OB//rkBe6Z9wU9d+Gzg5d+6QchcpIPNx3BJF2MS q8Aw== X-Gm-Message-State: AOJu0Yy1Udhk67+FmoYana7Bg+76jF5Ztt1IFtldKSnP7bEuhq2oxnAB mM60yaalQokuPyGsu7iC+7iM1MuuhSl8BgXy6pObxKHwQ7gEVy9xRxxCR9Fb5GOYpy2XaEOrKX8 1 X-Gm-Gg: ASbGncv4MftpskZQPJm+IsgkI8nnYJGqqunAi4E8r1331mesmgGjacbrZHfQNWMLymU Rwx8dT6SUG7juqLhHPWeWAvSMFSuDqoUj66dHb3IiGQKsqKSRZptcGWnqTMBn5uDGs+6ZqnZjD3 GdfgqScoOntWXNh24UnRySHRn6KGgP9YuBWRvxvNvsP/8976ZE5bgJgj4Kl4GV/Dp/T6rnjcytQ OMDtaMrn4wtuo1vSJD0a+COJ//qrrBsEez4FUnPEGjTwYd51brh1UbAQvKUeZ39DiP/xY/Je0RE uyJrGFr11g/h+ylQNRFP9uX20En0tFFYh+fUH+PrSR5j/O6/AWLchomvcRiRqX7jVpX2yx/bZoM FubHn1OCyAuTT3AolVtnlY+aL20gcjII= X-Received: by 2002:a05:6000:22c6:b0:39e:e438:8e32 with SMTP id ffacd0b85a97d-3a06cfc5d0bmr1187599f8f.55.1745488053012; Thu, 24 Apr 2025 02:47:33 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4409d2a2386sm14204155e9.14.2025.04.24.02.47.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 24 Apr 2025 02:47:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Richard Henderson Cc: Pierrick Bouvier , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 08/13] target/hexagon: Include missing 'accel/tcg/getpc.h' Date: Thu, 24 Apr 2025 11:46:48 +0200 Message-ID: <20250424094653.35932-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250424094653.35932-1-philmd@linaro.org> References: <20250424094653.35932-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.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 Since the macros.h headers call GETPC(), they need to include "accel/tcg/getpc.h", which defines it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Mark Cave-Ayland Reviewed-by: Brian Cain --- target/hexagon/macros.h | 1 + target/hexagon/mmvec/macros.h | 1 + 2 files changed, 2 insertions(+) diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h index ee3d4c88e7b..6f82277a415 100644 --- a/target/hexagon/macros.h +++ b/target/hexagon/macros.h @@ -21,6 +21,7 @@ #include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD(FIELD, REGIN) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \ diff --git a/target/hexagon/mmvec/macros.h b/target/hexagon/mmvec/macros.h index bcd4a1e8973..c1a88392c05 100644 --- a/target/hexagon/mmvec/macros.h +++ b/target/hexagon/mmvec/macros.h @@ -21,6 +21,7 @@ #include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))