Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3162379imw; Mon, 11 Jul 2022 03:15:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vRT3ryCxXdDblaPVaBGd6ZOfmrbMcBPRw6bbG3LSfMOsdENw2X8vM4ZGJLdzhTPjBeGWKm X-Received: by 2002:a17:907:7395:b0:72b:1c78:7b8a with SMTP id er21-20020a170907739500b0072b1c787b8amr17765546ejc.98.1657534535489; Mon, 11 Jul 2022 03:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657534535; cv=none; d=google.com; s=arc-20160816; b=WbffxoaWVU5MxDRfaaTuFAMo7ApDBLEYnzMGsM3QcD2Wit03jKliKlpVFcckfTx34p ZRN5PTKuK0ETNAlLyFF4UDkvoOkYvnw3QGSKZ91xnKwfPZif5WSHDQh28WRA9PekN3m9 BqG/E0O7ItMfaMMGi+04xO2QK3pZlUtCYtxiXl86Ji61cFI6uKI+fz61H0YvJmAHTDdo WjAkUEY4Pog7zwx1OiTj/GSaAazp5D5ucwn//qBp22Wez045q+I0dbMXda1pUTkJt67g YIzapdV8NdTz7vGoArKwlT1plFwK45QY0nVNLDbOE0z3HfReRrRqbmPzL+zbYtjwYq9d IYiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=dLEPJ+5uW/XUS/dMY+yFbwjV2S7V0u+BqRl42tTz4+o=; b=E+SjD7oW9JrOOuSnGL50SZ7OazvRZaWrp1a06CmQKwRi0VL/xOUba5vPSvwZ7qR+W1 K0gWWWBwa7/P/t7pe54zrgjpH3mi2mAs2o+ntGVPDosBfHF06RqEhg1aQozvEZ3p9rme q02/aKHLDggdSR8G4pZaRWiGhTdRkGwQW6thMve4JwtuIUNDclsgvttSvzz5xyJrRGfh 1lK/LI0yJa35fIwZEOr6IiSRTliA/ohpQFAsj/IO0gXk3qdZ13VWvWI9QQNOAlYxpILE KK/GW8UzF1yeNpf4V3P+IXAXR33IA2WFhflSDXLPVmbGRhdkr29hZImLSiXT1nDS50iy wekA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uccqbRKR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gz26-20020a170906f2da00b0072a605a57e9si8370736ejb.329.2022.07.11.03.15.11; Mon, 11 Jul 2022 03:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uccqbRKR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231670AbiGKJTb (ORCPT + 99 others); Mon, 11 Jul 2022 05:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231673AbiGKJSq (ORCPT ); Mon, 11 Jul 2022 05:18:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD4B12095; Mon, 11 Jul 2022 02:11:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CA15FB80E76; Mon, 11 Jul 2022 09:11:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77686C341C0; Mon, 11 Jul 2022 09:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657530713; bh=zS87bKfiJIBHsso19uIT/c9zaNIHwuFgPFMQtBCi4wM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uccqbRKRyGtyqdtGwa8zsMcpTJbWNuT5AamvOMy8aozPi/cG0jpRz9IF/gOGPbdh4 0eOj9pMD2wM/aSU+cahwkGya44kyxI0OvLIHGK6rGDD6wCGHWnoSEcUHVN47QNW5XG VdyWNPz6mDxC/1qgsigvNPxXTuo7VHH5LQwl7JYozR3EM7hxR8YclCZdpFHKBrkWLm KwakGe5UPdS7eCIjsVumrB8YJM/hFb+IkFkeE1OApiHdab3wxme+fu8+XD4dUzbH19 QotTTwmIjkSqgUoK/uH4EaZYhgKSDL0ZZNvi/NhUjZdfKcOEvOeJn0kl41TqUxLFwc A2Bv/l1cQIrZg== Received: from [213.208.244.172] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oApSJ-006ba9-Eb; Mon, 11 Jul 2022 10:11:51 +0100 Date: Mon, 11 Jul 2022 10:11:51 +0100 Message-ID: <87k08kko88.wl-maz@kernel.org> From: Marc Zyngier To: Michael Walle Cc: Linus Walleij , Thomas Gleixner , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] genirq: allow irq_set_chip_handler_name_locked() to take a const irq_chip In-Reply-To: <20220706151553.1580790-1-michael@walle.cc> References: <20220706151553.1580790-1-michael@walle.cc> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 213.208.244.172 X-SA-Exim-Rcpt-To: michael@walle.cc, linus.walleij@linaro.org, tglx@linutronix.de, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 06 Jul 2022 16:15:52 +0100, Michael Walle wrote: > > Similar to commit 393e1280f765 ("genirq: Allow irq_chip registration > functions to take a const irq_chip"), allow the > irq_set_chip_handler_name_locked() function to take a const irq_chip > argument. > > Signed-off-by: Michael Walle > --- > Given this is the correct approach, can this go through the pinctrl tree? > Of not, do we need an immutable tag? I'd prefer this sort of change went into the IRQ tree, as it potentially has a wide ranging effect, and that the rest of these changes went via the IRQ tree too. It makes it easy to take the branch down if something goes wrong. Given that I already do carry a bunch of GPIO related patches, I'm happy to add that to the mix if Linus ack the second patch. The change itself looks good to me. Thanks, M. -- Without deviation from the norm, progress is not possible.