Message ID | 20231127202704.1263376-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:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3440505vqx; Mon, 27 Nov 2023 12:27:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsZM1YkTNTFlyD8vOL0O2pcMd7gTyS2cgiNrtTYQTKIAqROJESpvgkfO5UjlolHRLohmrH X-Received: by 2002:a05:6a00:f0b:b0:68f:dd50:aef8 with SMTP id cr11-20020a056a000f0b00b0068fdd50aef8mr14089683pfb.4.1701116864961; Mon, 27 Nov 2023 12:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701116864; cv=none; d=google.com; s=arc-20160816; b=ZF6zWFbxmzfV2hdtnH16gMM3b3R1o2kOwQ3djewLbYfX9txczTWAZK3C+tQ/sSXvjp 7PP5SLIkeSoefZgOce5TcrjTxWtqa2Xu11AUjOuJq0tjo/uP3Kt0ZRE3MJZiDU6PRH+6 D0anQAk5tcYA/AgE0Fofz+sBZS+ReYeONwW+fUUSi+P1w18f0bev/23IHLc/AtrJR8Kf QsTFukgMV0tJ5b0fkzkHIEb9lbvB4bP2UixTqoNoav/wUXITrugP3K9MP/9ePMyMFLck QoIsGj6z9PH1pgesvWaMwk762INjVLp+eFAvuacpQhUQY0nBZPh8jA9WEoYcIotonzP/ LJow== 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=NVk+/HRfcagEdLiYJvCvIGQUUJyq4cMWC94iR1AACgvpgOl4VqwxEJV+yCk2OObd7D SU+GmawRGcAZnTY4JKAooAifK2exqIVgZvHTz7JhhPBNrHQjNAFRWqn5Q2ATbB909Nqj j06FEdWv0i8iB4Zhs+WyUDHNueVJvmgOF6dcPE01T7/hQCh5zUjfh554ojeSi/EguZoS l4Q85/dLKTy9XQyznmEGuLFH3eLe4FRDRman9oN5riXWX62w/sDzDXS82UK9GEQzLQ4R Hg07S0vL0LWK/gDCnGwgwuaRwH876dMpx/72uGTiDRZIAQMSWPzy0YO8Oj9I0GBFP587 LPfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GtHqlulo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 17-20020a630d51000000b005be1ee5dcd4si10735532pgn.492.2023.11.27.12.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 12:27:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GtHqlulo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 906468096A64; Mon, 27 Nov 2023 12:27:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233189AbjK0U1W (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 15:27:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjK0U1K (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 15:27:10 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0127BD; Mon, 27 Nov 2023 12:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701116836; x=1732652836; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oTslo5dfBjUzN5B7+kuIpfd8d61O/Ub8JrrlE4TLUdc=; b=GtHqlulok9LRAGqT+BiG/pKILqSHJ4zUICkAPf4UCLBS+ph7M0FlUbrS xZHzNozY1PJ1iagsYixwdqCWGYdjvn5dJsWKJrK39SDdOCW9s+iyYA9g0 ApHCq83sFRegZmhpSBcpc/YY/nU5uiOCwDJqIwXbuf1g65h9JuPuCjzVR PfJcjzditZOUbLN8dJd2CKh/LDfIeinOpn0O+aZtx2QYEX5Su3rD2fZM2 0CyYJc88OcAa4lbW2msH4q8Mnf/tr5QtN344MtUCFmN8BEyAxYUVWxRwW yiAv9f0/NhwMvZmgcAMZp4AUW/wB9X9DYHgjvUIRbdQluRF30D23rSgji A==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="457115490" X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="457115490" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 12:27:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="16394526" Received: from rpkulapa-mobl.amr.corp.intel.com (HELO tzanussi-mobl1.hsd1.il.comcast.net) ([10.213.183.92]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 12:27:15 -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 v10 03/14] dmaengine: idxd: Export descriptor management functions Date: Mon, 27 Nov 2023 14:26:53 -0600 Message-Id: <20231127202704.1263376-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231127202704.1263376-1-tom.zanussi@linux.intel.com> References: <20231127202704.1263376-1-tom.zanussi@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 12:27:40 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783750317680897716 X-GMAIL-MSGID: 1783750317680897716 |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
Nov. 27, 2023, 8:26 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);