Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5591234rwb; Mon, 5 Dec 2022 01:00:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zX3YbkI58wMrQNOrVTF1jv6e/sGmPYB0BNVd2zOaMfYYtPe72Tb7Mtc4N/+2noPAgNpst X-Received: by 2002:a62:168b:0:b0:574:a82b:d290 with SMTP id 133-20020a62168b000000b00574a82bd290mr50456749pfw.42.1670230826131; Mon, 05 Dec 2022 01:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670230826; cv=none; d=google.com; s=arc-20160816; b=nWJhjOUK+ghAMyvrApbsCx9WjJ8qxXjv2trT7SHoDEbAObDkL4vo5ynMQNlNnWLCZg Px2ohwWfFVWZfRGeEelCWcdFngqWRLvh1PvX/Fa49893QXAxgem8kUdYxt1rbZz7ZFvk Ek+vUTVyXOWWneidZeNfqr7bb8G616WG++AjZyTVFxLxIN/bzqLBW285vgq/7EY5g0c5 uUS1Zj2kL1iAa6inIYIHZQuilvgEepCJzsH4ZT++VOkI8z3ANcpv53REu0N7a5hGkD2N 91aX8tWNxVdkJIf6Nrto+tSAY6mQ8mKTI2t6yyhLv7wKKkL+Fj6YghmXiGIZ35R7skqr wusA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jxW/Vxu3X7sUPIxDEcWDVrIdRxXj7YBkmL0q7WUBeFw=; b=w8K3rQ5gRAZDtOcegY5fl2FVyIZGR6NbFiDFEEhqPpj/1mbpDGzdLmSr4Xj9XFGTm6 PUgelGRsOwWJxUz1jtu32HwOGqYqX2153g9QTfQjUZICNhK76SePGRwW4oYG1OSDOsdx dTzLMfOXQfwCBxEEGB38NOTV4jonI/PE/I4akTGib9krSSRo7Z3bdOjzvbVlggsq7/nU AVTYk+LG2iT05rY85Zf/2Dp6I3T5r4sadAhoNNF9wSoHn6V2yDp9aOvbT06fYw2rx/Tn MTts7YthwIZHcc1h6w1vRg9b6itCLCFUwOmqIHdac4S4E18CuH5mMds2Y79C/HART8mj JZiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=bLuzMxNG; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o1-20020a639201000000b00476e640ddfesi14734346pgd.80.2022.12.05.01.00.15; Mon, 05 Dec 2022 01:00:26 -0800 (PST) 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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=bLuzMxNG; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232234AbiLEInG (ORCPT + 82 others); Mon, 5 Dec 2022 03:43:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232167AbiLEInB (ORCPT ); Mon, 5 Dec 2022 03:43:01 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC875FA9 for ; Mon, 5 Dec 2022 00:42:49 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id m4so3227585pls.4 for ; Mon, 05 Dec 2022 00:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jxW/Vxu3X7sUPIxDEcWDVrIdRxXj7YBkmL0q7WUBeFw=; b=bLuzMxNGC9V/pkvZUfNXlaMMl1sDObrP7LLx8vFgFMOrQ8lVdIVp9DbXC9+coJ5Quj 4idlgwdT93B///LhYfpfCTnPwnjxK8TXq0TaFI0A46NPSU07Lnn1KCquLmZJE+bTaUct yxYU1jD0WKMbBKU4b4uE57d/xzCLMxdgGmD5fR65KhXDxJTivXM0OOj7l3Jsqi56iEVV h+ldIx/6Y0xFCYrFARTG99ltCbtx3H0QznGHZ9+CgPJ3Jb//GvjwG3SOGCrpJme0fXe8 kZfCUM0dIalsYXtrtIu0/jNKHA+t53H3Hd8pU6iuZ79+qY6isbpuDe+m/C45TLc/SxTY I4gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jxW/Vxu3X7sUPIxDEcWDVrIdRxXj7YBkmL0q7WUBeFw=; b=QqYfhWz4BpFAPdzSAAiGnUP4vlL+Z7VlgjzIBHxgLpxdA/q99ITq6todf5LbtlF1Kp myAM1nNImstsmcLLz5SIwlGy0R2ShEWupEnKF77xZO2nLWu44CwTJphowiXcNz5BE8GG 5NCxJ7NYq1y2qtbip8JAsVt/Vwj8q+zFG4awIiAF92gyTERc4lXzgZ2ebqqPQRQm/Umi EZcUZ6kn6WaKY3UrTrSoDhWMdx0vYzawUaT7OXuucE2DpAQoWXA5YOdoLVXsmJdN/9Fl AjnDy7nLP91FQomkTs8dndwwRAQOl/ml6w9Tx4c5ncqb2mRFkTxElI06SJPDoeAVdF9c TgDA== X-Gm-Message-State: ANoB5pmIfMRqiL8UW09l0Rxn5To71nHmYQ1khGfJi2B8Ed8UPeryjnAy 4n5bnYk2dcFcUvdwavS003Xm X-Received: by 2002:a17:90a:a095:b0:218:e358:12d2 with SMTP id r21-20020a17090aa09500b00218e35812d2mr58560153pjp.208.1670229769512; Mon, 05 Dec 2022 00:42:49 -0800 (PST) Received: from localhost ([101.229.232.206]) by smtp.gmail.com with ESMTPSA id z19-20020aa79493000000b00576670cc170sm5601420pfk.93.2022.12.05.00.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 00:42:49 -0800 (PST) From: Xie Yongji To: mst@redhat.com, jasowang@redhat.com, tglx@linutronix.de, hch@lst.de Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 01/11] genirq/affinity:: Export irq_create_affinity_masks() Date: Mon, 5 Dec 2022 16:41:17 +0800 Message-Id: <20221205084127.535-2-xieyongji@bytedance.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221205084127.535-1-xieyongji@bytedance.com> References: <20221205084127.535-1-xieyongji@bytedance.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Export irq_create_affinity_masks() so that some modules can make use of it to implement interrupt affinity spreading mechanism. Signed-off-by: Xie Yongji --- kernel/irq/affinity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/affinity.c b/kernel/irq/affinity.c index d9a5c1d65a79..f074a7707c6d 100644 --- a/kernel/irq/affinity.c +++ b/kernel/irq/affinity.c @@ -487,6 +487,7 @@ irq_create_affinity_masks(unsigned int nvecs, struct irq_affinity *affd) return masks; } +EXPORT_SYMBOL_GPL(irq_create_affinity_masks); /** * irq_calc_affinity_vectors - Calculate the optimal number of vectors -- 2.20.1