From nobody Wed Nov 27 02:31:48 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1701354430; cv=none; d=zohomail.com; s=zohoarc; b=crvrCLp3nG9KQ84yegMulk2uUps7tDjvyNMSTjzd4Jk7bwl4Xut0ryQJxWSCd6CCEloKC19JA5W8+fsXMX5l65kPjMZIT0o2W84KgVQ/CHDpMi6q036U7+IghNpC6sYTazqB0G5rnYgeITq/J+PXRN9iBUflfenwiUI0mQbc3m4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701354430; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=uoizzG5xhbCsM7Lv7ogHVV2wsLPjyGAgiELWh60n2G8=; b=iPrnrnb2ppIlL18apGYy9zQcSh+dZDUGSEuaIDq9/HCIImsVhs5jwcMcgK2dD0VMik75g/L/Ho5/TkBVuDeOG5I4EO5x8xNt+BlI5TQdf7BJPiFjoRZ9BHJIQILhXVU2zB2rzw/s+eGIMaPJZxgdFkqHCSqcCAE30052FJfbTi8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1701354430582819.0771591260994; Thu, 30 Nov 2023 06:27:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8hz2-0006GO-Jm; Thu, 30 Nov 2023 09:25:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8hz0-0006Fi-7T for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:38 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8hys-0008Mh-3n for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:37 -0500 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-54af0eca12dso1065938a12.3 for ; Thu, 30 Nov 2023 06:25:29 -0800 (PST) Received: from m1x-phil.lan (sev93-h02-176-184-17-116.dsl.sta.abo.bbox.fr. [176.184.17.116]) by smtp.gmail.com with ESMTPSA id h13-20020aa7c60d000000b0053e5f67d637sm586275edq.9.2023.11.30.06.25.26 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 30 Nov 2023 06:25:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701354328; x=1701959128; 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=uoizzG5xhbCsM7Lv7ogHVV2wsLPjyGAgiELWh60n2G8=; b=G70tfHUcbdWVRnXCkTYa4yEENAJPfqnC+uiFMdlCGZElv4+7fpS8R4v6MObwxSxzCk YCAn98N6NRRywcnqh6ttgJVQ8do72cpQVsGtD028ch6owsfq8VBPCIamEsvmkC4FlYyW Ci6xPfCh1ywBFxQAlSD6ll+AVf2jWNUBS4nAqBPTIzCPavFPMqw4s4QZHlFYxQnJIebi aRE3219YnNsTuEX2iVUHGRPXJgl1URW+huYKWRMqqwaWRxCNNjvSQUY8RLvCeUPNINrc FG3vwViftJOfVMxBHhmr8VXn9z8MFMLA0g26I0qKHkGtaeVLXDoIM4bDy42+hBV9Mp+X Z9FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701354328; x=1701959128; 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=uoizzG5xhbCsM7Lv7ogHVV2wsLPjyGAgiELWh60n2G8=; b=YMLdWzFCjHsclyUs2g6mViy9Zh+8HyPQDiI19aByS2e8ZU3IKDzp2rRWb0NdZ5WL9G 5BucPj8WD5ujrebuPke8efVxnyRL0r6zNYQ4mXjQcdrtWk3a2NFewWM7QO8M77lWJhWP SeERMldF9P1OZlYH3iUCD7lt1CKmwVc3Yyy7KQnK9sJyfsY4ndgJGYPxx6hf8M+ssBOw /GhuHWU+ZbK5QEgkW5OGTKH+G6wkWomAtFic4jb/qCF1o96kJPxP59QadCjfUV9Wi99w ONROJa+T2cl3jCsyxOrFOcPFuVyUGeZefB9FtcbCYeU+AaL13TrA2hd5z0QTic6I2SbY wCaQ== X-Gm-Message-State: AOJu0Yz82Oqp6r5wlKetI7npHTtlXl0XmrsvEKimWjyM4vw6X7OdwHYq nykE+0EvH+v+i6G1y0oDAr0JA5XoPj7DJw571ttJrg== X-Google-Smtp-Source: AGHT+IH962RhB7ahIyV4NlSty6Ff8XSNc6xQjmeZrcwguK5qQwOzDkHdV0RHGEZMl61n08tJsnKvtg== X-Received: by 2002:a50:cd9d:0:b0:54b:5243:f7d6 with SMTP id p29-20020a50cd9d000000b0054b5243f7d6mr9622510edi.32.1701354327887; Thu, 30 Nov 2023 06:25:27 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.0 1/3] target/arm: Restrict TCG specific helpers Date: Thu, 30 Nov 2023 15:25:17 +0100 Message-ID: <20231130142519.28417-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130142519.28417-1-philmd@linaro.org> References: <20231130142519.28417-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=philmd@linaro.org; helo=mail-ed1-x536.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1701354431335000001 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/arm/helper.c | 55 -------------------------------------- target/arm/tcg/op_helper.c | 55 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index 2746d3fdac..4844cf1d78 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -10135,61 +10135,6 @@ void cpsr_write(CPUARMState *env, uint32_t val, ui= nt32_t mask, } } =20 -/* Sign/zero extend */ -uint32_t HELPER(sxtb16)(uint32_t x) -{ - uint32_t res; - res =3D (uint16_t)(int8_t)x; - res |=3D (uint32_t)(int8_t)(x >> 16) << 16; - return res; -} - -static void handle_possible_div0_trap(CPUARMState *env, uintptr_t ra) -{ - /* - * Take a division-by-zero exception if necessary; otherwise return - * to get the usual non-trapping division behaviour (result of 0) - */ - if (arm_feature(env, ARM_FEATURE_M) - && (env->v7m.ccr[env->v7m.secure] & R_V7M_CCR_DIV_0_TRP_MASK)) { - raise_exception_ra(env, EXCP_DIVBYZERO, 0, 1, ra); - } -} - -uint32_t HELPER(uxtb16)(uint32_t x) -{ - uint32_t res; - res =3D (uint16_t)(uint8_t)x; - res |=3D (uint32_t)(uint8_t)(x >> 16) << 16; - return res; -} - -int32_t HELPER(sdiv)(CPUARMState *env, int32_t num, int32_t den) -{ - if (den =3D=3D 0) { - handle_possible_div0_trap(env, GETPC()); - return 0; - } - if (num =3D=3D INT_MIN && den =3D=3D -1) { - return INT_MIN; - } - return num / den; -} - -uint32_t HELPER(udiv)(CPUARMState *env, uint32_t num, uint32_t den) -{ - if (den =3D=3D 0) { - handle_possible_div0_trap(env, GETPC()); - return 0; - } - return num / den; -} - -uint32_t HELPER(rbit)(uint32_t x) -{ - return revbit32(x); -} - #ifdef CONFIG_USER_ONLY =20 static void switch_mode(CPUARMState *env, int mode) diff --git a/target/arm/tcg/op_helper.c b/target/arm/tcg/op_helper.c index ea08936a85..9de0fa2d1f 100644 --- a/target/arm/tcg/op_helper.c +++ b/target/arm/tcg/op_helper.c @@ -121,6 +121,61 @@ void HELPER(v8m_stackcheck)(CPUARMState *env, uint32_t= newvalue) } } =20 +/* Sign/zero extend */ +uint32_t HELPER(sxtb16)(uint32_t x) +{ + uint32_t res; + res =3D (uint16_t)(int8_t)x; + res |=3D (uint32_t)(int8_t)(x >> 16) << 16; + return res; +} + +static void handle_possible_div0_trap(CPUARMState *env, uintptr_t ra) +{ + /* + * Take a division-by-zero exception if necessary; otherwise return + * to get the usual non-trapping division behaviour (result of 0) + */ + if (arm_feature(env, ARM_FEATURE_M) + && (env->v7m.ccr[env->v7m.secure] & R_V7M_CCR_DIV_0_TRP_MASK)) { + raise_exception_ra(env, EXCP_DIVBYZERO, 0, 1, ra); + } +} + +uint32_t HELPER(uxtb16)(uint32_t x) +{ + uint32_t res; + res =3D (uint16_t)(uint8_t)x; + res |=3D (uint32_t)(uint8_t)(x >> 16) << 16; + return res; +} + +int32_t HELPER(sdiv)(CPUARMState *env, int32_t num, int32_t den) +{ + if (den =3D=3D 0) { + handle_possible_div0_trap(env, GETPC()); + return 0; + } + if (num =3D=3D INT_MIN && den =3D=3D -1) { + return INT_MIN; + } + return num / den; +} + +uint32_t HELPER(udiv)(CPUARMState *env, uint32_t num, uint32_t den) +{ + if (den =3D=3D 0) { + handle_possible_div0_trap(env, GETPC()); + return 0; + } + return num / den; +} + +uint32_t HELPER(rbit)(uint32_t x) +{ + return revbit32(x); +} + uint32_t HELPER(add_setq)(CPUARMState *env, uint32_t a, uint32_t b) { uint32_t res =3D a + b; --=20 2.41.0 From nobody Wed Nov 27 02:31:48 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1701354430; cv=none; d=zohomail.com; s=zohoarc; b=XiLafjR4979+nALKSVIxYCI/ScGEViTHo6I7SbuJv4bsGM5ULJkoLLNkYeA4EVN8PS476EWIcoqE3W/L8exi9SxuecK29HP2ye7DGJQgdgh0ZodSDU+IXEqXSn/fJ7gUTC+4BcdBAMIiVZucGGcYKR5dVS4g0n1r1QZTM61dMck= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701354430; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=/RVrwZHzqL53D0d21SzvbYXyLe3vUhOAbfQcX8nMf5Y=; b=O+lFYXnWR+6PTsXSG82Jvknd/ySpwnwaC0wbJORF7UUS+oVs18xsSIoVnRxMjk7G1f1OJoRee1QvDBbnOSHCkl37vr83bPYnYIp35gZvC9UqNRYE5jJ0vkaA0udGCFzsZ8bbQZ/abZe5ACcQl7kOExnbQaa9s3tulD4eR98rRdk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1701354430940971.5576565183816; Thu, 30 Nov 2023 06:27:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8hz2-0006GN-IR; Thu, 30 Nov 2023 09:25:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8hz0-0006Fm-8T for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:38 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8hyx-0008Pr-Ht for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:37 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50bbb4de875so1429255e87.0 for ; Thu, 30 Nov 2023 06:25:35 -0800 (PST) Received: from m1x-phil.lan (sev93-h02-176-184-17-116.dsl.sta.abo.bbox.fr. [176.184.17.116]) by smtp.gmail.com with ESMTPSA id w8-20020a056402070800b0054aeac2c4b9sm591628edx.81.2023.11.30.06.25.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 30 Nov 2023 06:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701354333; x=1701959133; 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=/RVrwZHzqL53D0d21SzvbYXyLe3vUhOAbfQcX8nMf5Y=; b=NpP/uEpw5XkiKyWF/D0NUol+2idkFYl1Vqm4Z8PiTyeB5h4HaaNz73DqH5oA64bjBO ABv3V3n5SsdttRmCF8AYcTwwo1av94dgxft5KEV1oJpHFfwg4EIRlbtIdwJXE3AeyHsO WNOEBZ1hqfr4o3PkZpqCnznS7b5RAfUKHxKJmdvTYGJkLqIO5WDJLhTx97jLcOQ6cZNM frmURUwIVrbeZHqkEI0w2hG6aAq6pNdUc0K63jupeT3PwF9hvm+Dv0I5/1Mlu3CkeLiy Nl37KwTq5X3oww/GC+f/6cax0rw8oXOGsoleZJmvY3HrSG/FnKct91f5WjICZOJ0fANr U1SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701354333; x=1701959133; 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=/RVrwZHzqL53D0d21SzvbYXyLe3vUhOAbfQcX8nMf5Y=; b=pByunrmvhH4GszS7kLDd8ETaZJpiphKdwb6FsgF/wN+PpsvXydNpDwTITC36NLUils ohkuoiQHNhFMwU4QSqSVlxUvnc7tW5WFEgYh166xDdSM9s1QKCRUWxdM5kv+B6zpi7lJ zqWSBXZWNwjmBJsGJzhkKQyGLmA3G6XJjeL+M8cCtrC1/ZYnzBKfrJBRc9rh7TKfLGWL VJ1oLXNrOmEHjmCKgJsqFrbPIjz6w4fjbbHiuw26QRf9+l071EtPfMBXbqYjM1xPyrSL fwqeIb83VK3u4D9+PGcan5LJslPhqgHdUDKdYNYIV2jAiOFrEtvQha69ITQlWhvtDEe5 Iw1g== X-Gm-Message-State: AOJu0YyCxUDc7O5wqHPARtQYMx029RvvbmfAVl74DRTNM1rHtr8ZAKnk 41MfTWqM3bIYcG0kT6l32kjde6KCqjOh7Ai80H0gBA== X-Google-Smtp-Source: AGHT+IHqWxGWu3FYouLY1vUkrVp9oOiZ2MHIh5pGZ884N/2cipX2YzXpycbaYUz7Fboid2u/imneaQ== X-Received: by 2002:a05:6512:3da5:b0:50b:d4c7:193c with SMTP id k37-20020a0565123da500b0050bd4c7193cmr460444lfv.24.1701354333339; Thu, 30 Nov 2023 06:25:33 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.0 2/3] target/arm: Restrict DC CVAP & DC CVADP instructions to TCG accel Date: Thu, 30 Nov 2023 15:25:18 +0100 Message-ID: <20231130142519.28417-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130142519.28417-1-philmd@linaro.org> References: <20231130142519.28417-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=philmd@linaro.org; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1701354431930000003 Hardware accelerators handle that in *hardware*. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/arm/helper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/arm/helper.c b/target/arm/helper.c index 4844cf1d78..20e13215bb 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -7645,6 +7645,7 @@ static const ARMCPRegInfo rndr_reginfo[] =3D { static void dccvap_writefn(CPUARMState *env, const ARMCPRegInfo *opaque, uint64_t value) { +#ifdef CONFIG_TCG ARMCPU *cpu =3D env_archcpu(env); /* CTR_EL0 System register -> DminLine, bits [19:16] */ uint64_t dline_size =3D 4 << ((cpu->ctr >> 16) & 0xF); @@ -7669,6 +7670,10 @@ static void dccvap_writefn(CPUARMState *env, const A= RMCPRegInfo *opaque, } #endif /*CONFIG_USER_ONLY*/ } +#else + /* Handled by hardware accelerator. */ + g_assert_not_reached(); +#endif /* CONFIG_TCG */ } =20 static const ARMCPRegInfo dcpop_reg[] =3D { --=20 2.41.0 From nobody Wed Nov 27 02:31:48 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1701354431; cv=none; d=zohomail.com; s=zohoarc; b=BHBM5tnYSsTolMZWBBmV2beZXuRDESoz12e8arBSoXrp4OobqfL+orUiRdOYEM36YpllF7JYv1NzLwEvh26i5usryvF8xn5emtj9u55ZqMRIcTeFF9AiXmcVIj/oQTCqQo7RD0vSU3V0rLPYuNjbAAos0q0O3rp7P5HkN0cvrrA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701354431; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xIkyywCV84pixVtgL1sg5DGw0uU59TDxgCkewEW8ZWA=; b=CHF7CsKFbew7ZDXI/h8oGyxR7v0fNYyy51JzmcQhW2QylfiMIu/9yETjlVJBSww62ymibImTPUoniJCWvn34mY8gI7zaXUcrqqxuy+D+l/X47SUAJjxoTi4hQgCMkbdY+euSdIMcA2bfyR4srmUYxhQL56677gafdkYv224XGKQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1701354431000712.2656046979635; Thu, 30 Nov 2023 06:27:11 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8hzG-0006II-6N; Thu, 30 Nov 2023 09:25:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8hz4-0006HA-H8 for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:42 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r8hz2-0008Ue-97 for qemu-devel@nongnu.org; Thu, 30 Nov 2023 09:25:42 -0500 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a00f67f120aso139350366b.2 for ; Thu, 30 Nov 2023 06:25:39 -0800 (PST) Received: from m1x-phil.lan (sev93-h02-176-184-17-116.dsl.sta.abo.bbox.fr. [176.184.17.116]) by smtp.gmail.com with ESMTPSA id n23-20020a170906089700b0099297782aa9sm726356eje.49.2023.11.30.06.25.37 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 30 Nov 2023 06:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701354338; x=1701959138; 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=xIkyywCV84pixVtgL1sg5DGw0uU59TDxgCkewEW8ZWA=; b=x+h5n80jNYvLNFDbTDUSqEOuvy4Xwe7SIP3w4w6ZkMPz6gB8fMJbmlwvbpTD0JtKAb n4onOvvL/Jk4e2HLEgqp7Grk/d4mf3ao3nEAt2j+rTC0tFHTg1zUr7nWL5UGAZrCgNzG 2JqOgE7ErniQGfZc4RiapsBSNt0TDEIsSpEMLq041dof6sltz2kjoADPbpWyhzdlddEd Idy1N6gYsNhbA+xWFlMr03u1aXjXZLB6hPYj+Bbq906kGMPWu6FxdrSKWSm2F3VsTi4n +lb5R2vRx0hQpexuk6qvr4wKocbBChflV7TiY9dUAjEcPntv54XlyAeCPzsAWVYjwGdd gCkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701354338; x=1701959138; 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=xIkyywCV84pixVtgL1sg5DGw0uU59TDxgCkewEW8ZWA=; b=dKFxcGCEBtNG5urk5RYsDf89XK+bWUXTZjeUke7XqScGRPO/8+ftdPTN+yJf67DzjW 4OoZ7FNS+d/tEitQz33Xjxx/xXmCIhkE6qaxfwKcmALZQvy3JgIz81TG/qBhAedenBXD nTOHD0PKFq9G27Bt9hT8lLlPDDKWsuUrtyPAmOV0m61v++sFBxYDviZDJRpAsrp6Ky6a azUjOQH2VvCdIWWxLH1GdwbnZ7AkH816VH1TKYw3DBrR4jpZkwnIMjFDWSMFx9xgXuaj 8llh1uE0AfvYThLxJ/nfxCJKADK+Ykc0HAnPBeNCwrs9T3pbqGwSPr3vP3nzwzQ8m/nQ kKTQ== X-Gm-Message-State: AOJu0YwLs4k2oDyCF18cBskqASTx1hONayG8gst25yL23g6vwayohEC7 GBAXlzO5Lrk8mwMi5BqpJ5ieU3TfwZ6JcBIDoxgK3g== X-Google-Smtp-Source: AGHT+IEpyAnrNBvuMziOwmmwDC1iNrqxscHHuoDGifVRWcovxZN51cUU10YATP1nmC1osU6RFMv2Eg== X-Received: by 2002:a17:906:738b:b0:9f8:2f30:d74f with SMTP id f11-20020a170906738b00b009f82f30d74fmr14711296ejl.7.1701354338665; Thu, 30 Nov 2023 06:25:38 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-9.0 3/3] target/arm/tcg: Including missing 'exec/exec-all.h' header Date: Thu, 30 Nov 2023 15:25:19 +0100 Message-ID: <20231130142519.28417-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130142519.28417-1-philmd@linaro.org> References: <20231130142519.28417-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1701354433121000011 translate_insn() ends up calling probe_access_full(), itself declared in "exec/exec-all.h": TranslatorOps::translate_insn -> aarch64_tr_translate_insn() -> is_guarded_page() -> probe_access_full() Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- target/arm/tcg/translate-a64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c index a2e49c39f9..f3b5b9124d 100644 --- a/target/arm/tcg/translate-a64.c +++ b/target/arm/tcg/translate-a64.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" =20 +#include "exec/exec-all.h" #include "translate.h" #include "translate-a64.h" #include "qemu/log.h" --=20 2.41.0