Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4620215pxu; Tue, 13 Oct 2020 03:04:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8NGYtt0ETa+qshRYEcQ8BTXCuyRuEV90FdDx8iaZsin0Jr2Skw8YAeJIvndR+VYPpmIn0 X-Received: by 2002:a05:6402:890:: with SMTP id e16mr18994499edy.272.1602583445869; Tue, 13 Oct 2020 03:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602583445; cv=none; d=google.com; s=arc-20160816; b=DAZvixKTptKcsVP883oBmCfTllyiGw8JV4Ga+Rpt2jbNwcNy1CBec79RNV/U6TeR42 wSc43ZHKyC1Z5Ajdy6TiusByWmUm3bOOzAaM9IjywvFNkJg5kydYhaAuA6WAeHAbhY69 WShzUQ/Ub3B9PYUM5R04Ph00iUjS1eg1DSli/ATZPz2rcF1TXrvV5W6Igs/keoKJmj/t sDL9G+2utHvq56bpMVc22v2hiIh8PSr1HtjO/WDtaO95ST16xvW7hIw7M1QufnAvznQG JA2rP6wDMcFpGSOhL+rQnlVEePGlknnljSjJ4oW1XdhbhcpZ3dgXH8+f/qi08bb2l09k kvLg== 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 :ironport-sdr:ironport-sdr; bh=P9yUJjX6wZaxbVWKduu6phjvNzQnWod088mBfCIzqDg=; b=BlwSgRfuTwA7Vw3I+laKjWWrIWqaGw1ikvhFYSsyQY06Uio0ZcDqTz1xVCuhZRMqN0 MsNGq2Wer4HtwDWdCWujSISOU3RRVg3kwvkG4Y/aJKMPwzs3SeWolVIWGbD/YSOHamQX H/pYIXZ1BfxKFtKJx4eBGMN23DazEYVP4gsDF07tg2ZYNnFf0ym9DrGEYRM3towp82t4 fF3B+r4oAyyUPFpdY8dRrM2Pj/2bf1fC1FXwDPrICgaBPp4OmBbraIU+nz7GMmXsF3S4 I1FIc6vMN2vNs1Was06/H0EOj4ihxCf2PJj49xzl5TBAVMv5uO1pEEAsi81n+3eWUvpv jC8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz23si13582236ejc.703.2020.10.13.03.03.42; Tue, 13 Oct 2020 03:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730049AbgJLUjV (ORCPT + 99 others); Mon, 12 Oct 2020 16:39:21 -0400 Received: from mga09.intel.com ([134.134.136.24]:33953 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728412AbgJLUjU (ORCPT ); Mon, 12 Oct 2020 16:39:20 -0400 IronPort-SDR: J0Glf7CwbXYru1GwbTOGZpAwCUSCKkhPoONwG3t7T1Xv+oUKQ0CJs/ULFKyUCWP+uXES0eGSbt m7DB0lrJPmqw== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="165913093" X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="165913093" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 13:39:19 -0700 IronPort-SDR: n1NqhKUMpGir7bzHKyAni0axBg5PXuPWSZFUru34RILqzVKjP+OZb0Z7hg30Iz/YeGbUsQoPIq ewHCz+9YYaSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="299328162" Received: from silpixa00400314.ir.intel.com (HELO silpixa00400314.ger.corp.intel.com) ([10.237.222.51]) by fmsmga007.fm.intel.com with ESMTP; 12 Oct 2020 13:39:18 -0700 From: Giovanni Cabiddu To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, Giovanni Cabiddu , Fiona Trahe , Wojciech Ziemba , Andy Shevchenko Subject: [PATCH 09/31] crypto: qat - rename ME in AE Date: Mon, 12 Oct 2020 21:38:25 +0100 Message-Id: <20201012203847.340030-10-giovanni.cabiddu@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201012203847.340030-1-giovanni.cabiddu@intel.com> References: <20201012203847.340030-1-giovanni.cabiddu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Rename occurrences of ME in the admin module with the acronym AE (Acceleration Engine) as the two are equivalent. This is to keep a single acronym for engined in the codebase and follow the documentation in https://01.org/intel-quickassist-technology. Signed-off-by: Giovanni Cabiddu Reviewed-by: Fiona Trahe Reviewed-by: Wojciech Ziemba Reviewed-by: Andy Shevchenko --- drivers/crypto/qat/qat_common/adf_admin.c | 6 +++--- drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/qat/qat_common/adf_admin.c b/drivers/crypto/qat/qat_common/adf_admin.c index 3ae7c89ce82a..13a5e8659682 100644 --- a/drivers/crypto/qat/qat_common/adf_admin.c +++ b/drivers/crypto/qat/qat_common/adf_admin.c @@ -163,7 +163,7 @@ static int adf_send_admin(struct adf_accel_dev *accel_dev, return 0; } -static int adf_init_me(struct adf_accel_dev *accel_dev) +static int adf_init_ae(struct adf_accel_dev *accel_dev) { struct icp_qat_fw_init_admin_req req; struct icp_qat_fw_init_admin_resp resp; @@ -172,7 +172,7 @@ static int adf_init_me(struct adf_accel_dev *accel_dev) memset(&req, 0, sizeof(req)); memset(&resp, 0, sizeof(resp)); - req.cmd_id = ICP_QAT_FW_INIT_ME; + req.cmd_id = ICP_QAT_FW_INIT_AE; return adf_send_admin(accel_dev, &req, &resp, ae_mask); } @@ -206,7 +206,7 @@ int adf_send_admin_init(struct adf_accel_dev *accel_dev) { int ret; - ret = adf_init_me(accel_dev); + ret = adf_init_ae(accel_dev); if (ret) return ret; diff --git a/drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h b/drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h index 3868bcbed252..f05ad17fbdd6 100644 --- a/drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h +++ b/drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h @@ -6,7 +6,7 @@ #include "icp_qat_fw.h" enum icp_qat_fw_init_admin_cmd_id { - ICP_QAT_FW_INIT_ME = 0, + ICP_QAT_FW_INIT_AE = 0, ICP_QAT_FW_TRNG_ENABLE = 1, ICP_QAT_FW_TRNG_DISABLE = 2, ICP_QAT_FW_CONSTANTS_CFG = 3, -- 2.26.2