Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4719340iob; Sun, 8 May 2022 23:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeCE6y/f7MTOsMipJgSirSuROwP8hSefrDzEwQJRVFDuwkhYGCjthylZQIT1yaBbG8AeWr X-Received: by 2002:a17:90b:4b91:b0:1dc:3149:1749 with SMTP id lr17-20020a17090b4b9100b001dc31491749mr24780763pjb.46.1652076576567; Sun, 08 May 2022 23:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652076576; cv=none; d=google.com; s=arc-20160816; b=l/Q0SAgER/381de3NzYTvxwV2sso7Httz52O7Sa7wxLGX5WqkUPZbx78rZtv/mpXaA WekY6wtOuOqd39/iNM+rf1ocfbcd5Dhy7pIX26YDQqZm/DYi2bGNtvHAy0jDiofu27fx 75KOtj+4QkQDCGegp65qcZFwPg/LWCXfCoT0I1UwXxRGzdXzZo9ajkfxQ5rJHxmzp9UM qOSU1E6aNPGCF3gmeGl2NpYLY8lBza5C+kqYScoZzP35qN0zLgUd4ydWXjY16e/8Ykf0 D62wG9VoDOL0v2Qzm1C3nVafUQynB27HOXpF1rTMYykisQaQK3p2cB3mNI2hjX8o6/2s d4zA== 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=itwQmk9bFYO+8h5+8UQlusX0L8GjNqC3Wvy7gCAZqyM=; b=bDue5CO0dUy1OfP9RhuTzF/1YG1hBOwyhoUcDm9RaMIIMdB1eOtMRogx8H8n/o80E1 XosWb+iWmuBZ8YqrySPsqdAm07d7sJ0HjF/1Yv3u5C5h3YtgyeZmaV0oqDTkfHOsC8ar Zt/D8U62qOCd1flMnsJKoomhTr8T83DyYrIHvB68ae9d+Uw8F41MdNEIIfRMsIpsb18D tnOorPr7P2uF9sqrSmDE2knVC40LbwlQhXzUogMY/8rSiMUZk4wxJ1b95OTtJSwO5LTi CirBUn1WD9izJKIDzx/goeL4uXEK3FRlypmP/WtCVjsUokHS2NFtSv6GBQhKUF6vXx1N IMWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cuvz24GW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u8-20020a056a00124800b0050d469d0d0esi13659637pfi.204.2022.05.08.23.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cuvz24GW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 075888BF4F; Sun, 8 May 2022 23:09:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381108AbiEEPJu (ORCPT + 99 others); Thu, 5 May 2022 11:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381152AbiEEPJU (ORCPT ); Thu, 5 May 2022 11:09:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AF01CB22; Thu, 5 May 2022 08:05:39 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 5DA7B61BB6; Thu, 5 May 2022 15:05:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2778C385A8; Thu, 5 May 2022 15:05:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651763138; bh=AV7Ctm48EGltuTuBFDYE7IrEPNSYirdqxElT2gUK6aA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Cuvz24GWC9Qj3KZZ53ITYSvcMm/bfiFx/kZzyWAwYEtWo11Jj37pz4GQQQD22LV77 +7Ae6IIZbVryRwEOD1Bxjuurptoy5/xtLQ9MW7c5hdQ45SC4M0eRKB4uses+Z1ak2P b+S+q/8Oa5uGFV1kQKrh6NJPJanNyWuY6Kaf8NddYfZdPTD7Psmy++ZAEEJFcObXmz uSle+r3FeYBqKXxLIP6sK8GofGsuglJUajLGFnXgzLhPKsTtzqDpFNOiOZydwn9ZcM Y58KyBWpG8QlBykTURyXxB+uvR5coBptIV02sndeiljhmMqDZLjP9XKZbAoqvoWRue nCRP4vtwqiK+w== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nmd2u-009EuL-7S; Thu, 05 May 2022 16:05:36 +0100 Date: Thu, 05 May 2022 16:05:36 +0100 Message-ID: <87y1zg6mv3.wl-maz@kernel.org> From: Marc Zyngier To: Linus Walleij Cc: Michael Walle , Lars Povlsen , Steen Hegelund , UNGLinuxDriver@microchip.com, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: microchip-sgpio: make irq_chip immutable In-Reply-To: References: <20220428111622.1395831-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: 185.219.108.64 X-SA-Exim-Rcpt-To: linus.walleij@linaro.org, michael@walle.cc, lars.povlsen@microchip.com, Steen.Hegelund@microchip.com, UNGLinuxDriver@microchip.com, linux-arm-kernel@lists.infradead.org, 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=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, 05 May 2022 15:55:01 +0100, Linus Walleij wrote: > > On Thu, Apr 28, 2022 at 1:16 PM Michael Walle wrote: > > > Since recently, the kernel is nagging about mutable irq_chips: > > > > [ 4.967050] gpio gpiochip1: (e2004190.gpio-input): not an immutable chip, please consider fixing it! > > > > Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new > > helper functions and call the appropriate gpiolib functions. > > > > Signed-off-by: Michael Walle > > Patch applied after pulling in Marc's immutable branch. > > (Hm a bit confusing since it is a immutable branch with code > for immutable GPIO chips ... I assume it is both.) Both indeed. Immutable^2, or something like that. M. -- Without deviation from the norm, progress is not possible.