From nobody Sun Jul 26 14:10:32 2026 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=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1781156231; cv=none; d=zohomail.com; s=zohoarc; b=kyE/c1mY8P6+oCLhA443MWsYO27uhXD445kWTWkGO8aldXGYrch/Q8oliMvpt0/OtGOXRufTk6ODJ2bLSDHZbi68UHtt4y4BrUa8FLdTw0hj0j1rgWFAOeVorLh2oL6DjhrzTExD89vN0MesoJkr9bOzmQdB4sHWW0OwO8tXzzU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1781156231; 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=4+fQJ66elCq2Gz4l12pqfNjnGqlZK9Ut3/hkXyOSvUY=; b=RpsFsPYeV+lBd1TOQJor8fNCY+qpXWORxvGce5VxNkEuiPY346hDgDMjZSFLFb00kjY8nUWjaNxnTQYW7fFowF7j6sBtgBg3aFX1wbl0qRQpy/eNQXLaj+ZNeQ9mowtqP1inb2ja12bxLo5sVGgpEEitII6u7AWw+NdPNLv1aV0= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1781156231028192.58470193225412; Wed, 10 Jun 2026 22:37:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wXY2u-0001gP-RE; Thu, 11 Jun 2026 01:33:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wXY2m-0001Zw-06 for qemu-devel@nongnu.org; Thu, 11 Jun 2026 01:33:33 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wXY2f-0002bS-Uk for qemu-devel@nongnu.org; Thu, 11 Jun 2026 01:33:28 -0400 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65B5GIaT3791689 for ; Thu, 11 Jun 2026 05:33:14 GMT Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe701sk3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 11 Jun 2026 05:33:14 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-30761ab3483so6234300eec.0 for ; Wed, 10 Jun 2026 22:33:14 -0700 (PDT) Received: from hu-bcain-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30806ee207asm720800eec.29.2026.06.10.22.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 22:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 4+fQJ66elCq2Gz4l12pqfNjnGqlZK9Ut3/hkXyOSvUY=; b=clxVZrmf8PaNXxua y9FfQPIoAIoidpqvR/aLKFr2tXK/qjU17Ny15/9oGxsenTRgIOhLeuhq5uBnUK/2 JByt8qD5WITsa0p3AUtoQAlv/tAid8U0ULDpA0rzkJucb8ax7V6U7RUbjzTqDcvL 1m/D6Vv8tojas+HynCmM80uP5kMArOpxb3WGNhwCGd7Z2SJF6rfgl2xNSrLtaPPM KrreaThVwJYE6E2ZiWHeehR9a1+rm9jlzRlamu+Ye94BvW/nkm5iA8rME2qHVTNM H7DPArKpC0Sm0r28c8ckkb+keBX/H9/HWr2PafNwrMwF6HhDRNi0tk3kKk6MqYXG EThrjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781155993; x=1781760793; 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=4+fQJ66elCq2Gz4l12pqfNjnGqlZK9Ut3/hkXyOSvUY=; b=iTEg41JTO5p7VyT+LXJ2zCXhZBHpf2b9gwE0B7cP9oPBWw4rgoGIfMuF3Ea6Hfz1mQ PJTF4lOCf2NZ/NCrIJ3DV3DZj9qQ3QEukNl1QQYQlQXdMhfeBDt6zNMV/0gbxg6oTeK/ ek5JWqcJXVF5TyUFY3YwgeIn6A5I+9IEwWdnsYmyNYYyg/CP3rPiwgNTuzQ0hu+u6PiY 88Pi6VfEhDsMgdwnHZLZNWEI7Zbs0IpzJRwLvBqtGw15zl90IWO5VcGdUHxeTbMhPq1h dNGF6KMX2sTzVjwF0pco09hXBRzos2fODrxNEw+/WlttQYqskqiOI9PQfyflebenqbAt aY4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781155994; x=1781760794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x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oaOSakKVz3gBA21oOHPM ml+eLm X-Received: by 2002:a05:7300:7492:b0:304:188d:d0b0 with SMTP id 5a478bee46e88-30804b8bf3emr1031081eec.20.1781155993546; Wed, 10 Jun 2026 22:33:13 -0700 (PDT) X-Received: by 2002:a05:7300:7492:b0:304:188d:d0b0 with SMTP id 5a478bee46e88-30804b8bf3emr1031057eec.20.1781155993004; Wed, 10 Jun 2026 22:33:13 -0700 (PDT) From: Brian Cain To: qemu-devel@nongnu.org Cc: brian.cain@oss.qualcomm.com, matheus.bernardino@oss.qualcomm.com, pierrick.bouvier@oss.qualcomm.com, ltaylorsimpson@gmail.com, philmd@mailo.org, philmd@oss.qualcomm.com Subject: [PATCH v6] target/hexagon: add simple cpu_exec_reset and pointer_wrap Date: Wed, 10 Jun 2026 22:32:32 -0700 Message-Id: <20260611053249.3918491-12-brian.cain@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260611053249.3918491-1-brian.cain@oss.qualcomm.com> References: <20260611053249.3918491-1-brian.cain@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjExMDA1MiBTYWx0ZWRfX5LAKvpWaq7JE 0obE3eu4KAdJrH+s2xbLe75NFu4j3FF2CqULieuMod5uUUehJfY+2Pf2SQEySMaC2YZCEi0Ke5k 8AHwgwHOLgwnATVggv2V7OuoCsRFP3zozIGaNiZ/XmrOht6EveMKRZ0MMJNNppA9vRn5YrFuccy NuP0AazAqfohhjPC0yJ7VTtPC+5P0yYAoHmaGC0ewjDyfUXxkx+xwsn/tg2xsRsCWKWcFsp4tnw M3Nn36IlaipltuZhpWKBW5Wo9OVGaT4iLtzUqtbEPT/IH9AdOYGpCXqAnPHuXzQQRppbSQcVLmQ zjY9IDtm+oWQ7I0hidhFMyjxZGD6IuFyVO6XAqzA3ZUeyPYinN5vsj9ddSMycHpIxbxUEoX4jO5 wPmMeUVpFxuWidcuzP/pupMqeipLplMH/CUd8HvQCt6Z+bUofGQdILy4PRbNAQINlTgzVFlxIgr sBbUYX1h+0S1HSjkAsA== X-Proofpoint-Spam-Info: AW1haW4tMjYwNjExMDA1MiBTYWx0ZWRfX4hMmoprOCG8E XRzq9LLzLFjJ1Ptd208w5oefQmIi2DBKpZn0G6UQa0d8BxnNcdaKX/EHIE6zV7WVT/L+1iNi9ut Y291LTJEl+qWRDBMs7vZ4b60ISMTsgA= X-Proofpoint-GUID: YcZA7XI8EZ0J53M4BkxS_I9fPFY189hv X-Proofpoint-ORIG-GUID: YcZA7XI8EZ0J53M4BkxS_I9fPFY189hv X-Authority-Analysis: v=2.4 cv=Z5Tc2nRA c=1 sm=1 tr=0 ts=6a2a489a cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=pGLkceISAAAA:8 a=O9wV_FzQyngHLK0UYg8A:9 a=QEXdDO2ut3YA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-11_01,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 adultscore=0 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606110052 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=lists1p.gnu.org; Received-SPF: pass client-ip=205.220.168.131; envelope-from=brian.cain@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, 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: qemu development 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 @qualcomm.com) X-ZM-MESSAGEID: 1781156232665158500 From: Matheus Tavares Bernardino Signed-off-by: Matheus Tavares Bernardino Reviewed-by: Taylor Simpson --- target/hexagon/cpu.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c index 0d6551dd5b6..edde4b1db84 100644 --- a/target/hexagon/cpu.c +++ b/target/hexagon/cpu.c @@ -495,6 +495,12 @@ static bool hexagon_cpu_exec_interrupt(CPUState *cs, i= nt interrupt_request) return false; } =20 +static vaddr hexagon_pointer_wrap(CPUState *cs, int mmu_idx, + vaddr result, vaddr base) +{ + return result; +} + #endif =20 static const TCGCPUOps hexagon_tcg_ops =3D { @@ -509,6 +515,8 @@ static const TCGCPUOps hexagon_tcg_ops =3D { .mmu_index =3D hexagon_cpu_mmu_index, #ifndef CONFIG_USER_ONLY .cpu_exec_interrupt =3D hexagon_cpu_exec_interrupt, + .pointer_wrap =3D hexagon_pointer_wrap, + .cpu_exec_reset =3D cpu_reset, #endif /* !CONFIG_USER_ONLY */ }; =20 --=20 2.34.1