Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5570968yba; Thu, 11 Apr 2019 00:36:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyv5fv1xNKhHwbBOKRse1+OkPEZJEpCuVIETG6xgpq8lzKC5/EjcMgs+Yx3Mg31VeFcC4d X-Received: by 2002:a17:902:f08a:: with SMTP id go10mr47147056plb.121.1554968162525; Thu, 11 Apr 2019 00:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554968162; cv=none; d=google.com; s=arc-20160816; b=OWbnRThAoyDDeqr9cY+h9UhgsOxwjrKUGjnko7vw/H8QUIURjlKmOLz7w+w6713Nc8 IXFgYBzvZP3JCe69UQwHnXHtwHhjzLisLee983jDi+QzLEsKMHdxkKRPeAc3aO0WFRrx NyAz4N5qnIb1E21s/EnJRAqs3bDb7QdD6rCCjas4VWS983M735WIPnfgRWSbG1duHO8k qyOTrUx553uoVRCDt2BObcv4O0cYWWdunaYpiZgwAOpjy4lBIcQDtdlk5vhUiBHid1iM +D8nOeAxb1rpvQrpW9K5tEH2Odvvxq/N0T1nFyj/MJK4sE+moLd4dnq0SZayCk4MaY4R 23UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EuQ0FHo0WT5tccURZpeAD00A+wJvd97mNaYRLsi6t8c=; b=lim0TxCofWzv7OazFlcFEGaz7D3RsRSm9Jeo8+C+zpBFN9xr6EXKlf54piRmxBLVAA 74a24dlJxyoWYcub1LRpfe3slKc7rUOl9HJ2d0RpS3f2sBRucm9vgb4pCNmCG60Kk0zH QkG5QtuRfjp/wuiZ4hfEhVemNXASWLnMnn1JsrQ1rWBjyBLjf8k5jH3bgGnih8o9zt5+ IpyuEM58q2B0e2Rk77DgVghaF3aYvDLMozrpyO1ag7mlOE/WErAfSHeX1rRddPHbLiSM Y0tLAcdlQJL+B8Nxta/VyKegklCBb3txZO5LIgDguiykHFtgUBiUFksHBBZ9iEqWUhWV JZYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fLg83XbV; 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 y3si24911965plt.57.2019.04.11.00.35.46; Thu, 11 Apr 2019 00:36:02 -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=fLg83XbV; 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 S1726946AbfDKHdL (ORCPT + 99 others); Thu, 11 Apr 2019 03:33:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:58832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfDKHdL (ORCPT ); Thu, 11 Apr 2019 03:33:11 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6BCB520873; Thu, 11 Apr 2019 07:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554967990; bh=NCcfCY4N4CoHyMcW9kudU2EIXCOP7nfyguC23K4whBM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fLg83XbVn3lhiIZI/R6h2aaIxWbFA2famBGdUDi1kjAW43Nk7V1hIgNS8jb3QWMoG LKDSErJLle9BtIW1lr+BiP7N9kidEJKGu/IM2E+vZKA1DMUGcpLFl2MHIFNEoferTB hwwMc2RyVZmdm0Cq3Gj84JfVTkguiVpbgwxYc7q8= Date: Thu, 11 Apr 2019 15:32:53 +0800 From: Shawn Guo To: Anson Huang Cc: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Peng Fan , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rtc@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V7 2/4] firmware: imx: enable imx scu general irq function Message-ID: <20190411073252.GC3050@dragon> References: <1554785675-8090-1-git-send-email-Anson.Huang@nxp.com> <1554785675-8090-2-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554785675-8090-2-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 09, 2019 at 04:59:55AM +0000, Anson Huang wrote: > The System Controller Firmware (SCFW) controls RTC, thermal > and WDOG etc., these resources' interrupt function are managed > by SCU. When any IRQ pending, SCU will notify Linux via MU general > interrupt channel #3, and Linux kernel needs to call SCU APIs > to get IRQ status and notify each module to handle the interrupt. > > Since there is no data transmission for SCU IRQ notification, so > doorbell mode is used for this MU channel, and SCU driver will > use notifier mechanism to broadcast to every module which registers > the SCU block notifier. > > Signed-off-by: Anson Huang > Reviewed-by: Dong Aisheng Applied, thanks.