Message ID | 20230516215009.51794-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 b10csp730401vqo; Tue, 16 May 2023 15:12:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HnUb7R5DaYRm0IM36ayisE7Ht4X+oGlJi718re9CovrWpHiheXetJ/BUa88Ro7RS90meH X-Received: by 2002:a17:902:dace:b0:1ae:43a8:2759 with SMTP id q14-20020a170902dace00b001ae43a82759mr2945073plx.58.1684275168272; Tue, 16 May 2023 15:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684275168; cv=none; d=google.com; s=arc-20160816; b=XB9aKng0QgEv7ik2ByYjNLBNH3Xn43DRms2Bg7felySjQBjMrXWAwD+98Yzdq8k2OI v634IMknuzmDGb42jZxxdUpyGKycOmh8jgU9hzUA6DLfKDc5SgSHeqnuZD7Xn4miytY9 2QwQ8jz0700b7jJZh8vPOWxgofpTSaXGUCAfeDtkVtT8W8EV8juIVZqRQloywSZbM3wY Ejl3Tyl+BlyhWh4CYqHN7ZiuSYJtBEe7ON0lWCf3zhJZzIUcoaPS9XUZ3SMJR0nFST4u 4kraKBtnVIDwj899M8HYLHcyPq/cw3maqSB93fxlRQHSnsemJE5QeINuVlpPf63FyvR5 yIBQ== 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=; b=hIdH1PbScQGDP1dJIWVjfYGzI3nsewy5mZ6xW3ikYL4IYe3RPmwUWw1EciCK5w3OV0 48CWJ+jqTvy1V8/xCEB2TJFd8dE4d4lyoZEeQQ/E2Z7RqL6XzlgKzbLGOgtbmMMpY6Sz llhozYJQrNu9d3Faf/0FZx4w3/SIuxaWLn0yRnKEGZ9jnLuOXhmlDfzclTk8HHl1mb6r w7sPsqTqCu+Oliqw+PmpUcGXy3HyT7UMjiWwduFBni3lX+07SDQPJJFrWxKz3lvjnkEV v1nWB4j0KXi83+B9SyBWhu5Wurxrh6ct0rrqkwyoUUdPkpE+1bLyTQXIglBd6oqw+ulH cSaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bTw902PI; 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 y14-20020a17090322ce00b001ade5e66c3csi12518154plg.76.2023.05.16.15.12.29; Tue, 16 May 2023 15:12:48 -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=bTw902PI; 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 S231148AbjEPVuk (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 17:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229799AbjEPVuU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 16 May 2023 17:50:20 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F17FD5FF1; Tue, 16 May 2023 14:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684273820; x=1715809820; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bcf35D7IfQE8V0L8poAmnD7F4eeWOCF5TiyphB5oags=; b=bTw902PIU1JO7bRq3w2XBXu0U8rgcFqQoI5Dz/O+ee79hKp+GVcmMQEz pwJmJzo32hhFSKuASjTLp4DhrwUS5v5+Wng2wpbzDU8QiBmxDY9ZDZq48 hy1H+aH4zw8JzWpVeiKvPZ5SiWRKMm45z9ptyq85Fb32zEEpVgIHp6SQt irp9UEtikNCTB8duc1K3bRUjEPVWBFFAGzUakSlnoF9Pks46++E7D+Dk0 fUiiAPVK0TDnC4HxveTSu3NwMd8GiN4TgSljYms6t+VXdDpD/O72cqII1 oEB6PAcxCkWd8OVdTOLR9S3vM3b+Yhi299m6Y5wDqvVfNE5RBc/JNtD9J Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="331961649" X-IronPort-AV: E=Sophos;i="5.99,278,1677571200"; d="scan'208";a="331961649" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2023 14:50:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="704564825" X-IronPort-AV: E=Sophos;i="5.99,278,1677571200"; d="scan'208";a="704564825" Received: from fmunozug-mobl1.amr.corp.intel.com (HELO tzanussi-mobl1.intel.com) ([10.212.83.116]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2023 14:50:18 -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, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v5 03/15] dmaengine: idxd: Export drv_enable/disable and related functions Date: Tue, 16 May 2023 16:49:57 -0500 Message-Id: <20230516215009.51794-4-tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230516215009.51794-1-tom.zanussi@linux.intel.com> References: <20230516215009.51794-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,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?1766090518479826704?= X-GMAIL-MSGID: =?utf-8?q?1766090518479826704?= |
Series |
crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver
|
|
Commit Message
Tom Zanussi
May 16, 2023, 9:49 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) {