Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1021631iob; Fri, 13 May 2022 19:58:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMq6OU0HpnXbpysPZiHciP1WUSd+FatFyXjHmNhRHaWYtZfVYbVwPt7AGMIO0Z3UvlLaOO X-Received: by 2002:adf:e646:0:b0:20a:c4fa:4991 with SMTP id b6-20020adfe646000000b0020ac4fa4991mr5934314wrn.413.1652497109416; Fri, 13 May 2022 19:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652497109; cv=none; d=google.com; s=arc-20160816; b=ZVWUIhgAlHQqbECa0ISgYqD21lrorgg04JeDuq70MHOzh1tP1s8WlDsJVW2oqMBvBK BzhmcI0ocP/fhLE4g+5ZNIKSf+Km7975A7VdFoNuuJPpRGxL0D2HCwSxcW2mDTyCZbtx zdpBBB7SQn+vNhUamtPfO5tfzM9bryWLU3YhSKA9w2Tzr1jYmOJp6XRK6zl04LnF105C pF09hoB5wCyvPQ94OoxSPWdf5wpum8cY79YvBnEtMgXifMaT575ZcCKORUYT5z+HPijM oOgSE8s0FdPyamfYvyhQCGIBq7Jxx7lym8BKfLdp0tV8uZRQZDa6bqCsiXeS+5VfxJix CDag== 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=b73cUhR92OSCiqharpewzIkWRa9CStLiYcz8LDUkkK0=; b=VIBtLS+deD0EXBWr68q/s0rppa9E2vhu7mhYcJswm3moajJCgbu2Qs9YzKFbURsPDI Y/uiBUVOr23QNsUp1MSHSuY77RdaGLbttbIaLz2yj9aCP9qsr1P10WZ/VfhzhEaOybzG sn+XxjgkLpnx8zrJKWZq6WWuHgNteOLDYWnaF0agE/8C6WRghnLFFFE4gpokY87dcS0m bIRIhljauB7OssOuaixixUfgSJ/vzotGYS0WZzFvxsrNNv2itGT/V00w2snVKEGpVmfM Gw+pa9ekwksctuHoBNsy8kcCVQT1ks7JdEkS1Yt7J6WmMHWD8+EQgTd5iPfewLy7h1Jw HkEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZhKP9J07; 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 be10-20020a05600c1e8a00b00393fc0614c1si4016308wmb.42.2022.05.13.19.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:58:29 -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=ZhKP9J07; 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 785F6397362; Fri, 13 May 2022 16:42:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352610AbiEMIw6 (ORCPT + 99 others); Fri, 13 May 2022 04:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378706AbiEMIwy (ORCPT ); Fri, 13 May 2022 04:52:54 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E147D2380FB; Fri, 13 May 2022 01:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652431972; x=1683967972; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WPHRLNPNME0NDGQGoQpZR816AnIOnZEm73SaRs8RZSk=; b=ZhKP9J07VFgxdQSL5ot/fsGpx3KrnmqmkqTAIxukBk8eYMSybDHTWj9s VF/SkTLc16M7pe7S17zrbKtcWeFgDARv+7yyU7tqK+BmyurhPdCJ82Wxl vTLeyfdUH/SMQLD7oRgKLOBciNbeP5RzkFyT1LD8j9igUsz2o8Vxgf6/C oZ5nyrswwp8AL1qDV3aLLqz2vqnVVIWjL4vr0Jq5POBcP3vk2t8ok6oCy Xks9qNjKAqeokzVFdx4Hkbpgm2m9ZYUoJ9EWIYDCwCoPTcVpInfN/dqBR FgciyQ9TTHyvNr9IyiIvw74Y6U3EI/8hA1GKAKXHdhnKOa36OUiqaQ24B w==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="269926776" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="269926776" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 01:52:51 -0700 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="671254140" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 01:52:47 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 13 May 2022 11:52:45 +0300 Date: Fri, 13 May 2022 11:52:45 +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 5/5] pinctrl: lynxpoint: make irq_chip immutable Message-ID: References: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> <20220512173921.8210-5-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220512173921.8210-5-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:21PM +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 hwirq variable to use the correct type for > the sake of consistency. > > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg