Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5572849ima; Tue, 5 Feb 2019 14:14:24 -0800 (PST) X-Google-Smtp-Source: AHgI3IYrmSnt9z2ImvgPs6sHV+N9zP6QaWKZmOdtPB3zMgP6tROP3/3OaqeKlyPYzGHjiBDIfekX X-Received: by 2002:a63:981:: with SMTP id 123mr1890559pgj.444.1549404864794; Tue, 05 Feb 2019 14:14:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549404864; cv=none; d=google.com; s=arc-20160816; b=Z0bfuLxAa1p4RURIAir+8PN7zl6TsWaPJMx8T/TkmptFRQBzyJBo7lD/oOsBK5wOp0 FGwF/OIVAW7SafVjG7x5S7nxqJTbO6tUMG+nNhQV640/Yzun83ePmZev/p8G6go2ljaf aDHC5Qeb07EG5+SZkMCvEQwhJrAM+mc1ZnVN/V8FyopklvXP8Fder4w1L23p9BPIId8l Lmpsb6SXayFJN1MI6XTbD9Pvahd0st7IM1ecmZZFP9EMQYUiO1uCaLM30PwxruwAB7zF lsDvFNgVQsHx+43QoygKWL3emRWIrio+yomGU3CfucAQLG7w3nPuOGGbYXoFeVd9TIU1 Pcmw== 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; bh=K7oSPvJYima2g+Y64tFnsb7auA2t1TjpMNnw29CiHzE=; b=UdCc/8fTPKbuo3MLoN05Ofv6CPFVy1jcrG/vqPqmJ8OeB7nCej7Pu1wkr25bVPV+o1 LiIllV7L7b4CYP7kFJ2sLpt3EbLdW4+zBgtnGRWKb/Wa4cosp+MBk+UHgpen5W22kvTq myA5OqCx5+VwsZ3cmk+sWU0CwbKrKgwdS4cR18cp5FuNt5EjgOBFWtAjCY+KqziYiqpL YAhQQ7tD1+dFJRzMXj9Me1TbQvVrabPwBgusRkz9FDRbEk5RucA1OLIW0imNiY5aSimN zOJQevcB2V90uKfk0DvPH0VMGJ3gyLNC8wCswLNYwv43My+fohLn6nxx3U+6uEjFX2bM D8xQ== 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 z24si4120894pgv.225.2019.02.05.14.14.08; Tue, 05 Feb 2019 14:14:24 -0800 (PST) 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 S1729993AbfBEWKx (ORCPT + 99 others); Tue, 5 Feb 2019 17:10:53 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:41411 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbfBEWKx (ORCPT ); Tue, 5 Feb 2019 17:10:53 -0500 X-Originating-IP: 86.202.150.119 Received: from localhost (lfbn-lyo-1-59-119.w86-202.abo.wanadoo.fr [86.202.150.119]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id CD2271BF204; Tue, 5 Feb 2019 22:10:48 +0000 (UTC) Date: Tue, 5 Feb 2019 23:10:34 +0100 From: Alexandre Belloni To: Anson Huang Cc: "a.zummo@towertech.it" , "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH] rtc: snvs: make sure clock is enabled for interrupt handle Message-ID: <20190205221034.GK24598@piout.net> References: <1547190255-9388-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547190255-9388-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/01/2019 07:09:02+0000, Anson Huang wrote: > During system suspend, the SNVS RTC's clock will be disabled in > noirq suspend phase, but SNVS RTC's alarm interrupt could still > arrive, system will hang if SNVS RTC driver tries to access register > without clock enabled, this patch fixes the issue of this scenario. > > Signed-off-by: Anson Huang > --- > drivers/rtc/rtc-snvs.c | 6 ++++++ > 1 file changed, 6 insertions(+) Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com