Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2662131ybb; Sun, 22 Mar 2020 04:52:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsRdiANHEOHVEP5mbiYqL+G1PFdwmE2CGqn38sLjDXsVORy9tCV713AztPstkzdjrhuITWk X-Received: by 2002:aca:4d47:: with SMTP id a68mr14317360oib.56.1584877969144; Sun, 22 Mar 2020 04:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584877969; cv=none; d=google.com; s=arc-20160816; b=YnLFx1xL80n9CsuStwhDU+76xu7eFG77Io924NOTlrbH4qekwcsM1oazEAfd+m1AGY 21hLiPeLwSLgraQRpns0iOygC9ygfh/bCiY4ilwr0XQO+zON6X41hzedWZ27mh0j2e9b 1dnT/oY2XRsEXN5vJr9Lwga67cEpdp8wALgeKO6NwFmkNYEoJEEAejTMV7OfQYKgqF2w cEecmPjlVULiNBTQaGttsaIlKm8a2eBhoc3y+M1DNgYFk8efvP0ClJb6d8ckYwfbSfzv 2A8AgH/igdySGJfbr8IwJquA0jjNjTbChNrs+VBLg6mmRm/WlEQFTxe4G5onR6JstlrL YZ8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=4sgp6vkjkcNrlKmvHixgGZxIQD3RF80C5fBbwAU2y+Q=; b=kfHQND3scgouXIgL5N9/t1eE2D6V1tskE5cKp/PtNwUWjjdFUNqj7COSrfBDUYuQ5x P34A6fsLZMOgdfimrkFDvd4mQ+GPrOTVA+Wx64d2/j6BTfCn3X/NuJp2tg7Dm3qu6bhJ Lvcqg1KkfIF29LHAOJ0qTceAPv0I/69jRpteqTQOlhpCKlo+g92QqXPVlVr+W93QLT2C 5YgOggy4UjFqLhGQbSv9O7TOdvWFGyFHA2MxkKs03J3lnfW7Q6ABew/F9WjY9pvgS1VH jGIv7DlCE6F3kLaVGTVSm9q7zN7/n8uw1+koEgCwnCdxnu55e+EZIWSI8YjrFFOuDib4 twUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R0BqIzrd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s199si5756704oih.169.2020.03.22.04.52.36; Sun, 22 Mar 2020 04:52:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=R0BqIzrd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbgCVLvM (ORCPT + 99 others); Sun, 22 Mar 2020 07:51:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:33842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbgCVLvL (ORCPT ); Sun, 22 Mar 2020 07:51:11 -0400 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 4178F20732; Sun, 22 Mar 2020 11:51:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584877871; bh=4L+US9oyt6r1I7CpRdSaSOrHJKplo8D3RFAXhA3hdMo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=R0BqIzrd/qCI/exH8dYpR45RGV/pyISkZIgqN7y2yAXCqvYqhd8Vf/qEKtoxxD0VO HcJciWvxoDtlyvS9WwhU6zu6Q1GxV5/58aTbT8GWbIn+CXbBQ5hP7iqrjWWgQhR7Zt bLXMWyxFZcJRkFdeVFgNmDJxl8quAtU6aW2ZalJY= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFz8H-00Efyv-IX; Sun, 22 Mar 2020 11:51:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 22 Mar 2020 11:51:09 +0000 From: Marc Zyngier To: Linus Walleij Cc: Sungbo Eo , linux-oxnas@groups.io, Thomas Gleixner , Jason Cooper , Linux ARM , linux-kernel@vger.kernel.org, Neil Armstrong , Daniel Golle Subject: Re: [PATCH] irqchip/versatile-fpga: Apply clear-mask earlier In-Reply-To: References: <20200321133842.2408823-1-mans0n@gorani.run> Message-ID: X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.10 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: linus.walleij@linaro.org, mans0n@gorani.run, linux-oxnas@groups.io, tglx@linutronix.de, jason@lakedaemon.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, narmstrong@baylibre.com, daniel@makrotopia.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-03-22 11:45, Linus Walleij wrote: > On Sat, Mar 21, 2020 at 2:40 PM Sungbo Eo wrote: > >> Clear its own IRQs before the parent IRQ get enabled, so that the >> remaining IRQs do not accidentally interrupt the parent IRQ >> controller. >> >> This patch also fixes a reboot bug on OX820 SoC, where the remaining >> rps-timer IRQ raises a GIC interrupt that is left pending. After that, >> the rps-timer IRQ is cleared during driver initialization, and there's >> no IRQ left in rps-irq when local_irq_enable() is called, which evokes >> an error message "unexpected IRQ trap". >> >> Fixes: bdd272cbb97a ("irqchip: versatile FPGA: support cascaded >> interrupts from DT") >> Signed-off-by: Sungbo Eo >> Cc: Neil Armstrong >> Cc: Daniel Golle > > Good catch! > Reviewed-by: Linus Walleij > > Marc: Cc stable? Sure, I'll add that. Thanks, M. -- Jazz is not dead. It just smells funny...