Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1042543iob; Fri, 13 May 2022 20:47:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWn5YMyI3SdZ28B+vTGLBnoA+e1YQ8kWUF5iNHTME39Y91knk9Zd/Wanon7iTv9kOJoSdi X-Received: by 2002:a05:600c:c8:b0:395:a97c:c458 with SMTP id u8-20020a05600c00c800b00395a97cc458mr7098566wmm.119.1652500063028; Fri, 13 May 2022 20:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652500063; cv=none; d=google.com; s=arc-20160816; b=cge8Gsu+M+iy870C7T/psrp6rEkBMl7xX81OFIUGLS6gu0gm8vGuJj6rguJ2pOCAhp RGUwAQy9pUi2DBs3OihxxkSer1saAQs0foSDKYwrKHfq+4/Htheb2eCVlSVUU8DZktGC Q0eRGuR6saWX6LLRT7NN42Mij0fI5OtndpRthjZ7Pr0xhsOIvaOuenHXD26PxKY+MFkR cbkpnX08O1zfgysuKnK5pVg8sB6iytloK1zzDJySYuk5F3DsIEW1naR4uC4WfBGc17Ji PWwrAR5gPfPj90/66DO+Wk78PPjQaoGIYDLu25dI9p8LQsogFUycxlVHi4jMXdmAHnoh +Nbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Q2uzOgqCbbUH/9abN6Uc74rrIjUdpJOJyF47RHA6kz8=; b=bIknI+kUwYYIPahmdYM95LkUeiCQs0sSePXwBXfOnqKwAaFqRVaFDdY9Ra2sdIdnWP igx0y4NsmVhL2XMBukFVglMmm1AA96GN/0zTDD2hE/46EbLRjoPE7cg0dg2OxyEQ0pxj 6iqHHamDp6BUvuu+k6FLoxPiJgWldqQCdB+Baz9kxQ6vEGTPhSnz4m1fLlZ4d3VnHJaE 2C4kXWlm37ZfF41ljyTLxYa0SZAZlrkIffB4L1G8kjhM+XKln6Gmm20w/8NPF03w50nl 8/gAwM6Jpsh4S7v2zMQG4Qfow1XXqm2oOG659fdpkUgxQO3TY2xAtsVY0W/htRf6++bP J/4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SQOg+wZD; 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=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v127-20020a1cac85000000b0038eb0562445si6563562wme.152.2022.05.13.20.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:47:43 -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=@intel.com header.s=Intel header.b=SQOg+wZD; 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=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 718C846C673; Fri, 13 May 2022 17:21:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378696AbiEMIwQ (ORCPT + 99 others); Fri, 13 May 2022 04:52:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378684AbiEMIwL (ORCPT ); Fri, 13 May 2022 04:52:11 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07AD12380E9; Fri, 13 May 2022 01:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652431931; x=1683967931; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uYn+WuPRsWoXZxNkCTtEQjQ5w4bTUeHB9c4uuI66TJ0=; b=SQOg+wZDd8xi1OG39nboR0tZyQbzgwElhMs55bCPnVoVFtmll4ZcxWDS ASoxLZG/33VM0t4surzoQpPfMYi2kTYPuMqQyPOmaYgbcG5h6iBL3SSnr HI1VwPTtp61akQy1eH2HGHzinr6WrjRNpPT3MplWsFBmZW2jIbrOyYVn7 2A++btJNDhByq633bZKG+DBRqTFmvXQgjePdi25WtQotEGmuruNLvyCV/ IcurnYxJa9H3OeHzFdXsy6FzpAGesNpZuDC02gN1Zqx9Kg1v2ipcg3nKn uwdmQETYDBJxd60Vkp1qZnVyt8wot7uWXM8I7lRvKy47nMO1s6x8myCR1 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="250155988" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="250155988" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 01:52:08 -0700 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="740078333" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 01:52:04 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 13 May 2022 11:52:02 +0300 Date: Fri, 13 May 2022 11:52:02 +0300 From: Mika Westerberg To: Andy Shevchenko Cc: Marc Zyngier , Hans de Goede , linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Andy Shevchenko Subject: Re: [PATCH v1 4/5] pinctrl: cherryview: make irq_chip immutable Message-ID: References: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> <20220512173921.8210-4-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220512173921.8210-4-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, 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, May 12, 2022 at 08:39:20PM +0300, Andy Shevchenko wrote: > Since recently, the kernel is nagging about mutable irq_chips: > > "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. > > While at it, switch to use hwirq variable instead of pin for > the sake of consistency. > > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg