Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp213095pxk; Wed, 9 Sep 2020 03:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOdxdA4t/XSmbwwLBd8IwmL00q2mzc9HBve8faLP5EgikzaX7C5mpigQz7IQmAwms9+tBc X-Received: by 2002:aa7:c256:: with SMTP id y22mr3322581edo.16.1599647573821; Wed, 09 Sep 2020 03:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599647573; cv=none; d=google.com; s=arc-20160816; b=VTWOVCd6b3Sviepuym6b2M9PWlIQ/UTGzVmmlZkHqd0RWNiyPFqiI/KXdDcNvZZAoM 3zNPP3hvAe7Nn3Okpt0d7JdOIofGZwc3v0oDNDYzDrJWGRX5eTaNljofKlm1g9QcBy4n 14Vi3A+uPugLigSSP+iwIns9Zms5MtKJU/a18RVCDjfsAzCXIQDSunj+MOVO+UvAsHeb KEVLgO1KYMJin19KrHA4vwsbPiaer48EFvlxahzQrgO4Lavz1DkNXEp6UuI/Sny6DZxA hZ+zsLfm1cYR81acYf15H64JiUXtdmZA37a0CuChnwq381p4RtivbR9sUkxWnzce6KRL sTtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=hUlwLMrimjWwNgv4IoS4mb92kylz1fDpsivTG90WfYY=; b=WblXUWx3zAlitkLEO91bgMYeW7v+uRwar+P7EXErWCNAe+WS2NULFEknPK5v+ij9x3 UCyFuIchK15S50zSzS0IxyDvfggLv8g6qUr+UoDvbBqSnpZgtHq3/JVTBm9API5R/L6/ Ve+epOCMQ48smGDBhBXB7wTZHXdr9lqRdJN1dftQOkcY4po8Vwg5BGGETIWqCMw/67h1 NdeP5XHAug+lwmzOELtovJp1Waoy+ULEEnNWBhbKIH7PcC9Ud8KRxdAUGqII5hfcKv4r +bgy+nRRqIRnj3HjKqv09Vjg3hmieSt5KSZIi+l1uL1mqm6cewVGSlFb2gTGFPDf0iDs 4Vpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si1237811edt.107.2020.09.09.03.32.30; Wed, 09 Sep 2020 03:32:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728971AbgIIKbd (ORCPT + 99 others); Wed, 9 Sep 2020 06:31:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727935AbgIIKbP (ORCPT ); Wed, 9 Sep 2020 06:31:15 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D82E0C061755 for ; Wed, 9 Sep 2020 03:30:56 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFxNO-0004Cf-PD; Wed, 09 Sep 2020 12:30:54 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kFxNN-0005Xg-Pc; Wed, 09 Sep 2020 12:30:53 +0200 Date: Wed, 9 Sep 2020 12:30:53 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Bartosz Golaszewski Cc: Ahmad Fatoum , Linus Walleij , LKML , linux-gpio , Thorsten Scherer , Pengutronix Kernel Team , Thomas Gleixner Subject: Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs Message-ID: <20200909103053.bhzh3533km7ky3jh@pengutronix.de> References: <20200907153135.3307-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kpyu2cpc3fs7tqrq" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kpyu2cpc3fs7tqrq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wro= te: > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > interrupt support. This is only capable of handling threaded irq > > actions. For a hardirq action it triggers a NULL pointer oops. > > (It calls action->thread_fn which is NULL then.) > > > > Prevent registration of a hardirq action by setting > > gpio_irq_chip::threaded to true. > > > > Cc: u.kleine-koenig@pengutronix.de > > Signed-off-by: Ahmad Fatoum > > --- >=20 > Could you add a Fixes tag? This looks like stable material. Ah, we talked about this in the v1 thread---tglx and I agreed we want it. That's: Fixes: be8c8facc707 ("gpio: new driver to work with a 8x12 siox") Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --kpyu2cpc3fs7tqrq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl9YrtoACgkQwfwUeK3K 7AkU7wf8CMI7+dWprPIUEOc6fay4MBwSA7GnYskIGYpSdVvYTOZA2lODBej3A6Ms 29y3p8JxfNLZss2nKOIZ2XJZt2o9e7KwTmGQurqq3zisoOueAxc+1qt4VTKFzNwb xROu6MXSDpoC+j6z8kc8J5BTiy2XT9RAgRkHeDH+jynsfJ4oN67fWh+uz7/xO8Fk N+ItAeBPYrxELu8+dBfykzIAuryY+ZDoZYdoTHBOrd2X2zKqC0yDkod8/aHKhiW5 yELwH8d2iG46qoxSmnDhjnuGlivtD+1W+cVoVktZguaiUCl3GikCADJzUjeeZkvB yghYsnfnUYEauBa1WB9Z+M6ujo6DJQ== =cEXz -----END PGP SIGNATURE----- --kpyu2cpc3fs7tqrq--