Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4619359iob; Sun, 8 May 2022 19:27:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu1OEgp7qourutr3lcL2dXYuuMLBbCX6Z/+ABM3AVphjIe7qu5E07g/0lWl8wG50gKtnoo X-Received: by 2002:a17:902:b941:b0:14d:af72:3f23 with SMTP id h1-20020a170902b94100b0014daf723f23mr14438297pls.6.1652063259927; Sun, 08 May 2022 19:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652063259; cv=none; d=google.com; s=arc-20160816; b=py2u2/frnS13ktQXj5sZlz8wfM7eNb7oypGrLKYPcsyrDDPyJ3LYFpdEcs4tWBqpED ZPIVhh8cPO6CnRYbORrRlCFR9xZGe5Yzr2ZsVw4hPcQKSZMCBQd494QAXdUMZDtvW5Mu B4oI7lJ1r6ESw3h++ViBqTd/x8YlghcX2OjEl0riS2j2N/esd8tWvp3Nioq2kLO3K3cH rR1LKU1v+z5TMURPcf0jmErw+ZqRs/9cgfP1pcEhWAp5iRKF9x2AxBWavYTi2htIO8Br 4dAJ1ay1MBrRvLlrSDUpVWBv7lyxb/JVnBd1VPqQCU6C+W0M2shAjhNDlfS+lUlH2fpE 3yKw== 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=aGHiFO3Q2GyTnfB7Hhe97atxz9YJ8sx20qf9bbbh8jo=; b=qJlXxjlM71IIMN2RJnFnRBoXZV+zyUraBJIzrqxfxk12Uv11oe4DkRguhRW7HnuqtA Hbtni4j717Bbw4UBlEJ6txIlq7SOPZgW1sQ9K8bAXQuOYuC+WkqA458OYLPgevnCOz2M S2Gesw2599I9biOsjeTPhJDOQO1SBPEl7y7BxSlxvrYXZyBERuzaqBPBRXx0uYc163VM hD1GeV6OZt6lot7lQKxQ6UpUSY5kGYtK/QXz6LWRlCv6jLXdwTtfKdEVyFgsj2x0KnqA f34WJpWRPhrag3KT1lrvGmhj49Fi7zyGObpzfpQgZr7zbKaxiC8ihBtF8OJPpDHb7hW1 kIzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VFh+snB9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i135-20020a636d8d000000b003ab894d29b3si12502121pgc.223.2022.05.08.19.27.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:27:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VFh+snB9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 13DFD58E4F; Sun, 8 May 2022 19:27:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380891AbiEEO7C (ORCPT + 99 others); Thu, 5 May 2022 10:59:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380882AbiEEO6x (ORCPT ); Thu, 5 May 2022 10:58:53 -0400 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45AB01AC for ; Thu, 5 May 2022 07:55:13 -0700 (PDT) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-2f7d7e3b5bfso51237497b3.5 for ; Thu, 05 May 2022 07:55:13 -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=aGHiFO3Q2GyTnfB7Hhe97atxz9YJ8sx20qf9bbbh8jo=; b=VFh+snB9uGYQmmKtSbOCoSL8JSFtaNxu2zjGmnaWE9f+P24swIN4CwpvPFCiTmB628 54hkjrMLWS3tFUDpDwJ4ucT4uHnT6B1BkgT38p24AQDA6NKt+F6EUMVzD3R3K2BOavDL xjwfg7WGPF16Q9jWNhiEpU1P0xJOUOzBhsWNtjzQjzbKxchDwjGZBr+jtIZFm3tLAY8J 4eQE98LGsT3IC/DEU4oFJk3os0o/RRc7mNal1DrKji7OvhOoKROfHtENqL7cepYScYsm nHRW/F7NiYhTVXGlZWWWRgBnPO+yMZizGlIFUm2nrgsP2gGW/j/Tckcsc08ulup4jrDo V9yQ== 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=aGHiFO3Q2GyTnfB7Hhe97atxz9YJ8sx20qf9bbbh8jo=; b=1gkqOqXiO0U4DmKYvb1wZoG+qPI+2EKGoUvXOBjpy3iVHP9HEzXjJpv7ypcdKOZoLt t2uiH2BaASIAdC9PW9aJDr7QWGx9wL0hau/odUKVy/MhFevS5KgsYzpYhVGvhRzpvjun 1OnYhQbZX7BJ8tsj6KxgIJuESJZQRcAWGW9mMnarkfhb33J1BDUHDR313C7wzYh+QFUO cDqC1/izLMZegckjLsN/CmnDgI0M9zZjhUjf5ntpN3TRN7B0etA61XaLVbLhg/V1pDE8 0BMSIIrHpjDE6gN6QSQ4pksDhX8JEFt6QL4MJzjpy+FzL795A/zHISIAi1orBJuaFrG9 tOXA== X-Gm-Message-State: AOAM531qaCbnybfcl9F5TmyjIBdsHd/XwCV19aUsTRolZR2aC2IsUmux cc0UWwfEiRCCXYjAzNOpQB+8w8PDNhu5tkgqnnwA5w== X-Received: by 2002:a81:2154:0:b0:2f4:d79e:35dc with SMTP id h81-20020a812154000000b002f4d79e35dcmr25016995ywh.126.1651762512406; Thu, 05 May 2022 07:55:12 -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: Thu, 5 May 2022 16:55:01 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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.) Yours, Linus Walleij