Message ID | 20231205212530.285671-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 r17csp3719173vqy; Tue, 5 Dec 2023 13:31:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcFFPN+nxQfn43YPXxVY0Y44HyjfZ1pRfaJ0KPn0/N2PBwxR3KoVdDBW5n5NMM8RfB3XH+ X-Received: by 2002:a92:c56e:0:b0:35d:7f14:c4fa with SMTP id b14-20020a92c56e000000b0035d7f14c4famr2157329ilj.13.1701811910585; Tue, 05 Dec 2023 13:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701811910; cv=none; d=google.com; s=arc-20160816; b=A0cKCi9VtRpe2asv0+vsdmGJObVJ0jjg6KB61qDqLwh56F1VwCh46LDU1tG0w3lsMN Pjz/97mLKL9AAz2R0x5KwdSgOUbi8q43f0DzYhtlM0Zv7w+zFXpQL1ICcCPMRpTkkD0b KYeH6T9iLTyRBayxlK7uk3DSI861RV/dTEQsNBKhCrNz51CUTIaP9FmqsLDmBrljnXCR K8GZZK5/Eh2xWWcQECCqz2ko4D1ndLXB8DO0ka0mY/9nR6agswinlzoi+QoqSH/iANTq UuXTeICsC0lLvYDqdY7EIz+nODqEPCRVO1zru3Y0O4IQRxVb1LydI/t9tqORsjtVanZd gz+A== 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=paePyi5YXIQV1WAcGJTn6LpPGyNmVv0fBV+vfej1s+yED1hUWb9NuE03vljw7Lz0g5 CnI6+INHC4+qU0IbFiEOwX+yFVzoP9Fa3w0P1qSm3eV5VxeBojQXIoW01dyOeotQrGlY lJ2l41vR1E/8ZHDe6yF1Stw2BOwSh0PSZx6jyXPw2FNHhNgpn+dcg7FC/lNSEBhpcZLv ZyjJYtRL++Achh0+LGzUUMWUp6HvVGlbpFX6u7P0CE58n8+1dFFkufEdV/2I4LHL1xKe w8Uc6Z8OJBuKae4gyHhE9VGC8y2cOtt0I8QTM1hvdSJnvzbEUeN0bnvW6rfPl7qftYJJ nqZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SEsHYKq0; 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 by19-20020a056a02059300b005c68da9ca8asi4334603pgb.787.2023.12.05.13.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 13:31:50 -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=SEsHYKq0; 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 DDDD7809004F; Tue, 5 Dec 2023 13:31:15 -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 S230144AbjLEVay (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 16:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346455AbjLEVZr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 16:25:47 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3A2BD51; Tue, 5 Dec 2023 13:25:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701811551; x=1733347551; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oTslo5dfBjUzN5B7+kuIpfd8d61O/Ub8JrrlE4TLUdc=; b=SEsHYKq0k6lpZLRWKTL9Fm7LCdIhXaLJEfzOByUWjb9YuMFtteOA/qEA iLIAXE32b3hVSRC49GB2O0yBitRo9O5PSw6H2rdd+VKvlw6lEmmFmSah6 pFr6+Uo93gclMO0szpq4IjMH+B56IY2DeFdluC5iHZDVjRtoePbpqj5xc FHHf7+xywSkxJj7CfNEU9V3miNcrxVLG3PRiWK2ZJJ60UI3Yc3jJAoSZM IITazYi8AHAbVW7rniqvxqsLQjsn6oxU2PgbD04fwsZRW5yYkO+GPhCYS gKxzBelX0n88PZixIwm0+E13BHhTW4Z85XByHQIh49m1HSt6AhT2OFz2R A==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="396751600" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="396751600" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 13:25:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="19102571" Received: from jsamonte-mobl.amr.corp.intel.com (HELO tzanussi-mobl1.amr.corp.intel.com) ([10.212.71.180]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 13:25:48 -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 v12 03/14] dmaengine: idxd: Export descriptor management functions Date: Tue, 5 Dec 2023 15:25:19 -0600 Message-Id: <20231205212530.285671-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231205212530.285671-1-tom.zanussi@linux.intel.com> References: <20231205212530.285671-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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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]); Tue, 05 Dec 2023 13:31:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784479125823883763 X-GMAIL-MSGID: 1784479125823883763 |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
Dec. 5, 2023, 9:25 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);