From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CB0AC433F5 for ; Wed, 16 Feb 2022 10:57:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231233AbiBPK5Z (ORCPT ); Wed, 16 Feb 2022 05:57:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbiBPK5W (ORCPT ); Wed, 16 Feb 2022 05:57:22 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A8A413CD4; Wed, 16 Feb 2022 02:56:57 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FB5461981; Wed, 16 Feb 2022 10:56:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 170E4C004E1; Wed, 16 Feb 2022 10:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645009016; bh=xiKkGXt6A5YyFmh0j9sFGYDcn01l6stWZ0ZrxZi3xnQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h5zl08o+sRwz7zLT+C/yhueFZ1XZJuJczlZGxiMskGNbC3LiPyuT5xD/AO5dWi+AG 8eZuqKanClgeUhcMSPtjg8hxEEKuq1eLtdzsAd7q7ukpoNK/XUOI1paJo8/BGLEzVj 82tsRrznSB/SGRDXNEw31w/ietNkl9hr1LUYPBOw= Date: Wed, 16 Feb 2022 11:56:53 +0100 From: Greg Kroah-Hartman To: Marc Zyngier Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Marcin Wojtas , Russell King , "David S. Miller" , Jakub Kicinski , Thomas Gleixner , John Garry , kernel-team@android.com Subject: Re: [PATCH 1/2] genirq: Extract irq_set_affinity_masks() from devm_platform_get_irqs_affinity() Message-ID: References: <20220216090845.1278114-1-maz@kernel.org> <20220216090845.1278114-2-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220216090845.1278114-2-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Feb 16, 2022 at 09:08:44AM +0000, Marc Zyngier wrote: > In order to better support drivers that deal with interrupts in a more > "hands-on" way, extract the core of devm_platform_get_irqs_affinity() > and expose it as irq_set_affinity_masks(). > > This helper allows a driver to provide a set of wired interrupts that > are to be configured as managed interrupts. As with the original helper, > this is exported as EXPORT_SYMBOL_GPL. > > Signed-off-by: Marc Zyngier > --- > drivers/base/platform.c | 20 +++----------------- > include/linux/interrupt.h | 8 ++++++++ > kernel/irq/affinity.c | 27 +++++++++++++++++++++++++++ > 3 files changed, 38 insertions(+), 17 deletions(-) > Reviewed-by: Greg Kroah-Hartman