From patchwork Sun Aug 22 03:55:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 501402 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp1060138jab; Sat, 21 Aug 2021 21:01:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC4EH9fAyXOpiYvj+jcybt9MMfzNibCjLPCRf6Wy8EDObun76m21PobUnUHmi3wCpANH9A X-Received: by 2002:a02:c8cc:: with SMTP id q12mr24321158jao.93.1629604872525; Sat, 21 Aug 2021 21:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629604872; cv=none; d=google.com; s=arc-20160816; b=H/mWcs5nxy7mOjiMbq32OGbhxASzE+ykbpWY8Z5ky5IcpTdtV6mJT43rtCPGL6Y0Ob EwBf+pFzEv5ReqcIYQoWGPrSqxh50TVioGd7NNMkcRvPlEO3ty+y/YCZPcroa9u8xkwt ri9q/5FvgfxotrmnK5ghijtfWOgVf+3PWfJFn0zn0MmtBiOjmEcV95btU8ooXYOsFjIh raRWVjnGSyO0z0H8/h3g6dEx4guvPqV8boTkLOitCOOQPFfe0WWjTrv3MHmD1Jx3jG2p ZSAdsNL8Et+cTvOQqjPbSf3AJsxCvu73c3P7qoYvuEJmibB3EUgYQK9f9tryd6O7V0CF Fbqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=ZSv5B26XxDivA72RLN37D0Ox9MVhtWDMvhKjh5v96B0=; b=VKe0JT+V4ttUv4fEj0RKyoluEvQNs7GLnltlFwe0dPvMvTGdTuDLILZMGSoWbZ4mYy SVhTp3umhgaTeir+13cnyJQfWB4ZVeUYfXHnUw7GrnPuQ2Zs+kLhZxfwav1LrrebfdS+ DyouxzdlnvJ3LvVzuAzwhz4XBHkQRsJK3grmGf8ddzjDtsko0RR902Z1ksItphfNbJYu oO9/09MwPDpTEbxEEoHVsBbu9fGBl5NuZqbhPNO+cFd8dgth3q9PeeCE/BKhp8OXQT88 kPR8wOXYmBc9SPH8+fSuDNsFQDb+2ojOFJGt+nwgMlegYZBDoyMVa7Hk62zsT9chUztY Ep0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ML8S0l2H; 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 z4si9947842ilh.138.2021.08.21.21.01.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Aug 2021 21:01:12 -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=ML8S0l2H; 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]:54338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHefX-0002AE-Th for patch@linaro.org; Sun, 22 Aug 2021 00:01:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHeaJ-0007oV-VY for qemu-devel@nongnu.org; Sat, 21 Aug 2021 23:55:48 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:56206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHeaI-0000dH-Hh for qemu-devel@nongnu.org; Sat, 21 Aug 2021 23:55:47 -0400 Received: by mail-pj1-x1033.google.com with SMTP id mq3so9789104pjb.5 for ; Sat, 21 Aug 2021 20:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZSv5B26XxDivA72RLN37D0Ox9MVhtWDMvhKjh5v96B0=; b=ML8S0l2Hio8vpNRfx8XETWrB3AouCdXVXAbkTjM/xFinjCqwFb8hbS9ScROBRr2OFX GSPP+aZTEEZErNzZeQ6PFjngAVaobpr+9Alh0m35sa9Yh3grdI1kEokC5aaSq9wDDYKB H8YI9D73M1wyxXcV+2SMgzX+UBSLEeU19QSWlrqV5DREeybEcPjwfcgg6RrKdGAd50C1 4RqGpCIIC1u334KhyZ544AqS5G+/zN1/yv5BZF6cXlkEzPJaXUpcrmX9Y13mMzf+DS+K PwkiWDboKuJU3xBdUjQRBCFQjILw1EYoGwXNht4b67HWoyFbuIKXJhbVppQVhP5DYSji tJgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZSv5B26XxDivA72RLN37D0Ox9MVhtWDMvhKjh5v96B0=; b=SBWDHx5JOEmh9TZS9PpPxfHXrtYtHjs+cvFO2nyKAXbavLhc5jGs0lUIX2eOiNzM6c pLu++cB/LonYIDvcCkdg86wrHn3EMFdq3HuLArnFnn8X4SJp+DYD4chjvNnKIBI/GGQ4 CkXaTSD3cO61PiF9+FWytFApNQmQLVef6WdVMD3VM7W6y4I7J9gGchX15XChHWZHWua2 0sJ+WQBPOi8dnG6NOirTF//rYR0S43tPpWO5oFfJmLIuXnKjAHVW2IaNe4MLecqzhrYZ 7yDcpFbxhrKzgSaNMiV7qd4AdVwXIz228SqHvukiaqJofOe3jnG+Pp7qulB/La+nrwv4 q4FA== X-Gm-Message-State: AOAM533+3UDdH73MQzgn6RR5xr7bX6+CUG3+P62i4DItA2Hoxm3Qkv47 t21kW7BhDqll0xrJQszXqEtOlat8S2BgdA== X-Received: by 2002:a17:90b:4b0b:: with SMTP id lx11mr13141355pjb.70.1629604545417; Sat, 21 Aug 2021 20:55:45 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id x12sm11560533pfu.21.2021.08.21.20.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Aug 2021 20:55:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 10/30] linux-user/alpha: Set FPE_FLTUNK for gentrap ROPRAND Date: Sat, 21 Aug 2021 20:55:17 -0700 Message-Id: <20210822035537.283193-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210822035537.283193-1-richard.henderson@linaro.org> References: <20210822035537.283193-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This si_code was changed in 4cc13e4f6d441, for linux 4.17. Signed-off-by: Richard Henderson --- linux-user/alpha/cpu_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 Reviewed-by: Peter Maydell diff --git a/linux-user/alpha/cpu_loop.c b/linux-user/alpha/cpu_loop.c index b2e9503c50..e5f78a439a 100644 --- a/linux-user/alpha/cpu_loop.c +++ b/linux-user/alpha/cpu_loop.c @@ -164,7 +164,7 @@ void cpu_loop(CPUAlphaState *env) info.si_code = TARGET_FPE_FLTRES; break; case TARGET_GEN_ROPRAND: - info.si_code = 0; + info.si_code = TARGET_FPE_FLTUNK; break; default: info.si_signo = TARGET_SIGTRAP;