From patchwork Thu May 2 05:44:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 794095 Delivered-To: patch@linaro.org Received: by 2002:adf:a153:0:b0:34d:5089:5a9e with SMTP id r19csp78201wrr; Wed, 1 May 2024 22:46:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUbKJgVbBvdzV7jANzLAx7uLCaM3EFkEdX1yvO8xjKi96NIQ/ebIKAeRKIaY0P4dehiBKCBjmQ13o031hoRrllt X-Google-Smtp-Source: AGHT+IH71SJ36fypO1wX06DCh290uyOUAsP5Ur8d9eJGV6GJAryEzo6Flc5LIJ5btaWJB0aqSgEc X-Received: by 2002:a05:6214:2024:b0:69b:5a87:21cc with SMTP id 4-20020a056214202400b0069b5a8721ccmr5934458qvf.13.1714628815342; Wed, 01 May 2024 22:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714628815; cv=none; d=google.com; s=arc-20160816; b=sFOrMD2sGaTvrSlyPi+HWJ/mz3+CkzE55Yftr/e83LlvqlizLKzSyqDyi3uRjbtPw7 pqdxZS59wL5xUfEleZWgL7UdOux8RVq5hOXDcGpPlt/H4QqTDUbD4XcVzCJcZYiwV9IR 8J0lfMew0o6bzs+JHf4MDZ4X7OHJtUya75/KS53eRQBLzT95iFIw+rTRBGSDtIB9HMTf wqVx/xJWmvfR4hFtb2hGBEPu2Xc8fi3/qlmT+4f96WKShDXJ0EpjPc2ATdi7QSkojKL6 ZOyYkVZysbRQ/w+uwFqvU7qqf7MTuWMvwE20kCifkoFRpOwYUbL3PhMWGiLfQpNynT3e jvpQ== 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=a6kRDMy0sQWoEwNjZBte06pFXGZWoKm5T0LNfV/1PDg=; fh=vvIHVEExtoxBacLa1w/xvEOdET6IjbTxlMJ0GExg4HQ=; b=FQ0XMAFa55M9EUAoxAN49Wpd2bF63jIhKP/wflOjxRyb2mtyIHa/fNZluM38x4Nhp2 pl9fSdhgWz79Yao51rbWa/l+Us0mpC69+ywIeH5eKWPJSAHZtj6gyHMKGVZ29aO+H1AT zwqad938IexIdAPwDOaVhnOJ/GZWZ9X84Tyn58qrMoqYOtk/DtdIFvlAnL5FDV8feUzv +woWdRgRPosV0zmWkbb6lMby9k96tQeyP6utEe2PyeleePRxpbeWPi2DLcFOnaY49qoQ Ov9dM+DlAOPmZefFiWmYV51SullqaXSXaohKTEPq0uGWdKML9ycxV25xy/rGHR4QbMha iLOA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e4+t25D8; 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 g12-20020a0562140acc00b006a0d4b916d7si249182qvi.155.2024.05.01.22.46.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2024 22:46:55 -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=e4+t25D8; 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 1s2PFL-0008Tu-2R; Thu, 02 May 2024 01:44:43 -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 1s2PFI-0008Rd-Pq for qemu-devel@nongnu.org; Thu, 02 May 2024 01:44:41 -0400 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2PFA-0002ey-PV for qemu-devel@nongnu.org; Thu, 02 May 2024 01:44:40 -0400 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5ad21f3e5dcso5165902eaf.3 for ; Wed, 01 May 2024 22:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714628671; x=1715233471; 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=a6kRDMy0sQWoEwNjZBte06pFXGZWoKm5T0LNfV/1PDg=; b=e4+t25D8vJmeBiMOXVuMvKIZJGvpcGKaU8p3cn3wYGDViXiBhi1CXBfLldD8XjBS2f 9sVKOGq7Gs9poDpSPnpd8Fel2vJSUw6PJxYK9hQdif+Jwt+MPux3MpkSTj9KUNVEIcGy AfeD0yBEGLwiV/c3wVB+DQ/ydPu2cbZL/XBQ2AuKMjvdFz+Fpk4oh2UMkKpxGcktnD44 kYvLqFmzOg/5+b08SxchZqdesQr3BUORI5OfzhePEv+WucbfEl8IW1Q7DL1d36x5Txeu M3dfC+imMaFTecQsHu0/vK3ka5KxnjE5e1RYV8mxq4bP3XbicZ7aQUzjYNwswddAjf79 hhIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714628671; x=1715233471; 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=a6kRDMy0sQWoEwNjZBte06pFXGZWoKm5T0LNfV/1PDg=; b=RcPPK5HGT8w0KOIcumKqFa86a9iLDoDQf8G8BhxN58/erCLKLrY0aB1FBPfFoDH2QA BPpdW1vO37e2rK8NoeegG61rajwKjcL8nhKbB8c7ewHv7yFNo1HgQaGaEm+I3xN84sty z3EtPcBbabe7BiidvQEOPwsGbu81trEZCeNM6dOCsp+26VuisRdlqc9wi7gWMiyQGTS6 klUfa/LXx0dmn2ZLQp0GDD1xcggNPNr2LgBKV9ZPy4f5v+SEptXWpDEz9ZaU31w+Xyd+ UJXvpqxIaBbzXv9AwU89h1Bv8nk1G3dqY9h3qWJAQL0U85VErq6zKvJobF19/vodgHfn GF2A== X-Gm-Message-State: AOJu0Yy47WLW5jd9EnGD0EyrCakqjMbK85YpRKnI7kk3wunj5yT+YlOY fgX6KbdHOqwJtoxibKiu6ayfS6UqEyTUv2p6Pn4Rbt141mfLK1MDhm7x4os3RiWoFmMD/eysrym V X-Received: by 2002:a05:6358:3408:b0:18e:b11b:e770 with SMTP id h8-20020a056358340800b0018eb11be770mr5227948rwd.0.1714628670780; Wed, 01 May 2024 22:44:30 -0700 (PDT) Received: from stoup.. (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id e18-20020a656492000000b006089cf2cde5sm294401pgv.26.2024.05.01.22.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 22:44:30 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, iii@linux.ibm.com, david@redhat.com, thuth@redhat.com Subject: [PATCH 11/14] target/s390x: Fix helper_per_ifetch flags Date: Wed, 1 May 2024 22:44:14 -0700 Message-Id: <20240502054417.234340-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240502054417.234340-1-richard.henderson@linaro.org> References: <20240502054417.234340-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::c32; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc32.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 CPU state is read on the exception path. Fixes: 83bb161299c ("target-s390x: PER instruction-fetch nullification event support") Signed-off-by: Richard Henderson Reviewed-by: David Hildenbrand --- target/s390x/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/s390x/helper.h b/target/s390x/helper.h index 5611155ba1..31bd193322 100644 --- a/target/s390x/helper.h +++ b/target/s390x/helper.h @@ -361,7 +361,7 @@ DEF_HELPER_FLAGS_1(purge, TCG_CALL_NO_RWG, void, env) DEF_HELPER_3(lra, i64, env, i64, i64) DEF_HELPER_FLAGS_3(per_check_exception, TCG_CALL_NO_WG, void, env, i64, i32) DEF_HELPER_FLAGS_3(per_branch, TCG_CALL_NO_WG, void, env, i64, i32) -DEF_HELPER_FLAGS_2(per_ifetch, TCG_CALL_NO_RWG, void, env, i64) +DEF_HELPER_FLAGS_2(per_ifetch, TCG_CALL_NO_WG, void, env, i64) DEF_HELPER_FLAGS_2(per_store_real, TCG_CALL_NO_WG, noreturn, env, i32) DEF_HELPER_FLAGS_1(stfl, TCG_CALL_NO_RWG, void, env)