Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3268182imw; Mon, 11 Jul 2022 05:32:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tNGM6WgayhHVc4KWqw9QNbDBTUT88kIUwk2lJNDTK4Z48uy3RLQd3wBL1D/xegqL4YHHPu X-Received: by 2002:aa7:c683:0:b0:43a:13fe:9c69 with SMTP id n3-20020aa7c683000000b0043a13fe9c69mr24591094edq.353.1657542741600; Mon, 11 Jul 2022 05:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657542741; cv=none; d=google.com; s=arc-20160816; b=xzl13TQFx2TPq4m0q/KlrNkEyji9CTjbVUB4X4cv7J+d9WdxrLg+k5R1/2nlptoR2o kg/DBrOyy/ybdjhWze4Wec7+XoV8znqvBF+PzmdlWscERpEc+moWGrI2pZTyblH19tcj eDeqT69EiBrPV1iVzRnO/o8TgpgtrQNuG3dIUGSQY/XKpD3tNlzw8X4X81aPuJ/iLczH rE/RM4LoFjhizXvm13aS+he3o/tbsfkf3S8aUGd31AhQ/p1NSu6runGlul7nwMdRtqkH GMRfCpVIEf1db1vBZGkFqzbYSZx3p4cFZ646kuD/yuGUeZjOzxKE8ajq2CNW/eDIQqxy 4bxw== 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=fc0PtwUweiQ9pzsOaOGFjNkymJkFNLrkGpP7BL52FuY=; b=sCgYNOefQeHGrclILi6wNUEZDYO/JrhP7TaGC/TJazGSoYh7GkKSuwDM6RfUSyjJKV rNB0daYU59ZiAo9YZ3+xYldvCAvYqD6Z/XRAN53Uq2eueAaf4Ku5FrdBtkMS51xHCPjc VgSm7wBk84lYSdhvqqUtHxTX7yol4IIOmIK2QGTDH3T4M8qhAgpw/iNGTf1qkmTzRXhP wTlvKsj8VAWU/hT3QXxJI+XI2oA2myQxa2xWyXqN0BJ0eQQzIO+NCr7RU6wmXEG4MoZ9 RSO7cNhUuLHjXiy27ZF/3tG5u9DakzoiU5m+1yBVwGgOM+MuFtJlT20elsDHzPlJuPel 1QeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="B//aEmTr"; 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 l1-20020a170906a40100b006f3b5fbc9easi8462895ejz.904.2022.07.11.05.31.51; Mon, 11 Jul 2022 05:32:21 -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="B//aEmTr"; 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 S231596AbiGKMOT (ORCPT + 99 others); Mon, 11 Jul 2022 08:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiGKMOL (ORCPT ); Mon, 11 Jul 2022 08:14:11 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B4F41D3A for ; Mon, 11 Jul 2022 05:14:10 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id e69so8387763ybh.2 for ; Mon, 11 Jul 2022 05:14:10 -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=fc0PtwUweiQ9pzsOaOGFjNkymJkFNLrkGpP7BL52FuY=; b=B//aEmTrhqrisoWA1D48UdfOGerRxLSBAaTNNahCw3iNiGDVPMD2caUWvYOQCI2jKk vTKlllemVySF3z8K9VtKRjuvGnXtmOMEK3bH7sG9hQstt5VxpeWaPxt/yd7ZOVxD/yWX RNaZZdxcew6bpKf9BG+STgTfO7R86LMPzl1+3GsihmHvkZHSUlYYkKamCWXO/p70bqOx fs9RdByVchoLzXIcdciQbx35HhRGcQ58aDT6D1vBJy/3dHNs07bzUm/5tbrT6IJM7mE/ /VQq+4H5zsSPI9ZigE3E8MSX9adRrc5yoILqKfz95N0nS4+PlgGq/UsazXc5ahBj+/MD by9A== 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=fc0PtwUweiQ9pzsOaOGFjNkymJkFNLrkGpP7BL52FuY=; b=uhxOkj0MlI4gcfy33op+RDBomrHTo8PnECVEhfeA3s/SuwJbLpqhZOnUc2d/erLyEL 1pkSQJcg+L8Zp0WykC8TjpUpt0KNNJPGjapgXgQlV8MXYXmbbRje8RbAs8Px+dda8n5v uKarcEwhqKIBtNjghB83fszR4DCToxf6RiE86KDADit7nPQyBp2dOVm8myhpFw6OIcjB SgSb8/QDVB+jydqoawSZPRjzWvJeDVlbxEmiVaclKKb0o+DgGUWpifSa1rXfoFa1suvq MPUWi/ztFB1kpp2W1X62ktEDcKGAFQoWCI7RbP1sJBogoWw08e8Z9w4IghahxH1y1fPI Vl4A== X-Gm-Message-State: AJIora8dPTTAL4LwjJVPtb3kIuCpqcXCwgRzvB6hHuaLNznyLjXX9Zdn mLDceQWeBMfA9FXHjvmaRyTyTANHR1gCwarSWuNfUw== X-Received: by 2002:a25:e00f:0:b0:66e:2aa9:82b1 with SMTP id x15-20020a25e00f000000b0066e2aa982b1mr16611856ybg.626.1657541649979; Mon, 11 Jul 2022 05:14:09 -0700 (PDT) MIME-Version: 1.0 References: <20220706151553.1580790-1-michael@walle.cc> <20220706151553.1580790-2-michael@walle.cc> In-Reply-To: <20220706151553.1580790-2-michael@walle.cc> From: Linus Walleij Date: Mon, 11 Jul 2022 14:13:59 +0200 Message-ID: Subject: Re: [PATCH 2/2] pinctrl: ocelot: make irq_chip immutable To: Michael Walle Cc: Marc Zyngier , Thomas Gleixner , 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,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, Jul 6, 2022 at 5:16 PM Michael Walle wrote: > Since recently, the kernel is nagging about mutable irq_chips: > > [ 2.593426] gpio gpiochip0: (ocelot-gpio): not an immutable chip, please consider fixing it! > > Make it const, flag it as IRQCHIP_IMMUTABLE, add the new helper > functions and call the appropriate gpiolib functions. > > Signed-off-by: Michael Walle Acked-by: Linus Walleij I hear that Marc want to queue this patch with 1/2 so go ahead Marc! Yours, Linus Walleij