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=-3.7 required=3.0 tests=BAYES_00, 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 C3B03C4363D for ; Fri, 2 Oct 2020 10:41:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75A2320708 for ; Fri, 2 Oct 2020 10:41:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387677AbgJBKlA (ORCPT ); Fri, 2 Oct 2020 06:41:00 -0400 Received: from mga05.intel.com ([192.55.52.43]:56817 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387661AbgJBKk7 (ORCPT ); Fri, 2 Oct 2020 06:40:59 -0400 IronPort-SDR: lZt/o7RBAEyTiVrD/gN1BKFJ9rS8VAc7jJ5bnEhdplJ2AexX9JV5Muel25jckPjTFpML0oEmC2 1HxQRr+hKZUw== X-IronPort-AV: E=McAfee;i="6000,8403,9761"; a="247703078" X-IronPort-AV: E=Sophos;i="5.77,327,1596524400"; d="scan'208";a="247703078" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2020 03:40:55 -0700 IronPort-SDR: cX8mX9Vbw4e2sgS1cHCiPGTzJHfZzSc4hTGlz6VG1+uUjlgV0STW+IR5y2bSWqw48mRE7ev+jt QItINWAqsCEw== X-IronPort-AV: E=Sophos;i="5.77,327,1596524400"; d="scan'208";a="313468950" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Oct 2020 03:40:52 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kOIUY-003PvH-Uq; Fri, 02 Oct 2020 13:40:46 +0300 Date: Fri, 2 Oct 2020 13:40:46 +0300 From: Andy Shevchenko To: Grygorii Strashko Cc: Linus Walleij , Nikhil Devshatwar , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , Marek Vasut , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Adam Ford , Vignesh Raghavendra , Tomi Valkeinen Subject: Re: [PATCH] gpio: pca953x: Use irqchip template Message-ID: <20201002104046.GA3956970@smile.fi.intel.com> References: <20200717144040.63253-1-linus.walleij@linaro.org> <20200930104729.ajufkrklfhf25d55@NiksLab> <2ced9bd9-9446-5060-18a4-d743238277fc@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ced9bd9-9446-5060-18a4-d743238277fc@ti.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Fri, Oct 02, 2020 at 12:07:50AM +0300, Grygorii Strashko wrote: > On 30/09/2020 16:51, Linus Walleij wrote: > > On Wed, Sep 30, 2020 at 12:47 PM Nikhil Devshatwar wrote: > > > > > I am getting a kernel crash on K3 j721e common processor board > > > when HDMI is plugged in. Following is the full log with crash > > > for NULL pointer derefence > > > > > > https://pastebin.ubuntu.com/p/wBPS2ymmqR/ > > > > > > Upon inspection, I found that the "irq_find_mapping" call > > > in the "pca953x_irq_handler" returns 0 and the same is passed > > > to "handle_nested_irq" > > > > This would typically happen if the driver using an IRQ > > from the PCA953x does not properly request it. ... > We've just got another similar report, don't know the root cause, but it's not HDMI Does e43c26e12dd4 ("gpio: pca953x: Fix uninitialized pending variable") help? -- With Best Regards, Andy Shevchenko