From patchwork Fri Mar 29 22:30:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 784097 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp3429117wrt; Fri, 29 Mar 2024 15:32:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX+xthUIuWrAGYy/oacjnQqh/PijJM8urol+IVQCPANfxAG7sbcRu+DAtP3ikKm2n4f31ft3nF08BiEzvAK5wXM X-Google-Smtp-Source: AGHT+IEJfaQ2+T0sf2yImN+m8YCpVJV4ytUyksxh1Xg6HaJ9WtZc4Ty1qgRzHUXiMlo3n4vIr9lm X-Received: by 2002:a05:6122:36a7:b0:4d4:1cb7:f57a with SMTP id ec39-20020a05612236a700b004d41cb7f57amr3584138vkb.9.1711751573907; Fri, 29 Mar 2024 15:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711751573; cv=none; d=google.com; s=arc-20160816; b=GdIS1bg5tkLmuPCe42BbcxKoXFRc7Z765F6Y+kU/Qh5OvqoFs7AkQ+eAfE8tm+qVsh /7GNilpIDuXGSNPCPIqy+6OEuzEnr8EkHp2v9+LeSntDu5bzBhrZFZsWgBKbUgrbcLfN 9iiDRV5L2VIfmlfiZPsOAh4Z3nKM2ALF9IN5tQKZ2e5k/5J2//jKkI/nQMT7uab6rjmy ghSR2maqcwE8OFq4dEXIqcHVvdmq08dj7qk5KSEnQqyPD6LLnxZ/PsZPE2ATx87HpoOd iQQyQ2huLjE/w90IhzBRh1EiplllT5zR7vohWzAErySNB2+78DN8qYnD4MlkVOECM3Rv nx+w== 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=4HCtEnOimuoA4trumoTnA/CP5fOcqoSfBq8bXqNwYa0=; fh=wDljmxUHXfz9MGj2//jPHYRc53BMWF157v8rVKELrf4=; b=hM8opYLp+huJvU2NvlxF4137ZC6nI/zqat4Twl3uGwwJ+3RG4HeDTH/K5O7VaJA40G pSaDIegJ3PZGxm+8srXGEUxeX1FCuq7qtUAFFjVvPuZM6loGOwyWK2WZwIopABtFf+g4 xNz5hwnjz3IJ+FFs46KQVXUncycYn57Yc8EclL1/BpeOedI6HyLxeyDqGu4X8k/6Ttz2 Evvbc54a/PWoIT3niEswTMf6C/PlI5ixiLJ2usaKgh9sbQh/XY/cvQqAM/yfZYEqK+2/ O6KzrOhzLzkN9Pi/uRzCAlXnl2B1jyzGib1j0S/kaBgi3EF99CsxBNft+4GU0z/6iNa8 iSxg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nRFtev9E; 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 o2-20020a0cecc2000000b0069689b5d5basi4713889qvq.341.2024.03.29.15.32.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2024 15:32:53 -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=nRFtev9E; 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 1rqKl7-0002Zr-1m; Fri, 29 Mar 2024 18:31:37 -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 1rqKkv-0002W7-5H for qemu-devel@nongnu.org; Fri, 29 Mar 2024 18:31:25 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqKkt-0003VV-M8 for qemu-devel@nongnu.org; Fri, 29 Mar 2024 18:31:24 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1e0ae065d24so21059115ad.1 for ; Fri, 29 Mar 2024 15:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711751482; x=1712356282; 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=4HCtEnOimuoA4trumoTnA/CP5fOcqoSfBq8bXqNwYa0=; b=nRFtev9E4MYBmpSupyLNQR7Dk+3wfBjLJMQdAXsWpyuell2JQCsGSjK3ciDTotVVfl J0duTcIhCQtypLAHSovrnRaar/0UsKM1eoxQlsebBrt9h1esywaMxv9DUqSCMY7747Zn n7UL7obZaJqxLa5t7fYXODj06MGtSLZJMu55L1gJNnMKWYT1PjKudDYJyh4zKVXvXXyd xephYatKRdBlsYm18NE/VFT4naO6/YfNnTfXg2k4cKE3JDhZPkJhIDaijQKwU3Vd7nvc SqfJL7r41AIzEGCRV0NHE0dOtvCtji91wALytnSvzniFUMSNfGHudhPsyt3htV3Lz0B6 8q2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711751482; x=1712356282; 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=4HCtEnOimuoA4trumoTnA/CP5fOcqoSfBq8bXqNwYa0=; b=k0bTBZTBVrIjmM/rc1eC0ifGROKGqTYFcXq/8h+np/bYU/K+IS4+1sP+i5cpx9xDzh 3uvOA0aslNE2C2eXZhcCiRwFXBQ4fOuoYouTMBFx73HqLtm6vFQj94gHAu7UvZY89lQv NApAffdShEB+nCPp45x2hcC7L0MswBwyYy3Jfkvz90N58ACarcsPEUbg/sBup0T/hkkh PVJu9mdDantgV+PELzWMFdSf+ZMtnIMwUlrgLXMm9BmkvIA0Z4HABSuldq3vHujf0Mt2 jiExIzC2pBSgJ4aUmCwDphKABYMLi0WKQpE+ElKbnbVsWzq0sq2XdCpxdSVTCzXqSvx7 +q8A== X-Gm-Message-State: AOJu0YzV6TybjD8edwxrAK8JqYWEgzf6xKJ8OGiUxA+Gg2vCAxXE3tru bpUzXzGjapAxHVFwWmm8vRLP/zEm+eJZxPJ09f34h6MTDcmI8gFK87+6fhDITP2ydQwgOlamzvT U X-Received: by 2002:a17:902:bf04:b0:1e0:115c:e03c with SMTP id bi4-20020a170902bf0400b001e0115ce03cmr3345989plb.53.1711751481781; Fri, 29 Mar 2024 15:31:21 -0700 (PDT) Received: from stoup.. (098-147-007-212.res.spectrum.com. [98.147.7.212]) by smtp.gmail.com with ESMTPSA id f8-20020a170902684800b001e09b636cafsm4000955pln.287.2024.03.29.15.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 15:31:21 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Helge Deller Subject: [PULL 05/18] target/hppa: Mark interval timer write as io Date: Fri, 29 Mar 2024 12:30:58 -1000 Message-Id: <20240329223111.1735826-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240329223111.1735826-1-richard.henderson@linaro.org> References: <20240329223111.1735826-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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 Reviewed-by: Helge Deller Tested-by: Helge Deller Signed-off-by: Richard Henderson --- 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: