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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 992AFC3F2CE for ; Wed, 4 Mar 2020 22:57:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D16F20870 for ; Wed, 4 Mar 2020 22:57:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388468AbgCDW5E (ORCPT ); Wed, 4 Mar 2020 17:57:04 -0500 Received: from muru.com ([72.249.23.125]:58944 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387931AbgCDW5D (ORCPT ); Wed, 4 Mar 2020 17:57:03 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 5112780F5; Wed, 4 Mar 2020 22:57:48 +0000 (UTC) Date: Wed, 4 Mar 2020 14:56:59 -0800 From: Tony Lindgren To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dave Gerlach , Grygorii Strashko , Keerthy , Ladislav Michl , Russell King , Tero Kristo , Aaro Koskinen , Peter Ujfalusi Subject: Re: [PATCH 1/3] ARM: OMAP2+: Handle errors for cpu_pm Message-ID: <20200304225659.GA37466@atomide.com> References: <20200304225433.37336-1-tony@atomide.com> <20200304225433.37336-2-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200304225433.37336-2-tony@atomide.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Tony Lindgren [200304 22:55]: > We need to check for errors when calling cpu_pm_enter() and > cpu_cluster_pm_enter(). And we need to bail out on errors as > otherwise we can enter a deeper idle state when not desired. > > I'm not aware of the lack of error handling causing issues yet, > but we need this at least for blocking deeper idle states when > a GPIO instance has pending interrupts. Also, If these changes look OK, it's probably best to apply all three into some immutable gpio branch against v5.6-rc1 that I can merge in too if needed. Regards, Tony