Message ID | 20230428205539.113902-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:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1211732vqo; Fri, 28 Apr 2023 14:06:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48Mj5EPZNPrR6lb536ijAYUkCV4frSCLuw7nWw1/+b8D0+CBee2DiXUKEuaUX8lE8OUb94 X-Received: by 2002:a17:903:2345:b0:1a6:91f0:f7fd with SMTP id c5-20020a170903234500b001a691f0f7fdmr7567197plh.60.1682715994387; Fri, 28 Apr 2023 14:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682715994; cv=none; d=google.com; s=arc-20160816; b=Bnkn00yVjTyDsYGVc1UZX3o/G83MvLxmXza73yEKdmqiGvMsJpws3VizKlX5UGt7oD ra2C185OUfZlQcyOO4+Je3lN5XhvqsHq4QcSgq3Lp70gZEYd6z7HCqT/9o7rdquALgqo A9PN+3C+AQ8plPIH32eDEh+dvr8s/8Atdmf/58GcWb8BhxHaUOW3i6qeV09QXmKZrr9D N667gE7xRpeP3pgU9PenZOTXVeitV/k8f24wKNxWKCXdXNkWkty/n91R+cV1uWl5atN0 S4BSiWUbqO7U2P2F1yvJMJgZwxV3mS0DN6Gges2kebvwx8EbhbalaqU7yZ4qvEbUhQrD O3rw== 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=3uWB5cWWVMvxC/Segg9p6TZP9E7Mp5Y/LufOUu2yAUc=; b=jnrlJ99U+LfW6hf7DrSD6jk/Znq3FimWIQhLaIpGtjlhixKXbiHjrHfOvZPQnIDZys 1kY94r3aZfF/kbFhBzqocQ2mYaEqFCfdlMUtauznNWuiLUdijZiz1oTzh0wtr38taAe0 kH8VrNBEUFDakMicneQcShN+RD0IV0+A1Yq7PnqpHtuVkIonVOdHMOWW0y8Cdc2/TKGN ITshwZ5X8x3SDizyzqclCSfJO4J3odk/nVIWO+xn46gefySNKyL6tx5+1j6mrqAy85pQ hsm0pv2XDbd5t2ToNgNUUnsegwNnqNpcWYf75EoAXTg7/NO/UEZv2QBtBi7L5PS0KyXr i+yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MYr0Btdm; 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 f15-20020a170902684f00b001a24efa45bfsi20979227pln.81.2023.04.28.14.06.19; Fri, 28 Apr 2023 14:06:34 -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=MYr0Btdm; 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 S1346817AbjD1U4S (ORCPT <rfc822;chrisjones.unixmen@gmail.com> + 99 others); Fri, 28 Apr 2023 16:56:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346764AbjD1Uz4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Apr 2023 16:55:56 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C1341719; Fri, 28 Apr 2023 13:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682715355; x=1714251355; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LXsQK8TukVyQm+lDiXEHCmOKMbCLHF5W6zenC6HO9JE=; b=MYr0BtdmWck5UcNcm+jh1d9UWi7UkBvO68KCBvl3pxtm4s50+NFeUslS DC/0wXZ6Fz+SUy/9F7Rwp78OZz+dlRpmlNIVVNlc4WHV6roRa0Z3lyCrL l475Gb0arMhFeJaGZ6fQdypcPVO5ZdM+31NcKnXoFErbtW+WCblmoz8QU Ocx0NEBY47OQwEkz6hl6IVPDjFdJGDkOyotjo2o91oLvo+prJeHqOiD08 X8QvTZJjbJvN0RzznZ6duii4ATnHvAeKjxIUxuGR2PK+LCxkj3Pm9wIco 6SbYYV3DmpLaAFa48Ew9HaQAmTCE7FL0tsVjr0JL0GAJfzOMijAOdX1Fk g==; X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="336937640" X-IronPort-AV: E=Sophos;i="5.99,235,1677571200"; d="scan'208";a="336937640" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 13:55:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10694"; a="838980363" X-IronPort-AV: E=Sophos;i="5.99,235,1677571200"; d="scan'208";a="838980363" Received: from ykaur1-mobl2.amr.corp.intel.com (HELO tzanussi-mobl1.intel.com) ([10.209.181.29]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2023 13:55:50 -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, giovanni.cabiddu@intel.com, hdanton@sina.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v3 03/15] dmaengine: idxd: Export drv_enable/disable and related functions Date: Fri, 28 Apr 2023 15:55:27 -0500 Message-Id: <20230428205539.113902-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428205539.113902-1-tom.zanussi@linux.intel.com> References: <20230428205539.113902-1-tom.zanussi@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 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,URIBL_BLOCKED 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?1764455606612618303?= X-GMAIL-MSGID: =?utf-8?q?1764455606612618303?= |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
April 28, 2023, 8:55 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> --- drivers/dma/idxd/device.c | 2 ++ 1 file changed, 2 insertions(+)
Comments
On 4/28/23 13:55, Tom Zanussi wrote: > 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> Thanks. -Fenghua
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c index 5f321f3b4242..af1aa88a66c1 100644 --- a/drivers/dma/idxd/device.c +++ b/drivers/dma/idxd/device.c @@ -1406,6 +1406,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) { @@ -1427,6 +1428,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) {