Message ID | 20231201201035.172465-4-tom.zanussi@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1389068vqy; Fri, 1 Dec 2023 12:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBJakAEpGpwHZfprQ/36vKN3nU8QKz9R9oM0zGp+fmYwlaM98ZQJBqJHcHSEvTqvuo1H2V X-Received: by 2002:a17:90a:df09:b0:285:bc41:2a07 with SMTP id gp9-20020a17090adf0900b00285bc412a07mr196258pjb.25.1701461522938; Fri, 01 Dec 2023 12:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701461522; cv=none; d=google.com; s=arc-20160816; b=XakT7eAuE50EnnBSOxRAoiNzAHFb3Kset6A4Aj5qJvdr4GFanncc5LEGsyGlPZ4ITn PZDeIOHuAbA83GgRyR5QcRGLa6vFTYJi7grF1lqnv+SoMH3aZ5spt5G+NnXaNWiZOt4T ISmyZFlEmX/ql0zKMf8gfC/5RM+9oG1rRXhXNG2KAR8Y+kWUX8/px1c++1nZwXv8t3WZ 0Hr4dpvLfIW1ONEYzjyvwLVXKCLH/GIXbNoGLe9Be0BQL83r0yHRDFJFiOLWKgTnRwcB OdAl4yAr2785suaMvT8DjkC+kkyfjqqZB+xxiR002hn+uKW7gWN1kh0iqYpDRnxMhWMj VAMA== 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=GlLQotyjOAK1WcqWjIdPBSs1VPDB1Ysp8dn4kH7RmW4=; fh=CKy338m5MbqOKLCytkQoYDn9hkoAEvElo6dffmo/qoM=; b=kGxNW/XsXA2S0nal43PTHOl25vXOpJ2FDXqVQqfXzFwfR20Gg2o09ADOgnuCvBiG6P kwaqunn2u9WIWfmIMaTp7rRgq+hTWavBY/YSaRUrTnFWIkG7vzlf9ZdAyPn0q0XrQAmt o4sR9DwhdCXosH6OYBzQjbE6LIb1wn0BeMmybQ3UFFoq7zbf0iK14PrQcZRDoT3VNB/s yKglgFtzdE++lpag6ixfTMtcvPxrDbnYOLUPETv0uF+Rd3+muMHhNxhgNMg1mVM89xv4 piV98Un7+igY+D6UPB0W6Hqc3RztOdyPe3WC7hFgLD0MmG+ZhpXbbDYo4VdZYNX+eQ9K O2kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Lqg+XV4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u12-20020a17090adb4c00b002865a41a91dsi1612781pjx.138.2023.12.01.12.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 12:12:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Lqg+XV4I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 59DF3806AFC2; Fri, 1 Dec 2023 12:11:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379619AbjLAULH (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Fri, 1 Dec 2023 15:11:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379586AbjLAULA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 1 Dec 2023 15:11:00 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C291510EA; Fri, 1 Dec 2023 12:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701461467; x=1732997467; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oTslo5dfBjUzN5B7+kuIpfd8d61O/Ub8JrrlE4TLUdc=; b=Lqg+XV4IR15MNbreHJwLc6VnI0DPLCV5uYX2wtsqwHWvVNX1EM/yM9CR +YmC45UHjcEPUGlLfwOgk1VQy5iUS0bW9FGlEMWCekzb33HaBDRFmlhDe inD2NPpcKxdz/cnpH10i7v0+QFHQFIKUDoYDZ6vOA47p+R2dlttAEIAuH fKV7bH6D1IIBRTr7lP0BdZ8K4LMFu067uH+8DBvtNOkTXnYETZhgp042/ NLAcxuoqqWxlG6YXhs1qKoQJwZSGKNd2riFSRRgGX2uWlNXLgQTzF5DgH uD7SX3/UD75Wr+Q+xz3Xt0vKvbnI+tBbNVXMhfwzdl5N3qu2mUr5aT/V1 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10911"; a="427781" X-IronPort-AV: E=Sophos;i="6.04,242,1695711600"; d="scan'208";a="427781" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2023 12:10:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10911"; a="860671153" X-IronPort-AV: E=Sophos;i="6.04,242,1695711600"; d="scan'208";a="860671153" Received: from temersox-mobl2.amr.corp.intel.com (HELO tzanussi-mobl1.amr.corp.intel.com) ([10.213.166.197]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2023 12:10:45 -0800 From: Tom Zanussi <tom.zanussi@linux.intel.com> To: herbert@gondor.apana.org.au, davem@davemloft.net, fenghua.yu@intel.com, vkoul@kernel.org Cc: dave.jiang@intel.com, tony.luck@intel.com, wajdi.k.feghali@intel.com, james.guilford@intel.com, kanchana.p.sridhar@intel.com, vinodh.gopal@intel.com, giovanni.cabiddu@intel.com, pavel@ucw.cz, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v11 03/14] dmaengine: idxd: Export descriptor management functions Date: Fri, 1 Dec 2023 14:10:24 -0600 Message-Id: <20231201201035.172465-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231201201035.172465-1-tom.zanussi@linux.intel.com> References: <20231201201035.172465-1-tom.zanussi@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 12:11:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784111717537107637 X-GMAIL-MSGID: 1784111717537107637 |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
Dec. 1, 2023, 8:10 p.m. UTC
To allow idxd sub-drivers to access the descriptor management functions, export them. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fenghua Yu <fenghua.yu@intel.com> Acked-by: Vinod Koul <vkoul@kernel.org> --- drivers/dma/idxd/submit.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/dma/idxd/submit.c b/drivers/dma/idxd/submit.c index c01db23e3333..5e651e216094 100644 --- a/drivers/dma/idxd/submit.c +++ b/drivers/dma/idxd/submit.c @@ -61,6 +61,7 @@ struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype) return __get_desc(wq, idx, cpu); } +EXPORT_SYMBOL_NS_GPL(idxd_alloc_desc, IDXD); void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) { @@ -69,6 +70,7 @@ void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) desc->cpu = -1; sbitmap_queue_clear(&wq->sbq, desc->id, cpu); } +EXPORT_SYMBOL_NS_GPL(idxd_free_desc, IDXD); static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, struct idxd_desc *desc) @@ -215,3 +217,4 @@ int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc) percpu_ref_put(&wq->wq_active); return 0; } +EXPORT_SYMBOL_NS_GPL(idxd_submit_desc, IDXD);