Message ID | 20230710190654.299639-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:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp24887vqm; Mon, 10 Jul 2023 12:25:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHo8QVSTosoeqztgJLoYYhmOWG1eMw+M0ppdRNj620X8MPlDe/2sfI2fJrzcaxvJA5LcpDe X-Received: by 2002:a17:906:3c0d:b0:98e:1156:1a35 with SMTP id h13-20020a1709063c0d00b0098e11561a35mr10718914ejg.74.1689017107341; Mon, 10 Jul 2023 12:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689017107; cv=none; d=google.com; s=arc-20160816; b=lJYVYg0ejGc4VutmDedxnv0p2jyE3bb0Qsu6HMpD4H2qaJ3ypRllhcZsVmBrJTwj+G D7NM7vGY5VLJp+iaGsLO7zc3qHy9KkRr6uatwNV5ouXeB0Y1juu2b18f4STi3fnwbX+B zz37RDsQ+UYeAMmdH9tgJa51H3GdkDgmxRsAsKJ/s4a1G1P1cLolWNgQJRlYTJumNu0B sbUfOkR+1dNoF+5/8d1VVDNyGMyJ3F3ukS/z109wtem6hfxAztLquqrVNwNxXaCAWZh6 6ccnBT94nutENpUwNCss5QR8bWFmCDTeG594AHzA2++PwRzUWmv4cJ57nCewJprC5ts2 Ax1g== 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=S84WRU2Y2h+32b6LGWGY9ZL3MQ7o+plLbiFqlW9fE38=; fh=KKYX96Dyn269sAN9Nbt8IfOk86mWVdLVST7Tbph7224=; b=YW+NKVyQf0o0/YwybDpby12dmuxOnk0eoWgmJ7M6+s4PAc6sYFGjuU5sMtOzO05lGx 6TAX9qOehOb20OBnMzf9xkewiWjllU1SHS63uN8dfKHWnDT7urrACSJFhRivR0dsWV8B 0Al9cZOXWx/M79SBRY67BZyPJNjpqIy9/zje7b3/o8csx5Skw+DNBz4GkSendN5b2vFc nCmTHXYN0+4RxnkXq/hrvCzwXVYkYHvGjJMO8VJkUez9WaFyRapklMdiRQPsl5+ktAUC TCMHnz9xZUGdOcjzO/s+0N5BrF71sDKCRXsK1smys9LvFq9kI+mjoP6viGMWhVYreqeW aupA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="g/AZVmF3"; 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 le12-20020a170906ae0c00b0098e15543465si262643ejb.280.2023.07.10.12.24.43; Mon, 10 Jul 2023 12:25:07 -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="g/AZVmF3"; 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 S231224AbjGJTHP (ORCPT <rfc822;gnulinuxfreebsd@gmail.com> + 99 others); Mon, 10 Jul 2023 15:07:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230387AbjGJTHG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 10 Jul 2023 15:07:06 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9885A9D; Mon, 10 Jul 2023 12:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689016025; x=1720552025; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bcf35D7IfQE8V0L8poAmnD7F4eeWOCF5TiyphB5oags=; b=g/AZVmF3d/AnS2zL9+RS9x2TWJR8Xy0bOTRjGh8HB4lmER/UWGmdpMyr w0x2Nli3/HdOjH/Nw1tptrA7fSu8olgIjYokotOuaby+fAXkyECuJ1fX6 hXkMv7tPvcd9o6SSl4hss2LH5usGriTY8/jjY+1tyoE17UrSiNTy9M60T lcmMbnBlZ0ua3IHzFPi4zOIpGRC2IDHlxnnIbkTd3LSJpvEzEAgDPOw6i 8/HH9fRSu1bfr6PwWDIb9YBQdeC/Fxdq/VuDry38m60wKPg3l8sSicE9M Cn4NfW53xmtji/vjNgug7vNuBOS8E3oRIVISiNUtihs2e5MEiXU+SQ6Pa Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10767"; a="354290752" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="354290752" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2023 12:07:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10767"; a="844991014" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="844991014" Received: from jdmillsx-mobl1.amr.corp.intel.com (HELO tzanussi-mobl1.intel.com) ([10.212.107.12]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2023 12:07:03 -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 v7 03/14] dmaengine: idxd: Export drv_enable/disable and related functions Date: Mon, 10 Jul 2023 14:06:43 -0500 Message-Id: <20230710190654.299639-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230710190654.299639-1-tom.zanussi@linux.intel.com> References: <20230710190654.299639-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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771062801984441760 X-GMAIL-MSGID: 1771062801984441760 |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
July 10, 2023, 7:06 p.m. UTC
To allow idxd sub-drivers to enable and disable wqs, 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/device.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 5abbcc61c528..87ad95fa3f98 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1505,6 +1505,7 @@ int drv_enable_wq(struct idxd_wq *wq) err: return rc; } +EXPORT_SYMBOL_NS_GPL(drv_enable_wq, IDXD); void drv_disable_wq(struct idxd_wq *wq) { @@ -1526,6 +1527,7 @@ void drv_disable_wq(struct idxd_wq *wq) wq->type = IDXD_WQT_NONE; wq->client_count = 0; } +EXPORT_SYMBOL_NS_GPL(drv_disable_wq, IDXD); int idxd_device_drv_probe(struct idxd_dev *idxd_dev) {