Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1504499iob; Fri, 29 Apr 2022 06:52:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwON6TL0IgPDcplWHmgek5QufAKuaHgvyq9mRugND5WYHtq06obboL1t4u/ImHL0zQwCHAB X-Received: by 2002:a17:902:b7ca:b0:15c:df6a:be86 with SMTP id v10-20020a170902b7ca00b0015cdf6abe86mr33063149plz.70.1651240335078; Fri, 29 Apr 2022 06:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651240335; cv=none; d=google.com; s=arc-20160816; b=KOg9lBevq4Zx8NBOOMp0YA3mvrhpTyX9T8PxQmbT/hYeOd23x6d3ua0NDovS+VlHzP +1+AvlCVbOh00ABWkWEDPjsgBYMTIo4NC8V2AqH2tkSpjIUNRDY843kzQUMPBmq67SJa eF3CNyIp9aF0PrETqxbxsILLwDeg7Likdi4s8IMJ2lL9YpMPgrxprSfGKSSCApKDKaAW XeJk3q7GW6tDIxDuNkpr+HyGwU7B8YoHCMwdydVN5mCwVHrNozS3ns7ZyeAPWk0txocU enJe5W0ArELffVSncsBirlJk6dR2PMvFIM0Kkw+Dax2KgxWn4X4H3LWrLWVguVLIEKmW g3pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0feeoMrcWszYCfSrxHSgx4H/3IveYcwWC4Cl4lgiGH4=; b=VZWTVUig+drddVkMQHSKju1nfJPVBo+H5KSseJBIlsl6DktDBGCzN9jEkviBdhgF9t 26R4I9WZdxDUrhtfpcuMpsyffuzbScU9Bsl4eZnYqLaAXr27cZW3UFMvuBv9HwHBOkwD F28PShWDvLLVhbCngs0jWDMeln4ruAhWnubDHWIkz5lA04vQ+4eslP/YbFsstS2FitfJ jR7vKMDawupFMC3G/DjtLWU9nXx1xgYbr6UgvjKVrCK9CY9yKnKowN1bBQP7CwuOBqtk NlYj+Hi59fuMJ0Ur/IRtc7tmrRTQ5xHiRaQmYzBocpcIT5oD7i4f1VlDiXYFotz/XM/v eFpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ixUNmBFV; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j190-20020a6380c7000000b003c1922a1016si3329744pgd.252.2022.04.29.06.51.59; Fri, 29 Apr 2022 06:52:15 -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=@linaro.org header.s=google header.b=ixUNmBFV; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352908AbiD1WiD (ORCPT + 99 others); Thu, 28 Apr 2022 18:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352904AbiD1WiC (ORCPT ); Thu, 28 Apr 2022 18:38:02 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B167C12EA for ; Thu, 28 Apr 2022 15:34:46 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-2f16645872fso68382937b3.4 for ; Thu, 28 Apr 2022 15:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0feeoMrcWszYCfSrxHSgx4H/3IveYcwWC4Cl4lgiGH4=; b=ixUNmBFVgYwgdLVwJIRe4IdaB6TGEHx+HLHPTiwTPLr31WNdRttL2C/OZf+7ep2n0+ xl7MZ+kjlYuatydCbkMYlC4+wHU22lq919Bsie6bgrXCm3IG3dKJMWE+j/2TbnPshb46 EvbhV0mNdoyWW5GeFCMQpIoVM3ZAFEt/RM2xfLlXhGEC6X9NT5W0Bx6U+NJIEom2VSTZ gu8ZrgVK4jtoOWRC+ZNthBvnpwUv9Dutk5AkoncraxV/DXT+IV813VWCa8IfcGDSLwLJ Y+5LxbsY2CE49BKq+mz9LwBggwJgd8CEMvU5yluJrn/b8APR/E+AlqVHhXQuO5NV/0tH 5IHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0feeoMrcWszYCfSrxHSgx4H/3IveYcwWC4Cl4lgiGH4=; b=yP2hO44oyOoKVzrIFGtRk8rXlybfF+kr2aZk0wudSnqPCmj4+XE5K1SnknEqG/z3ZI oPhOpesZvFK+nWrXzs6HLgjWfng8X/zXEzn1MDy7zPK6tZ09QodlYnYuNCYg+JAY4Ne6 fE9Gh/cvXphugXU07x8NUfzWb4+91AhZilUc6aKZrgFrERdqY7prcJINj5UPZ2xYYx6F t9YtrQuQ0aboW3i0tlDqe2nTELRToAy0aoyAa77zb78/oFbuRMqP0sZ4udmdvI/SN+4u YNjBwR4EUeQVSgeviuq1lmtJ3dB/ppNR/GNOIqTwEfHTBmx0OaWoOp5V0yl34I9tKTbe lWOw== X-Gm-Message-State: AOAM5317C+fNQToVzXVUrp4ZEEcEJQMghUj8nC5c2h81kNeuUCC+/6lJ ezteieWr+ZW6dsIExeI0Sw46IvdkpJZV4oym9Ic7CQ== X-Received: by 2002:a0d:f0c3:0:b0:2f4:d291:9dde with SMTP id z186-20020a0df0c3000000b002f4d2919ddemr35531921ywe.437.1651185285368; Thu, 28 Apr 2022 15:34:45 -0700 (PDT) MIME-Version: 1.0 References: <20220428111622.1395831-1-michael@walle.cc> In-Reply-To: <20220428111622.1395831-1-michael@walle.cc> From: Linus Walleij Date: Fri, 29 Apr 2022 00:34:34 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: microchip-sgpio: make irq_chip immutable To: Michael Walle Cc: Marc Zyngier , Lars Povlsen , Steen Hegelund , UNGLinuxDriver@microchip.com, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 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 I'm still waiting to see if Bartosz pulls in the prerequisites to the GPIO tree, when/if he does I will pull it in too and apply this on top. Yours, Linus Walleij