Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp257369iog; Fri, 17 Jun 2022 03:06:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s1Mc2cqGY+0jMEzrE/KJTn4VfFOz217s7qcvHvTAYmxALjhulEB2jjY2a+Zk06wFaaT172 X-Received: by 2002:a17:90b:38c4:b0:1e6:89f9:73da with SMTP id nn4-20020a17090b38c400b001e689f973damr9813522pjb.220.1655460375112; Fri, 17 Jun 2022 03:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655460375; cv=none; d=google.com; s=arc-20160816; b=XkdFSLtZh3YWZu9MKhj0kjC1mqLBuMDcWTmB4lV2eodxAVo49s+qv73wQQ4iXyYmcN V6KaiXYZdy0cC2vWA+QdnCnQFAxMtJYPyvwKfA5M4/LeR8N57bX/UpPcs9/MhTEKT+So XJNxYBc5O7r2VYHv5FEoHe2W80mi+HVLiZTHB/TdrbNfcc4S95XUlbOe5g26dX5M05fl RiG70fIrSHRQpiwsqrr2BMncH4iDTzcB3xRjMmN+HTCtWdT+BmQnxItUTeTjBEaYT+sB W+WmMYKM8tjMamgub9t3phN2NkaZQLQAXOhygmTQvo+Fo9oOR0nAFre/u6JLUuEm2gmI ywHg== 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; bh=rzgBmBVltRi/ByFovufG9y9SDNhPnGwR2OE5fE0ygEI=; b=kqOj71Hgx13RvFliv2gJSsOV1X3ZVDY7nTrsdF4HW2cBLffraf/JJE76SaaIomNbih eo6UGskCcMApe/V01IyBtQH7t8+7AQnIWMgm/HrffMsQxX3NVYI8PmdlRo14+uKr+O8Z IaFk0c4VpnbDmXVDdYnWRnBtCvwfgMgpah1MEfR8oSE7MNC2HZnWXabspbTyq2MbAR6N 9usI+j73r7W+/4tAh6z09a+yE1pHHNMBwLghWRHcWYTukP/IN8qUZaciNptGeyR3nz+G 2Wq211GRnx8najSDjzMVWT6pBJX78sTO1v8m7+jm1TDxKH90HQohL8KEr/cUy1St15lZ /t0w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020aa7818c000000b005184f87b172si4778264pfi.268.2022.06.17.03.05.59; Fri, 17 Jun 2022 03:06:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381159AbiFQJ7x (ORCPT + 99 others); Fri, 17 Jun 2022 05:59:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380929AbiFQJ7v (ORCPT ); Fri, 17 Jun 2022 05:59:51 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2211566F85; Fri, 17 Jun 2022 02:59:51 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 032CF1570; Fri, 17 Jun 2022 02:59:51 -0700 (PDT) Received: from ampere-altra-2-1.usa.Arm.com (ampere-altra-2-1.usa.arm.com [10.118.91.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B9EB83F800; Fri, 17 Jun 2022 02:59:50 -0700 (PDT) From: Yoan Picchi To: Giovanni Cabiddu , Herbert Xu , "David S . Miller" , qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andre Przywara , Ard Biesheuvel Subject: [PATCH v3 2/2] crypto: qat - Removes the x86 dependency on the QAT drivers Date: Fri, 17 Jun 2022 09:59:45 +0000 Message-Id: <20220617095945.437601-3-yoan.picchi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220617095945.437601-1-yoan.picchi@arm.com> References: <20220617095945.437601-1-yoan.picchi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, 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 This dependency looks outdated. After the previous patch, we have been able to use this driver to encrypt some data and to create working VF on arm64. We have not tested it yet on any big endian machine, hence the new dependency Signed-off-by: Yoan Picchi --- drivers/crypto/qat/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/qat/Kconfig b/drivers/crypto/qat/Kconfig index 4b90c0f22b03..1220cc86f910 100644 --- a/drivers/crypto/qat/Kconfig +++ b/drivers/crypto/qat/Kconfig @@ -17,7 +17,7 @@ config CRYPTO_DEV_QAT config CRYPTO_DEV_QAT_DH895xCC tristate "Support for Intel(R) DH895xCC" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select CRYPTO_DEV_QAT help Support for Intel(R) DH895xcc with Intel(R) QuickAssist Technology @@ -28,7 +28,7 @@ config CRYPTO_DEV_QAT_DH895xCC config CRYPTO_DEV_QAT_C3XXX tristate "Support for Intel(R) C3XXX" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select CRYPTO_DEV_QAT help Support for Intel(R) C3xxx with Intel(R) QuickAssist Technology @@ -39,7 +39,7 @@ config CRYPTO_DEV_QAT_C3XXX config CRYPTO_DEV_QAT_C62X tristate "Support for Intel(R) C62X" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select CRYPTO_DEV_QAT help Support for Intel(R) C62x with Intel(R) QuickAssist Technology @@ -50,7 +50,7 @@ config CRYPTO_DEV_QAT_C62X config CRYPTO_DEV_QAT_4XXX tristate "Support for Intel(R) QAT_4XXX" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select CRYPTO_DEV_QAT help Support for Intel(R) QuickAssist Technology QAT_4xxx @@ -61,7 +61,7 @@ config CRYPTO_DEV_QAT_4XXX config CRYPTO_DEV_QAT_DH895xCCVF tristate "Support for Intel(R) DH895xCC Virtual Function" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select PCI_IOV select CRYPTO_DEV_QAT @@ -74,7 +74,7 @@ config CRYPTO_DEV_QAT_DH895xCCVF config CRYPTO_DEV_QAT_C3XXXVF tristate "Support for Intel(R) C3XXX Virtual Function" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select PCI_IOV select CRYPTO_DEV_QAT help @@ -86,7 +86,7 @@ config CRYPTO_DEV_QAT_C3XXXVF config CRYPTO_DEV_QAT_C62XVF tristate "Support for Intel(R) C62X Virtual Function" - depends on X86 && PCI + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) select PCI_IOV select CRYPTO_DEV_QAT help -- 2.25.1