From patchwork Mon Feb 20 18:40:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 655122 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcd:0:0:0:0:0 with SMTP id e13csp1552775wrc; Mon, 20 Feb 2023 10:46:29 -0800 (PST) X-Google-Smtp-Source: AK7set+EBU63Yn5rfMFqy+ExwTf62uF0M7Sy4Sz64pBSK/oSfht0wRsHz/Mv5Q/TTr78y1k3S9mK X-Received: by 2002:a05:622a:138b:b0:3b9:d185:d13f with SMTP id o11-20020a05622a138b00b003b9d185d13fmr2399600qtk.54.1676918789708; Mon, 20 Feb 2023 10:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676918789; cv=none; d=google.com; s=arc-20160816; b=x2c+vjRZlpPb9Ip+I243NTC6yoYCzubja03yZjPzSLHS7TVGNi7CI4DcsGe0lxAap5 Oiy/Co8TColK2pnJ8RiEoZBDtkOx1RNcb9a1fPJyxanGFd2ATaeW2l6C698GIyKEbybl m3uILnqd1oNAOuRd9iGz6DnjAcGNfdK1oOfHq51YvDC5t2pD485iQBypKDDEiTokfcNO wttaTOMTH1VAU3l88g2OFUSm2+mAGO/FmQ7JOpISsMJgHx5s7Rxx1rnDdF82ebSf4B2q myI/hNXKirjfJHY42vQPa1s6EgFFIm5dhC0gyxSM00nMqVtp9NXsXR9djwMiPcmMfgBy QO3g== 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=CrQyJxQBvQOf9t0/3BNEJXqkIzID3QnXa0o6v2T4iMs=; b=AJ+8oqoB0aTAdGrWURARi9uaZXSmDe+DOy5Lyqyqkb+HZL6/PmxKP1jxxQi7ZV8iYY 6HqL135jsbKG3R3p7eUWgowEzzynf9Unb5fpiNBnoTNDSPjOZs0tvNlIP+CTQsCwDYNT x6eNJAuo6S+/COjb4mxJ8SXMsnR0ktGzoAnQIHNid80eP9lrsThR5S5+oXbOoomxC4nf cVAdZ/Wvmv/vRjzSxMSAD/lF5loJQHihJ+4/wnMLvbvCqDjai2sZFpgt79CKvbp29b7S w4aeiQK10m/N5dPU7Ge+7Hri43hq7h1qY8/o/KMeVi90E9TmLN/pn513UQjQHaCJ1IjV 04XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q4DOhCpy; 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 n190-20020a37bdc7000000b0071f40a59fedsi9511042qkf.653.2023.02.20.10.46.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Feb 2023 10:46:29 -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=q4DOhCpy; 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 1pUB89-00063k-R3; Mon, 20 Feb 2023 13:43:17 -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 1pUB6a-0004a3-Ez for qemu-devel@nongnu.org; Mon, 20 Feb 2023 13:41:47 -0500 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUB6P-00048v-HA for qemu-devel@nongnu.org; Mon, 20 Feb 2023 13:41:37 -0500 Received: by mail-pl1-x635.google.com with SMTP id q5so2501759plh.9 for ; Mon, 20 Feb 2023 10:41:26 -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=CrQyJxQBvQOf9t0/3BNEJXqkIzID3QnXa0o6v2T4iMs=; b=q4DOhCpy6vzv+r7s6BaMAKqC5sK6hRrQd6pMy7yWD4FMOkDPSul7mBmVcmUksb6qOB 5g8NYMwYPM5+VwV1R9s0MpbbgzG/Dt5H9JhQZvGjrUnuZyeGasUPfPRRcHBxojlZqrh5 9fQ4YVHh0O8/LSGXyVYoQcHBQc6u/XceUqoiiI3R91+0ew3z4fCBodl+deYaqfT0784q WAF+rcsJAaZlm6fjxyjPOSGCWhBk2uxa3KDtGX1KkLlapTrpWHK7Co1Rk1+S8bx17Te3 pEFrzKLqShb2KSucb9M89v8GyGl9ETouSKZjvwuhyPx4uszRDsWqumMFe6g6UIRvsF0r oa+g== 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=CrQyJxQBvQOf9t0/3BNEJXqkIzID3QnXa0o6v2T4iMs=; b=yCJZz0AEAOQ2Kfyo1IKi84bCzigFjYIw5MvyvZPNPXPLPn8krEIx4ir6Aihy44PZSW oDEso4HYpljQHMS7UrnsRPSwNPMSUA5HDLJ9FsCK1HsdK5XRrj2KV6B/PDx5ZRCRIYsg QJet4d/mJF59oeXFZiyhN2oyznmUYl9EPCSst2HRR+P2ARlzwPIwWlj3CXG2TqyazQEx Z6AI1AfWq2F5sLbNgvbVamoXWhdrhMmmaUMa+846+msAwHR79SORBRciequyMBcDPUlS O+5hey3tTxVJYCremPjzD67x5qGbv6SSYunmIfvUar1/KqjjWp/V0OdrycHdlVFvuP63 mRsA== X-Gm-Message-State: AO0yUKWSbwB719M++NJiySRkseLB9fWR0ryXbmFClqb0FwIw86DbcdCI Ueo8CNSXHvaK0GtmEeomSq1FOUCAA0NU9seB6ac= X-Received: by 2002:a17:902:ce89:b0:19a:9434:af30 with SMTP id f9-20020a170902ce8900b0019a9434af30mr5025644plg.18.1676918485373; Mon, 20 Feb 2023 10:41:25 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id jk20-20020a170903331400b0019258bcf3ffsm1911676plb.56.2023.02.20.10.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 10:41:24 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: thuth@redhat.com, qemu-s390x@nongnu.org, Ilya Leoshkevich Subject: [PATCH v4 16/27] target/s390x: Don't set gbea for user-only Date: Mon, 20 Feb 2023 08:40:41 -1000 Message-Id: <20230220184052.163465-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230220184052.163465-1-richard.henderson@linaro.org> References: <20230220184052.163465-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x635.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=unavailable 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 rest of the per_* functions have this ifdef; this one seemed to be missing. Reviewed-by: Ilya Leoshkevich Signed-off-by: Richard Henderson --- target/s390x/tcg/translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 160c5eef59..d8dad71814 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -396,7 +396,9 @@ static void per_branch_cond(DisasContext *s, TCGCond cond, static void per_breaking_event(DisasContext *s) { +#ifndef CONFIG_USER_ONLY gen_psw_addr_disp(s, gbea, 0); +#endif } static void update_cc_op(DisasContext *s)