From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 327FDC2BB55 for ; Thu, 9 Apr 2020 11:17:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED21C2137B for ; Thu, 9 Apr 2020 11:17:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g3swe5dA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ctufLEy1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED21C2137B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cuDYomzQim3DAx6mjO1gcYGj/abVQvDTPJW9O/tkKtI=; b=g3swe5dA/bt0Yi bsQ/MbfX6wvKFD9LmFIlpb5pdmp7D3tdD2uKGEW4L/9MbD9EZ/j3akg9PPtDKF//aV3LCgyDk0f0C USiyenj2m4Hy7Xx2FAw/pH70SVIGcsuevn0OEOI74ukcFp/jAJTd4M6WpDEJGYIx+bOCSyrvECFJt UgD5607xGK6z/m+x4l1n3ZXm0hBUX7w2p8Nff/ccA7lKfQx+1dLmYiZVLsPIVuLuoSUd4/JbSuo9N fgThJ22C1CypNZgCSoXaT+P9QUPylLs/MXfb6HyWZxDfuz+yZJ4fn8SPpVVe7NbPTsaK2EahkYdv/ 6gI4N7q5BBJRKRrvIUIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMVBu-0002bP-7X; Thu, 09 Apr 2020 11:17:50 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMVBr-0002b2-3K for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2020 11:17:48 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6398320B1F; Thu, 9 Apr 2020 11:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586431066; bh=8Ug6GC5kIzXNDcpmlUlWmetp+Yosb2nlpMdk9+yDKt4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ctufLEy1uCQSKe1nAzuhT+y5VHQOdlCiK99NoyJ0WIg40r+EiJDhsuimSQZ1zdOuQ FwZQWyS81yBA56/MOvtHKMLRuatS1bNYsNKhFzzydx4qETOvcMymWLzzrOLxpIdR8S VYZSWTFuc4bowJJVn9HqZr/mikD0qsEVfKW6TSDY= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMVBo-001t7x-LJ; Thu, 09 Apr 2020 12:17:44 +0100 Date: Thu, 9 Apr 2020 12:17:43 +0100 From: Marc Zyngier To: Grygorii Strashko Subject: Re: [PATCH] irqchip/ti-sci-inta: fix processing of masked irqs Message-ID: <20200409121743.10bbcc9a@why> In-Reply-To: <851d5063-475e-ea7b-6609-684b08283550@ti.com> References: <20200408191532.31252-1-grygorii.strashko@ti.com> <20200409103144.3b2169bf@why> <851d5063-475e-ea7b-6609-684b08283550@ti.com> Organization: Approximate X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: grygorii.strashko@ti.com, nm@ti.com, peter.ujfalusi@ti.com, jason@lakedaemon.net, lokeshvutla@ti.com, nsekhar@ti.com, linux-kernel@vger.kernel.org, t-kristo@ti.com, ssantosh@kernel.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, vigneshr@ti.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_041747_164121_C593380A X-CRM114-Status: GOOD ( 17.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Tero Kristo , Jason Cooper , Lokesh Vutla , Sekhar Nori , linux-kernel@vger.kernel.org, Peter Ujfalusi , Santosh Shilimkar , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Vignesh Raghavendra Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 9 Apr 2020 14:11:12 +0300 Grygorii Strashko wrote: > On 09/04/2020 12:31, Marc Zyngier wrote: > > On Wed, 8 Apr 2020 22:15:32 +0300 > > Grygorii Strashko wrote: > > > >> The ti_sci_inta_irq_handler() does not take into account INTA IRQs state > >> (masked/unmasked) as it uses INTA_STATUS_CLEAR_j register to get INTA IRQs > >> status, which provides raw status value. > >> This causes hard IRQ handlers to be called or threaded handlers to be > >> scheduled many times even if corresponding INTA IRQ is masked. > >> Above, first of all, affects the LEVEL interrupts processing and causes > >> unexpected behavior up the system stack or crash. > >> > >> Fix it by using the Interrupt Masked Status INTA_STATUSM_j register which > >> provides masked INTA IRQs status. > >> > >> Fixes: 9f1463b86c13 ("irqchip/ti-sci-inta: Add support for Interrupt Aggregator driver") > >> Signed-off-by: Grygorii Strashko > > > > Given the failure mode, doesn't this deserve a Cc stable? > > Sorry, was not sure how it works here. > "Fixes" tag now is usually enough to get included in stable. > Any way, I'll track it and if not included will re-send for stable. Last time I asked, Greg was adamant that a Cc: stable was needed to guarantee a backport. In some cases, the patch is picked up anyway, but it doesn't hurt to have the stable tag if you think it should be backported. Anyway, I've now added such tag. Thanks, M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel