From patchwork Sat Jan 7 07:51:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 640085 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp1181110pvb; Sat, 7 Jan 2023 00:16:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXsU0FnTkA2N62mb2vP+wEsNqnjq2OljHYdaw+Mxn7DxQSnlE5c/6w+iT8JrNzjL5hNHS/t2 X-Received: by 2002:ad4:4c11:0:b0:532:21f8:ea76 with SMTP id bz17-20020ad44c11000000b0053221f8ea76mr3994243qvb.44.1673079399820; Sat, 07 Jan 2023 00:16:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673079399; cv=none; d=google.com; s=arc-20160816; b=oRt0v86/ioGKjBEZjx57ORqLGYHO4dcSCMlfMFUsXj6Qp7tNHJS9dMroqiByDx4GSM eJm368Otg5nxcR6uW7hE1/kV/LURZ1j39CFUqDLsilgPgiRWZ07R4E7jfta260MkPveB fHP7AkOk5LnRO9bnEqPY2rxsCSSBmUQayDX5XF6skk4UUi4uopVzekvBnhbHFglrO7T8 YnK/PE68oBgUe0Vs+qEsoALh4gGCZ+T4jOFdD8ZEY3cEmePX2wQioMaPGzYp7UxjoKiX o3r0FWCd8mNm7UhyMXK+gUo3UjWColODkvlEyrsftjl7Tyy/fsAuIWhPiEvwePdajHzS K5CQ== 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=Pl6m9fDdisq4GmQDkEZFQS6azRJHS2Fs7LoduCza5oY=; b=HnnqcD7imzT7bRqegFa+1kwC6rq3WKhqmlkD3uOv0DRQW5ZU/WYzRPKf5PIvN1H2UZ em6g1ooLAQle3fn1fujuTGSVRt52F7ZzwovAuKAnrKcZGSUG3fdF6+5HaTVGDTl29prs SeB1NX/TwkKGmeM6qy74kIGTfvGbQfn/vDh73oYt4U04I9ItDrIsZ414voxXRdnMdcyL 7p4jFsqGTgO0KDMNj5nboK4Qnsz8lSn0HNcrfaGaVR0bq9gW0AQilWunsDzc9wpGJpwO FqKKOtRt+etT1IqU5VrXaXkSaEijR2xiWGtmEBVYMKDCEnkDMcECD6uEGkwBNXoZhgCJ YkcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c5Io0GZF; 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 x25-20020a05620a0b5900b007051ae48312si1833009qkg.651.2023.01.07.00.16.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Jan 2023 00:16:39 -0800 (PST) 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=c5Io0GZF; 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 1pE3zO-0003hX-9x; Sat, 07 Jan 2023 02:51:38 -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 1pE3zI-0003fL-0r for qemu-devel@nongnu.org; Sat, 07 Jan 2023 02:51:32 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pE3zG-0004Bb-2E for qemu-devel@nongnu.org; Sat, 07 Jan 2023 02:51:31 -0500 Received: by mail-pl1-x62a.google.com with SMTP id g16so4046332plq.12 for ; Fri, 06 Jan 2023 23:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=Pl6m9fDdisq4GmQDkEZFQS6azRJHS2Fs7LoduCza5oY=; b=c5Io0GZFYb5SM9ueisdezTKuETHkPzDUI+MQNYji5BamQkL1CtOlc5OrbaQ43UvAlC 6n3onWfMRcps/4wjIy2wF6w8EEe8QzvL1U0lfskiRJF0u9ebdkInjL3kbzsXxw6gfmB8 oZgTbJpKO6zKm6qp6dttn4JKA5sq/R22ZXfINdyCjM3MNx4r7M1nX9hvxKnJizHz4YN6 K4LQdnomCFGz8HzhNiBt5+DMZoLR0YDmrTdmKQaKX32suipiauXNkBpsWcNJxGMxG9MG UyxqzFjdZckDq7JFbAAWhHdZ5eQJPZhE3c/yvxz8h5Hj2b7Oq6cCIKJN8425wNUYuyxM gkMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Pl6m9fDdisq4GmQDkEZFQS6azRJHS2Fs7LoduCza5oY=; b=Kv/Nd9Kza+7MPsrYIvXpk63ev1+hLXUC3N7Q9bNtDKMuDTFHbV5+VFH9jMAw3PnTQ4 X75fLf9RXR7M8xXyBTXp/elfHinpaP24MsfovoYBmrvJNE5NxCslwqqZFSFt7CTNb8h4 ucIeSPFphVoh6YyjOCPsu9PslJQoHGfuX5tI7u2eDb6ff4jfAlS5ocR76nGfqv+9OYEF EvAaQm9v7pv1hC0BGUyRAQD9qYZl4BZ8g7JIk2bP1FNXxANfQHkTNMLrM2PQbCFWBG2c qpEaqJYEapPW4USxwJhb74IKdsmBVDCI1nK8ruQY96ISevQeYrtcTBwHWpNmMVMe9JZe 31fg== X-Gm-Message-State: AFqh2krCGzOPss8HxZK3VBgCRdaR8XbS+qygGFff5H6Zn36UkdFCzytR UmuG1RBqdQqMlDVXqZtmPc8SIgc0F3GhA7/3 X-Received: by 2002:a17:90a:f10d:b0:219:705c:7193 with SMTP id cc13-20020a17090af10d00b00219705c7193mr61191910pjb.11.1673077888590; Fri, 06 Jan 2023 23:51:28 -0800 (PST) Received: from stoup.. ([2602:47:d48c:8101:9d81:5b04:51d7:acae]) by smtp.gmail.com with ESMTPSA id bj5-20020a17090b088500b00212e5068e17sm1945119pjb.40.2023.01.06.23.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Jan 2023 23:51:28 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich Subject: [PULL 09/27] tcg/s390x: Remove FAST_BCR_SER facility check Date: Fri, 6 Jan 2023 23:51:00 -0800 Message-Id: <20230107075118.1814503-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230107075118.1814503-1-richard.henderson@linaro.org> References: <20230107075118.1814503-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.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 The fast-bcr-serialization facility is bundled into facility 45, along with load-on-condition. We are checking this at startup. Reviewed-by: Ilya Leoshkevich Signed-off-by: Richard Henderson --- tcg/s390x/tcg-target.h | 1 - tcg/s390x/tcg-target.c.inc | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/s390x/tcg-target.h b/tcg/s390x/tcg-target.h index 31d5510d2d..fc9ae82700 100644 --- a/tcg/s390x/tcg-target.h +++ b/tcg/s390x/tcg-target.h @@ -62,7 +62,6 @@ typedef enum TCGReg { /* Facilities that are checked at runtime. */ -#define FACILITY_FAST_BCR_SER 45 #define FACILITY_DISTINCT_OPS 45 #define FACILITY_LOAD_ON_COND2 53 #define FACILITY_VECTOR 129 diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index 29a64ad0fe..dd58f0cdb5 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -2431,7 +2431,8 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, /* The host memory model is quite strong, we simply need to serialize the instruction stream. */ if (args[0] & TCG_MO_ST_LD) { - tcg_out_insn(s, RR, BCR, HAVE_FACILITY(FAST_BCR_SER) ? 14 : 15, 0); + /* fast-bcr-serialization facility (45) is present */ + tcg_out_insn(s, RR, BCR, 14, 0); } break;