Message ID | 20230605201536.738396-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:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2939437vqr; Mon, 5 Jun 2023 13:36:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7+6SCYODxJNnmNjZTL2mxQUnFid6ymimA/+VXqluV4g3ApbFiLdDAqmI+bQ8hgXxCTgGIy X-Received: by 2002:a05:6a20:3c8a:b0:106:5dff:5dc6 with SMTP id b10-20020a056a203c8a00b001065dff5dc6mr244415pzj.16.1685997408477; Mon, 05 Jun 2023 13:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685997408; cv=none; d=google.com; s=arc-20160816; b=wgq+QpyFhzAaajZd5PIEUJKe2w8WmlOOQdEVtBuZwrzy0UY4vJwjJ8huP6+NERVjrg 95+nfnv7E0dAy60w+Guj5ArX2BDXTP5m1dtK+QlSemZ6GNC5plvRl33kBQ8Uli9U9/Fc 1KX9N1fFoZpN3dvCOzR8pC+nnP6ojH1Wsx6LvDii/7VwGPaUkH9KB4grLC431zScVwFR tXAem0zCi8XalQ9WGbXKw64rrJbrw9fym0TAAq8tU/GnYqjtATysdFehjiOv6KKXqhwF TjAnhWJi4G4Kzz7HPGWMVpGuoiVZTrEHggOgLh932lwGVnknl+Bh8fzJ8D9Xb6zeaU+v pAEQ== 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=xUCnNEkutjRm+xP8XozB0tO0wGbiHMTjxATOl4/JdOA=; b=YiniDEa61TvGve8DeZ7bFNtrNf4HvQgAoY9IGh+ChUQ/04gEv7KzM16OXB4ovZew68 rZV+cTE0OPqEBSw0SePgvGFTk4M9d0LV7VbkvYQS26FkZR4p8RHkjRKKzIucLf3xLZA7 /xaKoJ2qBBe6RwljR3ZrMRaNfbA/tOEZfPeRGo1+Z4YdiZVZ6Y2DSFxHVCQgupLNqg4h R11MJeKiKVTtGasBgA0GmHFC7DrPD1DIIZCoGDHVYslhsxPNeh8893IsH8aLRJ79Qg69 zQt1ihHGm+EUO5KY7LRogRM4hWReT+gnQxnywfHw/2Log8nzW6yrwDNjeuOIzYdrQBI1 F43w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C58Cz36j; 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 j18-20020a633c12000000b00543cbc51742si931171pga.183.2023.06.05.13.36.36; Mon, 05 Jun 2023 13:36:48 -0700 (PDT) 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=C58Cz36j; 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 S232177AbjFEUQI (ORCPT <rfc822;xxoosimple@gmail.com> + 99 others); Mon, 5 Jun 2023 16:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232016AbjFEUP6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Jun 2023 16:15:58 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EDDBB0; Mon, 5 Jun 2023 13:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685996157; x=1717532157; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yHOF6DrEvuRACHmnKROaRDudHiYk2POqQye99IoY3vM=; b=C58Cz36jHPWyOI9Bn6+GY/c/KP0Gj/8IHILyXXKtQRMnUNma2DBFaXJq cn0Ty/VZamp9mdd0iMcnLyXy9q1ULYZcf7+ovZ8b7uAMS0+S2wBJ2dg9Z Pkwq8EoRXRgzB6RhxkMZKw8jJfrA8aQSny+tD2i0e8dbd8yV8CgcbLrxL 6sWu0ZnlUHxorGT3fGxzaoLt1paIfiO4PEbpc0PAj1QdaAlfzizJxFFZw Axem6vdCWnKWYQK8Gx0MkRXeHACDBQHj4WXs13Ct7e7boNtuAOYyZlp7P 7taZJ6O16hlTGA2MTNNQ7vjTHi031Wgc2F3p429KHR8ROqD910RRMdrMD Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="356480304" X-IronPort-AV: E=Sophos;i="6.00,218,1681196400"; d="scan'208";a="356480304" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 13:15:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="711934378" X-IronPort-AV: E=Sophos;i="6.00,218,1681196400"; d="scan'208";a="711934378" Received: from rkbrewer-mobl1.amr.corp.intel.com (HELO tzanussi-mobl1.intel.com) ([10.212.33.16]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 13:15:46 -0700 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, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v6 04/15] dmaengine: idxd: Export descriptor management functions Date: Mon, 5 Jun 2023 15:15:25 -0500 Message-Id: <20230605201536.738396-5-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230605201536.738396-1-tom.zanussi@linux.intel.com> References: <20230605201536.738396-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,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767896418659285808?= X-GMAIL-MSGID: =?utf-8?q?1767896418659285808?= |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
June 5, 2023, 8:15 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> --- 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);