From nobody Tue Feb 10 11:15:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1579222153; cv=none; d=zohomail.com; s=zohoarc; b=NP83pB3pvuDE2/qgDnjY3+Z6Paz7mz2ywOTXz8amYvQyVEkmgA9qclf6zRtq5aGeuTtw2l9amiXqrQglL4eomYGU69ZXAv7RlFfkOHXQOceWkAK0TOmNLECt9tM2YT1HS5JqhlahZNYMGGQdnyEVruNBNzR6FrQiQrbsNM0TKzc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579222153; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=a5HiIt6oABJ3BG1J/pu1JEnVUU32r0DSl4PyBFcvPG8=; b=h1tOEPZLAWOOiZ4XZzPQUflLGXH/udVWyNN67mIVcIQff/X7VWGzVwOwMIw7XYibRA9zj6VwUW6os7LYkWbdaC1S0QPUhgkJAdj0sGGBjWGKWPs1McbqL1gx6QHAimvAWuJ6Ac6e60aE3cU5gmAAKylHmjptTmBj4xK1K+JNkEg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 157922215367768.1144854410851; Thu, 16 Jan 2020 16:49:13 -0800 (PST) Received: from localhost ([::1]:50722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isFp2-0004i2-Lw for importer@patchew.org; Thu, 16 Jan 2020 19:49:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38426) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isFmT-0001vi-5g for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:46:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isFmS-00061O-3a for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:46:33 -0500 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:44814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isFmR-00060n-V0 for qemu-devel@nongnu.org; Thu, 16 Jan 2020 19:46:32 -0500 Received: by mail-pg1-x541.google.com with SMTP id x7so10766758pgl.11 for ; Thu, 16 Jan 2020 16:46:31 -0800 (PST) Received: from localhost.localdomain (rrcs-66-91-136-155.west.biz.rr.com. [66.91.136.155]) by smtp.gmail.com with ESMTPSA id 81sm27663582pfx.30.2020.01.16.16.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 16:46:30 -0800 (PST) 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=a5HiIt6oABJ3BG1J/pu1JEnVUU32r0DSl4PyBFcvPG8=; b=PupseyDCsu0UZJWJT7y4Vyn1WDbUOInc55gtEHuKx5+8s2EC1pF4KeFSa/mPx9H5IZ wXnwTtvE8fHjwoHdf7J0Mv/xv3dyIoFdzDzIYpIpERvxdzv8XCB+IGk/rlFjbdLPdViz fnQqpHCs7i0gOVMNjcnl3eX9BSqJoZSY5B4V+A7O/yTuZGb7X7VvHjUBK5zoBF/YZTi/ Vayl+lOkFUZtJAVaSYY/+TxeK4xeqD/NSDDTpLmSONirwepxk4S6Gl8TR4B0EnpgJyrX H5/S6SCQKftVBlCtg7OHfdJCJSvN6T2i58I88sMCyNY1ia5cEV7OfQt9RZNuEZlpXl// rbmw== 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=a5HiIt6oABJ3BG1J/pu1JEnVUU32r0DSl4PyBFcvPG8=; b=g7eXF+raKUDJ8XPE0hv4aKJAfNQRpykMVIoOdR+XpkRg6iK3fYZJu2e2mdFzBBH77O t9d9aDcYltCSiZeZdOpjy41vd3ZzezgYnLqojWTpXlOpNMuPtAhIwkypL1QM/4Kepb5N vfBFxtPsiUPj4UTj4b2kp3+yTCkZgVXmDthIV4ZEk/lEOca9QGrySaaVdozD07Rsav3t qVpbMKeijtadZHDUNP1Clygw/sVKisPLdWnpLbieHRrQgQckKVvxpGoCaUgAsilzBQy6 S7YW4CqnJEzwlbW2VgL7qo0s9cqLl1S7kwr9W8jiM1n7oYobyluSd9QmK5kucKZPRvsD tdoQ== X-Gm-Message-State: APjAAAWOfvzE192ycyIEStnfzlErUi+VbYJ0hySJM4qgaMjNEgkFn/w1 CwBSDqUk+DGYxUBcKl8qVGBIFzi73Gs= X-Google-Smtp-Source: APXvYqx1jvQfKqUz48aRGpDAMRxNuVRcDMvbZZJ16Rg8lRiYUh+bh+3HEFnJoTOS8n8ZHLLoXU67qA== X-Received: by 2002:a63:111e:: with SMTP id g30mr43679271pgl.251.1579221990703; Thu, 16 Jan 2020 16:46:30 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 1/2] target/arm: Return correct IL bit in merge_syn_data_abort Date: Thu, 16 Jan 2020 14:46:17 -1000 Message-Id: <20200117004618.2742-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200117004618.2742-1-richard.henderson@linaro.org> References: <20200117004618.2742-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::541 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, alex.bennee@linaro.org, qemu-stable@nongnu.org, jeff.kubascik@dornerworks.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Jeff Kubascik The IL bit is set for 32-bit instructions, thus passing false with the is_16bit parameter to syn_data_abort_with_iss() makes a syn mask that always has the IL bit set. Pass is_16bit as true to make the initial syn mask have IL=3D0, so that the final IL value comes from or'ing template_syn. Cc: qemu-stable@nongnu.org Fixes: aaa1f954d4ca ("target-arm: A64: Create Instruction Syndromes for Dat= a Aborts") Signed-off-by: Jeff Kubascik [rth: Extracted this as a self-contained bug fix from a larger patch] Signed-off-by: Richard Henderson --- target/arm/tlb_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/tlb_helper.c b/target/arm/tlb_helper.c index 5feb312941..e63f8bda29 100644 --- a/target/arm/tlb_helper.c +++ b/target/arm/tlb_helper.c @@ -44,7 +44,7 @@ static inline uint32_t merge_syn_data_abort(uint32_t temp= late_syn, syn =3D syn_data_abort_with_iss(same_el, 0, 0, 0, 0, 0, ea, 0, s1ptw, is_write, fsc, - false); + true); /* Merge the runtime syndrome with the template syndrome. */ syn |=3D template_syn; } --=20 2.20.1