From patchwork Sat Mar 23 17:29:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 782048 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp457711wrt; Sat, 23 Mar 2024 10:32:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX+bb4PqXpJvc5a85lOonVVFMSIHAWwypym6xHAGGTPxtxXsHoCx2HKtGgE2tZDcbwgfK44T4cokcYKrr+80JAE X-Google-Smtp-Source: AGHT+IEpz9C/zTCp16espJOQN3PzOuWfq1fjOze0YLxxerkKK3cjSJla/oWEYvWW6bCDeA3eHIEu X-Received: by 2002:a05:6214:2249:b0:690:f1e3:ca7c with SMTP id c9-20020a056214224900b00690f1e3ca7cmr3077867qvc.16.1711215126367; Sat, 23 Mar 2024 10:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711215126; cv=none; d=google.com; s=arc-20160816; b=sPG/TY7amjAJ9yef7cP+rQfWsDBUehN7EYyx/qhautEggd5SngapZeSRRMszhCAUkK aJKRFkPTDQzcs+46Flx2zZlTOU62GbUGQ94+7CrdkPRUEeGJR2qloDywWPKOHN9+lzib wpg9l+IxsfQ/WOhibMJdq10ShXSoYFxJ3DngJErWR7czQLl/1tn2/uc4gWDM15t+iN1A H7GXNtfZihMv7sjzVPi/s9aC8L/dm7I46cWxBi1MvI4koH8+OIkoJWJH//NQ9e8Tra17 hv1hHrqfQbV9QRNwN1LNbihEiR8I+zPdEWN+lx/sImdLhu9eoSk5jIuHWUD/4MiNN1yo 3XVw== 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=RF8MIQWUQ8ggE/MlTolxsgSJT5vy8jgQgVDGU2A+dUw=; fh=odZjvFrgMDmfTa4Yn/jVKLPsclS8EzRuPmYcS/SNwLw=; b=CZDMipBtUXNYpbfxxVzCHR/VlRfrf5vqvIT+R6dFJ5N4oY1mye0HZGR5UWPbLXmdp1 MguUrBgE0/lURcTrUAeGhyH9giXiFKolxl4H7vPwtVRGx4Z57RICAYZg5o1sMMojmd/Z C/ugB9mfMRXu7iSoU4CU20l8ruZSYQu32L1SEXZmmfOMGJaubwQusLyN+dstPflb2+at 6dVUMzBdUtw2+xT00/5uuIet/peqn3oxA8jxjXm+9lfV27ojXSzD1M3zU3cB4nUZTwEn 7Z+H5r3x8QP+vf7Q7wkB5CIGDkNThxevIzKNqu/iqyxthcC7kOAdNurqbJ0KLxTkSMEi xQzQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qO0SLNpj; 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 r5-20020a0562140c4500b00696820f2a2csi681996qvj.76.2024.03.23.10.32.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Mar 2024 10:32: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=qO0SLNpj; 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 1ro5C7-0002l9-3a; Sat, 23 Mar 2024 13:30: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 1ro5C4-0002kU-IR for qemu-devel@nongnu.org; Sat, 23 Mar 2024 13:30:08 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ro5C2-00065f-RX for qemu-devel@nongnu.org; Sat, 23 Mar 2024 13:30:08 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1e0b213efa3so628515ad.0 for ; Sat, 23 Mar 2024 10:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711215005; x=1711819805; 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=RF8MIQWUQ8ggE/MlTolxsgSJT5vy8jgQgVDGU2A+dUw=; b=qO0SLNpjo2ernSZmuk9kzJeQwnm9pqZde5znaOZpLHKzGXeK8z6ffCKtRl8y8wUb5z JNSc6e3ivhcvrcSMOup+/2trKi03n7MZMUSsPkGgnqTQ0NTew8GoMxWRna0568HTVcJ/ 6HY1czKEuCjPqgqoZLSui6gCEtFyqX72qOCKYXuaQt/rbNf9UGjS/Br4vfjCF3hbK305 IT7GQYRASh50OtuD+sVZTUMmzYSuFG4DeL1BvhsBUAq15L2CRSJ6/RjmN/sgqHr7+n0s 9opb5dxZ/CuvYmGZOlZK4wEPjPGRsYwP4P+OqliG6z818eP07d6mlUSrUyqdBdOf1lCe ngNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711215005; x=1711819805; 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=RF8MIQWUQ8ggE/MlTolxsgSJT5vy8jgQgVDGU2A+dUw=; b=ml4DMcic0Xr2NV8xCyWvTR9KXLEPQILXka1t1hG6sONC1GMjIOdVcXwLaniLbdAT/0 kbT1FC87il9o4/QJD6+5fElqi1Zcj7lJpdNalrRPGVhlQ0zaAAC/wAsFyfKvUXghyH0Q EsfmStSPQKd/QpGiFHsxyHJRLPfZXS0V9HlLLGk2ZoqCWBvlf6GSuubdr25hwCfT7z7c Gh+jB++Old8fj0hWOMEiC7yglJjFywwfM4KaVR5NqdnjmUVtU875xTSz6ll+srD4bg++ 6g2oQ+EzPU8A/GlrzDu7klvzfkGcTyZqE79GBkMm+iF3WxpkUsCie6pXR7I/iz8rcY/I UaRQ== X-Gm-Message-State: AOJu0YxijKo3qignh++dk20hlC42FkC+c9mBQfxqxf5WtQcBR7WB8R7M LCliYF9kNYnbt8HzXO+LkEkfMDZSYK9q/eG5dd+RJSOIc4zOarCxs5R0dKh+YBMIu3DmTIx8YTg l X-Received: by 2002:a17:903:442:b0:1e0:319a:2677 with SMTP id iw2-20020a170903044200b001e0319a2677mr2720704plb.8.1711215005543; Sat, 23 Mar 2024 10:30:05 -0700 (PDT) Received: from stoup.. (173-197-098-125.biz.spectrum.com. [173.197.98.125]) by smtp.gmail.com with ESMTPSA id n15-20020a170902d2cf00b001dcfaab3457sm1811758plc.104.2024.03.23.10.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:30:05 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: svens@stackframe.org, deller@gmx.de Subject: [PATCH v2 5/7] target/hppa: Mark interval timer write as io Date: Sat, 23 Mar 2024 07:29:52 -1000 Message-Id: <20240323172954.1041480-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240323172954.1041480-1-richard.henderson@linaro.org> References: <20240323172954.1041480-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x634.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 Signed-off-by: Richard Henderson Reviewed-by: Helge Deller Tested-by: Helge Deller --- target/hppa/translate.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index ceb739c54a..8c1a564c5d 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2162,6 +2162,9 @@ static bool trans_mtctl(DisasContext *ctx, arg_mtctl *a) switch (ctl) { case CR_IT: + if (translator_io_start(&ctx->base)) { + ctx->base.is_jmp = DISAS_IAQ_N_STALE; + } gen_helper_write_interval_timer(tcg_env, reg); break; case CR_EIRR: