Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp363871rbe; Thu, 29 Feb 2024 01:36:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUiNyoKi/g2WH2wsVBEDkKcLXREZ27R2R+lXVkhp2h9CY3Vkpaitq0D1TiBMW3ruIi2yEMkCI/Kq4Is/A/ToxHqSxaGbfd2b7CfL+OYAQ== X-Google-Smtp-Source: AGHT+IEobGD+wZ/dk0RMWHnQaS1ns3IxPrrpqKWhv3zgVMoLLYdrESF21TjQbmpNafImnMsg72eG X-Received: by 2002:a17:906:688d:b0:a44:442d:8938 with SMTP id n13-20020a170906688d00b00a44442d8938mr693608ejr.30.1709199388922; Thu, 29 Feb 2024 01:36:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199388; cv=pass; d=google.com; s=arc-20160816; b=QtMIYt13p22dvYc+uIe7nz0LzQzwMi/wnlLzIxHJrNtWtF8boOn8QmeYAsz0ed0qw/ A+SHfxwvCqTOfEir569lbkbQNSc/fTBIFSiqgUK8msjrWho8bvf+9V8yJjissfeElmkN n8QwZfdOY2jx01hDFddD8d0us6LX48SEXhaLkfjcSc9kCn9xmkDIiaA8jvGJ4N97z5yW A/MUjjbxHl2fUmNffXWJO/GL9NpLHNGLs+UXisuQAa5HyK3P1ASNBclsFx847wAu1L2I xztXhfFlM18DMzmDL/YVt51CfPOEM3eONjlyVlhzRMp6n7+hwEbWlX+WJQWGqh3rJugA yPYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=NIqCg2Lig+ehBNYGyTvhpjqd6T9MIQgC1nLdSgKx46A=; fh=pFn67YFyeHWd5aN9fPOsg2Xiu7TErQVC9JxeeUGrgrw=; b=OY4w1kFVyMU12F5YtzUHLbc0RUH+Qf4d/X0khcTVJFhVb2Kay0SqAlcICYbu/Tvbqq 7jPErn9RcHmEqHNO7KRnHc0VFZytjg6Zc89IraDdZ0QnQO/7L2DJs9YW2KXeeGctLKKH CVF2i7Cq4Rdmlkh3CC1pAtshTkZ6B5UQTB8E3FPZ0FU3pgDYNcgs4zDSbrpI6ThK/zOi 5EhXW+/jYP3bRh7FXBpOEFUsPMGlMPJVvy4TgDRZVlSIQj9BDKYHSpEE2yCscTKyzbHy hslun3JwLBXklBEaOrHnNtQgMVm2KtsERkSsr7ZVovaJo3I9jow8zCOMl+yXPJ0yYD7w VSAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TnoDzhTP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v11-20020a170906564b00b00a430a51484esi430485ejr.600.2024.02.29.01.36.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:36:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TnoDzhTP; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 899761F248EB for ; Thu, 29 Feb 2024 09:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB5DA605C2; Thu, 29 Feb 2024 09:36:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TnoDzhTP" Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CA945788F for ; Thu, 29 Feb 2024 09:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199380; cv=none; b=Bab/2eaGoNqmwWNmQg57qN81mmvYYCG7MbppTm0Riic2qlVxygB7tU8n/ymjWqCxCzq3qyv92Vd5xq5KkAiIMzxusz2HP4c9/m63ZT896EYRTah6CeaEDv6YXf07ni9SNZ7V8pds4dEhBkaDAVYvXH8+/Ys6l1C7Eyhj8NDBWiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199380; c=relaxed/simple; bh=NIqCg2Lig+ehBNYGyTvhpjqd6T9MIQgC1nLdSgKx46A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dWyUwx+EAz/XqmrSC5r87sWCeLVZHuwymubuSeZXowwUS2D67Gk979u8GhBTXuAa+BdKZKuE1fcYK2We+zOoLxYdDagZqb+xvCCv6PpLqEjHAOty3cYV6WISCDvpaP2dXoANRLCBq/KnlItwbrtcIKQfhmTAwEZ9mANaZtLjRtc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=TnoDzhTP; arc=none smtp.client-ip=209.85.128.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-6089b64f4eeso5981437b3.2 for ; Thu, 29 Feb 2024 01:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709199378; x=1709804178; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NIqCg2Lig+ehBNYGyTvhpjqd6T9MIQgC1nLdSgKx46A=; b=TnoDzhTPL1NMEZWMb9nWQeHeTZInkBgPurxPFKbH38pZIo44mqQN+t6kAy2aVwxtwX ygc0IC1VlxoEdbV1zVbiW/Tuk7tUaI6FR9L5hYq/cjpqoq+s0alxRTDL+tQiVmkph/5r jhsdwpAY/PeTtiDYGgLJdsQI1dP6yeSs7H0XyjbgQaL6A8CxF7xfgAxQNO+n+ljguT6W AuAx1TfyDCFT0fci2mNf20G0doXt1oPguN4lNCxkQCR/gHTogrdQT1qVFbJ2z5FHfDJS bLetwnTif5DKGj8evqSdsQ45zXUKFLfL3CnmaKJAUzYNPKslEM2Rj2+AtuHQAdMg0gOi fzJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709199378; x=1709804178; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NIqCg2Lig+ehBNYGyTvhpjqd6T9MIQgC1nLdSgKx46A=; b=PggUQC/6nfyUvO3t6ymzxl+btLGeNNnhEKL2I7dQ6jr4J6DSls09PZYvO2KqA7qgJH 2mb/GqeKsDktdxo0+v3cGeRNoDaxgIqBYq6VrBXkeWiF8MZK43hz3/JccaqRYyQqtsm1 4SI1tQrzbzpWTHZV4Gpu2qGIZ1Zv8NWZCsXRv3PQMDf5hHCxVXHccw3mTu5cA0XJEJTS yzyjR1goLvi1jT9rLbdyNTeh4SetT8euhU4K709ts8u/xCLajFSrR0iqOfyFdf7doX32 x+AFhlbxzbJEa2ujX7gwDuijKF2bkIC/RxQgJAINpLrS3uJzu4sk/2KWmb8j6iVYo5Gu ol/A== X-Forwarded-Encrypted: i=1; AJvYcCVpAMCmvP6e1MLxrpigoyrp1RrXrqV9CXlgwVZsVDNmRHZezMp0cgc6KS+MCHFzT0FwHkHNrMhkJN0q1jgd2QDc56kzFed4J5Qi/d6f X-Gm-Message-State: AOJu0YwhxyhKaJ72kzTJ7zILeeCpyx7/6HPl7mecXYGzwOULexlu1ciO yox3i5kQTVPGTO5tDSl6DUIcYtX7LN7FhImvDp5fy6K115Pbh6Yu4O1gA7yZBTrhibuvjF2xvrM Udd1ruwDxSRjSJQuOXrAx+++Gj/dAm1MZdqzCGA== X-Received: by 2002:a25:aa67:0:b0:dcc:4a0a:d0ba with SMTP id s94-20020a25aa67000000b00dcc4a0ad0bamr1554828ybi.63.1709199378444; Thu, 29 Feb 2024 01:36:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> <20240228-mbly-gpio-v2-22-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-22-3ba757474006@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 10:36:07 +0100 Message-ID: Subject: Re: [PATCH v2 22/30] gpio: nomadik: support shared GPIO IRQs To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 12:28=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Support a single IRQs used by multiple GPIO banks. Change the IRQ > handler type from a chained handler (as used by gpiolib > for ->parent_handler) to a threaded IRQ. > > Use the generic_handle_domain_irq_safe() helper. The non-safe version > must be called in a no-IRQ context. > > The Mobileye EyeQ5 platform uses this GPIO controller and share an IRQ > for its two banks. > > Signed-off-by: Th=C3=A9o Lebrun Patch applied! Yours, Linus Walleij