Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4817045rwr; Mon, 8 May 2023 13:09:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6S+aybXPrNfa4M/dwWPV4MzlbNevge3caaTfwwXytUvlQeqH9bY/Kz5xyTGD9KyQizlZos X-Received: by 2002:a17:902:d509:b0:1a6:51a6:ca76 with SMTP id b9-20020a170902d50900b001a651a6ca76mr14672822plg.11.1683576550767; Mon, 08 May 2023 13:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683576550; cv=none; d=google.com; s=arc-20160816; b=oQ86QzaUpC7cVVZgpjxAvv55fTNIga2L9r4qHhBKfkuUH1KVhpA0MmDO4Q9ljIROjS mdNibTSRgW9wqAsNgkHMlxljHPCErdQWoIUvFh7QBewM1NuqeApOUejIy8zno/dIsM3k BruTo9qUOwdUbGL7e+Ie5Hz09NE2U9zmeYQUoYVfJAEt2OjzBAFFo1cxQDvsGew8CWNX KCNFmIlmAj4jON3Q2trn/BfwHmFS3+BdAk6qRB6dsDmKUibo68uO1my+2auaOVDCWYq7 pED4kaOWqxytRU+MZk3O3ESCfAL9hUF1QNKoRjZo5MK6EGO9Oa5DUrkaWY9/yp5mKnji oZVA== 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=Pm/A8Y7NPc7ix/niEDr22b/5L2lnwsv+lSvAsYzpxtg=; b=ficwvlBbgzCQFiRwQprBevkK9/T4iShKOj+QtafmfpNG3cpPTxWBPpYwpRbj38EOaD dF1D4IBkfM/dCC0j23yp7YjA9W6loQYCvBJRSwNts/hzJ0DKgzGFaZZPJ4L7Gg0tabX+ 66hvC8SuXdSP3U7aPPrAznEf5C/OSzU5WM2p42sMI6tqhvaYaXcpzby2Ksdkd/DlnhaS 3F0b4T5SmMcnN9degubR8bHOLzd/1Ea7BV6537Ey+se762iwPEuF15ykdlqYKXdSFFDc 9eyjMl93ITzFtp0Fg+f2y9EuEtm6MbW6n2wn5hvTfDxeLdcsEhgBMYHHgyOREmYRuX7o Vm0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dxU4gPhX; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z126-20020a633384000000b0052881efbda0si9117726pgz.53.2023.05.08.13.08.58; Mon, 08 May 2023 13:09:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=dxU4gPhX; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S233781AbjEHUH5 (ORCPT + 99 others); Mon, 8 May 2023 16:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233514AbjEHUHr (ORCPT ); Mon, 8 May 2023 16:07:47 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3925959FF; Mon, 8 May 2023 13:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683576467; x=1715112467; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=j3IZVcJECFbyMWLrGNlFQPmLKRsGPfVxfHL1YGVHaIQ=; b=dxU4gPhXpjprQ71A0wPb2zGeVxFWzKM8cmCIfyro4phJcolhQjL6L3Qk kj0seCysNhlGTW+P1Q4Tb3g4yeIebL2IS9XzDD1k/2F0+ynhw0K0lwLOg 3q77gt1aISV0rrSnbLBmijayGgVyTG8sKVYaB9vpLDzRnmJF7y3ZdFLoX Gz+1yyQ78OiCQwlAMGmqcrrIVmb5dbd1XfM/vhdPBXsWn3wLO+mZCHR6H rQ3sN9uDsabtR6BfWTve5sJmEgvQIqFfH5oo1O9TUACYUJ8fGv2b5VEFg BNkGMw1a5/LeKYfRwVggQpyZxsq7EyQWFyhAh1uSe2zzTrBeqpPi+xJny g==; X-IronPort-AV: E=McAfee;i="6600,9927,10704"; a="348573624" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="348573624" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 13:07:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10704"; a="788241624" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="788241624" Received: from sajmal-mobl1.amr.corp.intel.com (HELO tzanussi-mobl1.intel.com) ([10.212.74.4]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 13:07:45 -0700 From: Tom Zanussi 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, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v4 03/15] dmaengine: idxd: Export drv_enable/disable and related functions Date: Mon, 8 May 2023 15:07:25 -0500 Message-Id: <8fe2bc424a5eb4c2253c40477d85f4e4df67f10f.1683573703.git.zanussi@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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: X-Mailing-List: linux-crypto@vger.kernel.org To allow idxd sub-drivers to enable and disable wqs, export them. Signed-off-by: Tom Zanussi Reviewed-by: Dave Jiang Reviewed-by: Fenghua Yu --- 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 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) { -- 2.34.1