Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3315735pxk; Mon, 7 Sep 2020 09:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLJABtypJo2B7Hq3Z1vwdIP02use09RVvo8tO66pGOR/aKGPdmqvIBmjvZa3Q1Uny2gLob X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr4056914edb.369.1599495543969; Mon, 07 Sep 2020 09:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599495543; cv=none; d=google.com; s=arc-20160816; b=wdIBDTQ85o1mI08maw4z27IO42A4PGNHXIOW5Ny2ZHNoYpaHhw4/B/3rMdFQuW/fIM gq8RJIqZSeZW12yDdHmhZY4KJbeBJMCmnvgqYswSY2CTVw16STdYx78hjCZYNTQtI0JU YvXdCf5lCRbC8MLxVaspGXHyVhk1Dn9d3/VM4u8QcgHsbVIE2MMV1Pa0dD05NMtXjstm ++WjWaNsECf+eLRPgLeqQboDU4Z4QsdAuar8UvV3en+fmja51DJcz8MmBMSj0negdO6x 1EeKoqsn9VKrUj+1l20AHT+Hi8Dp1+HflLaewJB8VQTJe/oc7OQYDHDjUrICP28ScyeO ENxw== 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=xOF5soFaAIMABzOJTVh8lMr4BRzBGmz5u1IGNRcSucI=; b=tKf9d9AeBSsf1uVv/bgqSxK8t5PWbOurZFD6JDBbBH9DnI9yffCnKHOC/cgidQxzX8 O6Icp9IcQZE9L9jbCM6IV2yhnti1Fg96KRH6/cgZfqwdsKb4D1wzBIiaMGue5/btbnDK QlLJvYjUk/aURIv/+h902zMQW6t2I0wzA2UNlOcYNsNCkMi8zZLKQ9GtN6TIJok83qIK p73lDiVfrmnAFX8C2gqKHwzkut1VLZaH/roVqhHzNBhutnolpUvSWpdyFDiQ4vJwAZz9 dt1aTtYNag8piyh8ZTa6jEXn6Kcng6LM1iBObLRwm13yH/jjt16ZRuyDks56ts0WDxnB EG9g== 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 u2si8839445ejx.507.2020.09.07.09.18.41; Mon, 07 Sep 2020 09:19:03 -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 S1730413AbgIGQPt (ORCPT + 99 others); Mon, 7 Sep 2020 12:15:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729996AbgIGQPi (ORCPT ); Mon, 7 Sep 2020 12:15:38 -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 A6688C061574 for ; Mon, 7 Sep 2020 09:15:37 -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 1kFJno-0001sv-G5; Mon, 07 Sep 2020 18:15:32 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kFJnn-0002et-PM; Mon, 07 Sep 2020 18:15:31 +0200 Date: Mon, 7 Sep 2020 18:15:31 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Ahmad Fatoum Cc: Thorsten Scherer , Pengutronix Kernel Team , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs Message-ID: <20200907161531.x7wdxmb5e3qdbtn7@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="cgjxmmqsfjfxvawn" Content-Disposition: inline In-Reply-To: <20200907153135.3307-1-a.fatoum@pengutronix.de> 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 --cgjxmmqsfjfxvawn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Ahmad, On Mon, Sep 07, 2020 at 05:31:35PM +0200, Ahmad Fatoum wrote: > 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.) >=20 > Prevent registration of a hardirq action by setting > gpio_irq_chip::threaded to true. cool commit log :-) > Cc: u.kleine-koenig@pengutronix.de > Signed-off-by: Ahmad Fatoum Acked-by: Uwe Kleine-K=F6nig Thanks for picking this up. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --cgjxmmqsfjfxvawn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl9WXKAACgkQwfwUeK3K 7Alg0Qf/VlxWkLp9Bpt+uYNTELqmDL/zHOIn4GQTGgJrM34u8CTDAlLetTFtr9OW edbUtd2vWanorXEl3qdPxqi31FmgbQljDmwOu15VQuEsSzb8mNMkSRP2BOuiCRas B10LsGriMod8/49H2A5UVhSs/cNVT0JiLgPxQIssWYulH07agqHlSNCeMmgf7GTA 6JJHYUl/Mld/qnKABxDUIYTTv70U9tXO2KsSkOFs4IF9AZIroQayBiDyDDvxJrPB gt0SpzcHMFE7to6edyGIbdxU+ag22FzL/XJnDM2EALjr6c7vAX6n9ui1HpZ7BNsI WEA54N3FLA5A1MYwDqwnhKwVVMhGUA== =J3Py -----END PGP SIGNATURE----- --cgjxmmqsfjfxvawn--