Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp954293iob; Fri, 13 May 2022 17:35:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfPJIEXxEQINlzUHs3VNukAonY/5SPWrs7mIdDKlJILLhBhDfoJUUEH+9O0hwX0XaBG2zk X-Received: by 2002:a05:600c:3388:b0:393:ed53:4ee6 with SMTP id o8-20020a05600c338800b00393ed534ee6mr16686205wmp.1.1652488526976; Fri, 13 May 2022 17:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652488526; cv=none; d=google.com; s=arc-20160816; b=AqYRUPdxtQMbuiqa9yJp3fADzffabnHZFpis+fVs8ByebtgIc6ygmvn2bPjhw9K65N VHUwoooRBiKr1izHezjrGfXNodcP09LF8zLGj+8wFuDc2hFNqrSpeWUzQcYtqHBsVps4 Kd3MgkXZEK/hfgUSXFcD5Lzse2ZZCvd7MdfRsA++teV9UsBTmctN5Re1KRvO6D11Ut4u R8yqwYUvfQU65rra2ooAXbooASh4tS+yI4CsuQBFcrPu7z+rZPoGmkKZRNtRutWvOQEY wRe4oKQ6dQvqiqA1aKiqRS26uTIZ3I4Mb3u59LE++J+KyMNZFNbEEzzBrpCGGdxYj4yr FkYA== 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=HjubiUyatgiMqv00qVHpUhk7CNFqV4JExdv05tj/ZJI=; b=e7c7+4CYovq/rGi6C/NrtoUL6cR5f5VP8v3I2LAplCqtFbY9PpyXxJlN7dolRh+NdF vl9Z/jvfjFX5nTVRJAWkMd01ZTuRptkzTAQBAwAsxp19es5MPTYueuoM61qkZ/+IIZWH rNwwLhMfZIODtzp8V9Ab3odOK9cdGrOEdcfNjcXOP0/X5nmvAzzYl51BEbvwJlZMAjxf FHmtYd3Xr5K9j3IfdnWApxQTOjTC7gGVUzAmpclyRHElGpb/a7BxEpgQvLTdvj1C6cs3 +OFYGLlL+7IKTAoMe/OnZHAPWqr5VXlrocLFJz04zAWVCZ04kQ4K66JlVRKDd/iF40ZL 8NFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IacgqthO; 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=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n34-20020a05600c3ba200b003946b01e004si4576023wms.12.2022.05.13.17.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 17:35:26 -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=@intel.com header.s=Intel header.b=IacgqthO; 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=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE41E337DEF; Fri, 13 May 2022 16:26:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378638AbiEMIv2 (ORCPT + 99 others); Fri, 13 May 2022 04:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378617AbiEMIv0 (ORCPT ); Fri, 13 May 2022 04:51:26 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C74E13CA27; Fri, 13 May 2022 01:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652431884; x=1683967884; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vbiwJ3oECFneiZfDrZnlastQvaXlmzzrksRp4lU3pjo=; b=IacgqthOW9r1NQKGQfu7ejX5X0s/xDrhPRDzRaCVSpePnbOPFG04c7fW FBHarerNP1HCaQ2AKy2ALtla4qn3a2dnVOIVTuAiSEuUDT/cFy23SkSVZ Q51qr+/kyTTNpZ2cvIHxxPyi+n0Xxv4eTonbK2qgdWP+a4pZZXRcbCUy9 Xbp1lFNENva0T/sgEFGyqbZuKrSc/PDZjcMYjGNuTwPCw2RgQSXr83odV fz79C66cJntyodHc9JK73YZuT/TCXDPoeV4hqM+4OUrfxzHUkoeQCvdRu OajucK3g658sbWbOs1t7rnpOezJkQ35+6gk+M5HSY7uPioeoJN+nP9RNZ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="333290234" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="333290234" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 01:51:22 -0700 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="740078163" 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:51:18 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 13 May 2022 11:51:16 +0300 Date: Fri, 13 May 2022 11:51:16 +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 3/5] pinctrl: baytrail: make irq_chip immutable Message-ID: References: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> <20220512173921.8210-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220512173921.8210-3-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:19PM +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 offset for > the sake of consistency. > > Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg