From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87C58D277CA for ; Sat, 10 Jan 2026 05:33:38 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1veRbN-0005gA-Lr; Sat, 10 Jan 2026 00:33:32 -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 1veRbL-0005fM-Il for qemu-arm@nongnu.org; Sat, 10 Jan 2026 00:33:27 -0500 Received: from mail-ej1-f42.google.com ([209.85.218.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1veRbH-0007Z4-Dj for qemu-arm@nongnu.org; Sat, 10 Jan 2026 00:33:25 -0500 Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-b7355f6ef12so904762866b.3 for ; Fri, 09 Jan 2026 21:33:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768023201; x=1768628001; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6ZJM9+Qb5R3H/JqYUjp/RvWtsDXW5WPQG7eijFBqulg=; b=t5HgGIe0erXyeScKQs6rvcWItkCKV6zKybzk0fKyP3gMWF0DtwxHo50o0A8dYXzvST wCrROq3lByoFGxmispZRC1AhZgig4Q3nXlTn2bIUkH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TP id a640c23a62f3a-b844537804fmr1121005866b.44.1768023201181; Fri, 09 Jan 2026 21:33:21 -0800 (PST) Received: from tpx1 ([47.64.114.194]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b86fee09163sm5120966b.26.2026.01.09.21.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 21:33:20 -0800 (PST) Date: Sat, 10 Jan 2026 06:33:17 +0100 From: Thomas Huth To: Alex =?UTF-8?B?QmVubsOpZQ==?= Cc: qemu-devel@nongnu.org, Aurelien Jarno , Jiaxun Yang , Bastian Koppelmann , Marcel Apfelbaum , Zhao Liu , Peter Maydell , Laurent Vivier , Philippe =?UTF-8?B?TWF0aGlldS1EYXVk?= =?UTF-8?B?w6k=?= , qemu-arm@nongnu.org, Yoshinori Sato , Yanan Wang , Aleksandar Rikalo , Eduardo Habkost Subject: Re: [RFC PATCH 02/12] target/m68k: introduce env->reset_pc Message-ID: <20260110063317.38311d23@tpx1> In-Reply-To: <20260108143423.1378674-3-alex.bennee@linaro.org> References: <20260108143423.1378674-1-alex.bennee@linaro.org> <20260108143423.1378674-3-alex.bennee@linaro.org> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.218.42; envelope-from=th.huth@gmail.com; helo=mail-ej1-f42.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Am Thu, 8 Jan 2026 14:34:13 +0000 schrieb Alex Benn=C3=A9e : > To transition CPUs to use the multi-phase resettable logic we need to > stash some information for the reset handlers. Arm does this with > arm_boot_info but for m68k all we really need is the PC we should > reset to. >=20 > Signed-off-by: Alex Benn=C3=A9e > --- > target/m68k/cpu.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h > index d9db6a486a8..fda015c4b7b 100644 > --- a/target/m68k/cpu.h > +++ b/target/m68k/cpu.h > @@ -155,6 +155,7 @@ typedef struct CPUArchState { > =20 > /* Fields from here on are preserved across CPU reset. */ > uint64_t features; > + uint32_t reset_pc; > } CPUM68KState; Reviewed-by: Thomas Huth