Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1788811ybb; Sun, 29 Mar 2020 13:27:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vty4WmSB2EUuck1JN6oTU3Q6VenTtcsRdyPu7ckmjEKKPkqGceSkROKa/UIhGOYdf7pTz8O X-Received: by 2002:a05:6830:1e93:: with SMTP id n19mr7224234otr.153.1585513659114; Sun, 29 Mar 2020 13:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585513659; cv=none; d=google.com; s=arc-20160816; b=F3PoLucyHuX8JlFVGolDslZABGTZ7aCC+mWR+Mcb2atKJNRlT8skKdaaFF+BeLIvHC +846SEk31cSHOQd2DumU9gI87Kzp4PwUA1TNk0NMs/tSdadcM+jkHxWOorNVAbwmznbx rxe1YswnJOgWxzJoQeAyQQ8A8j4LI77dD9xV9u//frdV/gDkBijfxFp0VYcPcnwgdSgb aOdZimfkGARSvI6CbZ75ZEPpr8COlHg5spRrkaVPL5Rj8FKgWIuWzIBBAedW4t+4deoa 6GT+ifT0fWp44vQ011oYtyizT1CmoZuQZWYG76dZ3OF0OqrBH1EMFpyTNBaquijuL5T/ DCyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=JVjE8Z2sQGkIHUoY8FIlogHD1p/VExnDGGuy+QyNGAE=; b=uQP4Vw0mNAxlje8AbnkRFcmaywh72CcoJXcalW70EhZvdl6GLtnUyMpNPW+tebCM1Q JhBFelhYeN1oe/goWJzY/vjP51mODX2XNstzYTZg4/3rbXdTkaKNvPmW+hUS3oBAPyLI 4+SCAzF25jIYEdd6xo/RzBS1/P+J9Ec6FSn/Q6K/bkMtoQZdJYKGzyi6ARSq9lxJx8fO 7J0ZCi8PRe6BGtpYIfVGL5p8+PYol6Y687UA3tuNgLjicD75yl58S2WyWGmyysrVtrqB F3Oeupe81/dBLIA2IslYAaIdWRZxBH5mS1OSOkMkzZQaJ3R8a2MAIEFEegtvhPmrjylF 9O5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si5678357oiy.229.2020.03.29.13.27.26; Sun, 29 Mar 2020 13:27:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729006AbgC2U04 (ORCPT + 99 others); Sun, 29 Mar 2020 16:26:56 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:57085 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728928AbgC2U0h (ORCPT ); Sun, 29 Mar 2020 16:26:37 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jIeVt-0001WN-0A; Sun, 29 Mar 2020 22:26:33 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 063F61C04D7; Sun, 29 Mar 2020 22:26:24 +0200 (CEST) Date: Sun, 29 Mar 2020 20:26:23 -0000 From: "tip-bot2 for Heyi Guo" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqchip/gic-v3-its: Fix access width for gicr_syncr Cc: Heyi Guo , Marc Zyngier , x86 , LKML In-Reply-To: <20200225090023.28020-1-guoheyi@huawei.com> References: <20200225090023.28020-1-guoheyi@huawei.com> MIME-Version: 1.0 Message-ID: <158551358355.28353.15317619271465246875.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: 04d80dbe858d801efbecf3e5172b31b0a3757308 Gitweb: https://git.kernel.org/tip/04d80dbe858d801efbecf3e5172b31b0a3757308 Author: Heyi Guo AuthorDate: Tue, 25 Feb 2020 17:00:23 +08:00 Committer: Marc Zyngier CommitterDate: Sun, 08 Mar 2020 14:25:46 irqchip/gic-v3-its: Fix access width for gicr_syncr GICR_SYNCR is a 32bit register, so it is better to access it with 32bit access width, though we have not seen any real problem. Signed-off-by: Heyi Guo Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20200225090023.28020-1-guoheyi@huawei.com --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 83b1186..6bb2bea 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1321,7 +1321,7 @@ static void lpi_write_config(struct irq_data *d, u8 clr, u8 set) static void wait_for_syncr(void __iomem *rdbase) { - while (gic_read_lpir(rdbase + GICR_SYNCR) & 1) + while (readl_relaxed(rdbase + GICR_SYNCR) & 1) cpu_relax(); }