Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp231882pxk; Wed, 9 Sep 2020 04:05:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw13WMqcD7XyrNG2grl0wE7B1YSx4loX3BKDF5olnEi9HuBuKNV91LKzu/EjYtHt69Wom6H X-Received: by 2002:a17:906:3191:: with SMTP id 17mr2930245ejy.239.1599649548997; Wed, 09 Sep 2020 04:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599649548; cv=none; d=google.com; s=arc-20160816; b=jBXzl+Eh6P6QLAuekfVgdSgCVmKSvFEeRY0Dnryds0hPRnEyKti6eGRPEDQBvc5Rr8 RPXMq036mtUia9EtgQTcIwBxfGzAMkzs+FC+uTpmZ+lidEWCsGqMCPXSA1YPNU4n5Q5y kiJGlYmte1tN45U22lL4rpjQ/CunwMeuMlIUrnsg7POjcoag3691p2MVT1Jc31IcLNYb HIJACe+CPEvGouf2T9syqJbcF9Fj+mvqBtn/iX+2TDvGEYhsl/IFcq5jmt+jc7dhLQ0q SI9fSKQFwK4C2hLQDQE1WiPwkQaxKL3F9IFfZ9Bb30UfwxTqIO1IQBVqHGftJTM7FUHc MOjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bEIjD3Fgz65WVghfdzsdddXtKdCJzNlZ7zhZxRvCWO4=; b=sh4ZSD+XAuv9w3yDz7szOqqc1x+uY9oCvOpLL1g5fykKQ9okydiQZNrH/16OhmALmB oZJdIWof4gR+GKoMkScXWcMDhkfICnmqr629BmRzV1lfwgY/CoZ2A/vaxgLKpWyvq/25 4wsVJD/ahLnNXnB5VDzkOmubl/CbgPHggMtJhqRd1oLDgzAJ8gtT8XqRdO9qIPLwSKZa GNEw+QQinYBDQn6x2CGnBi/hCd1Q1sFT4oj2dZ3zjekUIFmqGJ+kErBLxBq7qt4OdkZe XhAZHenFBAaQwrxhH/lcfmU96TiYzg7oloha1vrADOtQknlyS7K/++Q2y/nVFp3Mls3c HtwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ta1IxR+z; 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 c25si1227816edr.545.2020.09.09.04.05.24; Wed, 09 Sep 2020 04:05:48 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ta1IxR+z; 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 S1729663AbgIILDP (ORCPT + 99 others); Wed, 9 Sep 2020 07:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729691AbgIILAX (ORCPT ); Wed, 9 Sep 2020 07:00:23 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA96DC061755 for ; Wed, 9 Sep 2020 04:00:18 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id w1so2208434edr.3 for ; Wed, 09 Sep 2020 04:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bEIjD3Fgz65WVghfdzsdddXtKdCJzNlZ7zhZxRvCWO4=; b=ta1IxR+zC2l+CxVuWK0IXfx8IDFUdg4W6uIlxwd8GOP2puX7bFjFjwD6en1DZtAq0M E9QcAicZeZCFIRO47qLqZaPBnImcS/uVSaIt+PORdG2WS4TKVhWACa3zi68sFwn4lCFU 0HWv1EEVt3RBsMS87dlaz5A+F67SCDq4kyGnCRCoTJbW37n+ZZ6nyjUXqyEVUEEtj4jM vIJLQ39UPU4nggdLAeIanDPLTLDVgGsS93YnPLh0UYEjWfFkfsVtMtw6+67DFgm0KI5J 0ltyTaLq71XvIPE6WlzrgVYS5GoDuJD5GCXrJjRWSxILcFAYMnc0QTReREa48S4fFn7g IYpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=bEIjD3Fgz65WVghfdzsdddXtKdCJzNlZ7zhZxRvCWO4=; b=O/YvgnZjOWnBCCZEARz7RI+FT/lcPwRbEG3cbdfDxntODQ0TRlgEvzvBrkIRuisA4I +EBp6t6C2zlpYP3Kea+/lMgalXinpBPZcs/GOpnFfwLefbU4CbSkhNVhl5lTQ9pnQu6c /qRQU1OJ8hoBT124x39rBfTQEwrKcQnpS3SKtSCA8njFRPYl/+K1tL/ObN90FWmo9/y5 wnFeLtFIYQGXdz5YQ6yPAX97quDB3HgBYUHHlvZI8jfVcUd4mCyxOOhr//A/AK/upLqn CdW0g8hE1S1bIeea47YB6fOV36YMc19rdz5jauIWmARaoDi7lquJlSu9DrMR/ju6yMKy g3rg== X-Gm-Message-State: AOAM530VrE630d3sri7Q5rodkB5nGFDz7f44tbU22g+SwBIT9WA1XIqB Nkcea81s60vhsWZWoX6hk/te3mPHzSZZSYZi6I2TuA== X-Received: by 2002:a05:6402:78b:: with SMTP id d11mr3604631edy.341.1599649217273; Wed, 09 Sep 2020 04:00:17 -0700 (PDT) MIME-Version: 1.0 References: <20200907153135.3307-1-a.fatoum@pengutronix.de> <20200909103053.bhzh3533km7ky3jh@pengutronix.de> In-Reply-To: <20200909103053.bhzh3533km7ky3jh@pengutronix.de> From: Bartosz Golaszewski Date: Wed, 9 Sep 2020 13:00:06 +0200 Message-ID: Subject: Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Ahmad Fatoum , Linus Walleij , LKML , linux-gpio , Thorsten Scherer , Pengutronix Kernel Team , Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 9, 2020 at 12:30 PM Uwe Kleine-K=C3=B6nig wrote: > > On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum w= rote: > > > > > > 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 > > > --- > > > > 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") > Thanks, now queued for fixes. Bartosz