Message ID | 20230306185226.26483-5-tom.zanussi@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2015849wrd; Mon, 6 Mar 2023 10:56:42 -0800 (PST) X-Google-Smtp-Source: AK7set8MfCe/CQTiVfaVs7zwYRobB8RCHb60LCLKFhSrr56gxx7gNCSKoQ8h10XH2IhdWk8je8a/ X-Received: by 2002:a17:906:80c1:b0:87b:d62c:d87 with SMTP id a1-20020a17090680c100b0087bd62c0d87mr11912806ejx.1.1678129002379; Mon, 06 Mar 2023 10:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678129002; cv=none; d=google.com; s=arc-20160816; b=q2WoyhuJbCABbixgCAR+EaFvPBTNTWQjHvVStVHPSX5TVFU8bDKG6WOzhrUl/TTHpF nnM/jEaPzuKlO7nKF8QZ6LUB/CgUEaE+Pz3Vvd61Qy4A678C8D24evn0T5F5Yc2roh1g ZOssGyjBd48Cg7A2GLQ84X9B9MdMRvoR+NdFBfAjTAQIdWZq7LMuFm50oni2vQMXnkKn Ta6AN9ueIIJXhQpBbDeFTCD9uHa4CVrNLBYlZVXao0bxcueWOTP0gYx6TgqN8hXqjoWX X+9jyv+0q2I/eSZuISmMGBi6y949OhfZCPOTiRIxsGlY1DT/n1HnJuD4JSsZTqqYc2r3 P78g== 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=80e71FBn8S9bF27KzNvgPbp+w47gEL/d2teCfylXU24=; b=AWCRCGQeSrYCGCzc6vxpzgM3dg/tWP1XjYYZIqQSazFqB+3U+i9BIZfXeft60QpKtJ 54cVVIPhERGM6ZGgGTPiC55aXmk5cyPVYkbJIcSzhVsV8/ZFwRrBIz2o2cV2zN1WHqZB o67hLm1UksQGmr11rB0jNJYPri99dgO4aAHkNHKSswU5xoKHxo1DbjmDr28SUTPpYMzr nU6WU6JdtjDB6Fmb6+/vj0HbPjoBPOhgxeTt6/JLG+CbzxXsWA2EjZskeoP/WeU6HPLN quSvffIl4L7SfVo0LT9LLzXqL7TDi8i7/V8/YubpQuac+tIBLG1uIsMgODL2Bb7Q0Mre w4bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Lx1JWg02; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a50fa86000000b004c2822f85cfsi11645361edr.506.2023.03.06.10.56.18; Mon, 06 Mar 2023 10:56:42 -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=@intel.com header.s=Intel header.b=Lx1JWg02; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbjCFSw6 (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 13:52:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbjCFSws (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 13:52:48 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AADE72B21; Mon, 6 Mar 2023 10:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678128761; x=1709664761; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7/ydwUXLdHl1bpDjApixDXbPYE6quD+r8XqadnXkUFI=; b=Lx1JWg02HcS6libptapPeHYUKrVggeQchxnpHYtePCKx+872OrcdkZp2 aU5R9d7BvOvjyWug7Uk/39hH/yjbJkjz2vOa4MBiCjsBF7f0xV6ljVg5R MvqOelZ91guo46pa2GopCKlAHQryNw9hPNuZY6hp99JvChMp6M+E2q7mb MVpS0nL3CYi6RcD0Y4f0J35fZPR7uhT9DEYxE6l9oIrglQdy3seFQrI9T RHBb/JNsmC8Yhf7JPmQxuN900wRdm+5gZjV/iIU2OCONkJc1vaxiX3ZBh jusrdRfhsag0nGs3alNJbQ6UGQawLdmHWQbclTaMNZh2XuhoRasq7pLqK A==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="398227706" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="398227706" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 10:52:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="626255775" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="626255775" Received: from jeblanco-mobl.amr.corp.intel.com (HELO tzanussi-mobl1.hsd1.il.comcast.net) ([10.212.118.26]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 10:52:39 -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, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH 04/16] dmaengine: idxd: Export descriptor management functions Date: Mon, 6 Mar 2023 12:52:14 -0600 Message-Id: <20230306185226.26483-5-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230306185226.26483-1-tom.zanussi@linux.intel.com> References: <20230306185226.26483-1-tom.zanussi@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759645796788700515?= X-GMAIL-MSGID: =?utf-8?q?1759645796788700515?= |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
March 6, 2023, 6:52 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>
---
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..9d9ec0b76ccd 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_GPL(idxd_submit_desc);