Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp723142iog; Mon, 13 Jun 2022 11:27:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz05dAs3Jc0V6oSo/remUNH9IAZ5gry6owsR9Ysj6ZM8JPANlaoDGGGocUwMFzMEW6+IzmP X-Received: by 2002:a65:6e47:0:b0:3c6:7d47:ddc8 with SMTP id be7-20020a656e47000000b003c67d47ddc8mr781957pgb.157.1655144871132; Mon, 13 Jun 2022 11:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655144871; cv=none; d=google.com; s=arc-20160816; b=oHctOS4R0H7xI65rVIfFyg1n2h3xQFFS54KsA0MWs4Ui0NisRuS8mb4GxpPUQY12dy VVkC/rprJsEtb6HL5+kCfTPpAC/pnoGptp2TTZ6RUZDWIObySQnDjMwhGDSFKwKgIlsG LEhclLxLbtZM4AcbXfcyFNj1mAc633d9X9qt4jsB50SBfT9BGppaIvcZGFKGdc4A7V+O hdkv/FLcNP5pnLACluH0awgMIJpfbwH9arM0Cq5RWOivn5axfhyZ7eODn+3kJIQH/Aur w+WbD8qrG4evriwFmHC9ue3GXziEXmqDLemj3fZnrOxDhtCsFDPjM6s1i5bLf0s+9tYT ZAag== 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=e06YRGujMZ8vZ/wYnmmW+H8Df2g2b4X6GrIZZHshW3pEmuoCZ0GvWgL0DNaNRnW2+Z 9E4DyMOrl+u9rC3OVKlzhSDcmUtBnzwHhKSHvDWao6p7RcUhzTQ/YJqLyVKiTs0sVQSp Gmr6qtPNmllGhGpbNn+BOmGDcEeC7JwjvnrmPpSt7xG0VmKRc4uAAbF6sUhhBd1D4qzq C21rBX/UlVRmMs2C/yIfZiHUjN2EiTyeyjY3n00fdQw92ge8Faeu4pUqumgF6I3PIv/n FMJzEocA0f1veq8TJ4HjEghRXypvGhz059IL88zhaz8u7ZxWwliAXJb2+TVp61YCWeDr tbfQ== 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 n24-20020a635918000000b00401a3b7b294si10305710pgb.133.2022.06.13.11.27.26; Mon, 13 Jun 2022 11:27:51 -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 S245107AbiFMSVv (ORCPT + 99 others); Mon, 13 Jun 2022 14:21:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245163AbiFMSVa (ORCPT ); Mon, 13 Jun 2022 14:21:30 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF63746CAA; Mon, 13 Jun 2022 07:25:41 -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 53D941042; Mon, 13 Jun 2022 07:25:41 -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 19AB73F85F; Mon, 13 Jun 2022 07:25:41 -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 2/2] Removes the x86 dependency on the QAT drivers Date: Mon, 13 Jun 2022 14:25:35 +0000 Message-Id: <20220613142535.222041-3-yoan.picchi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220613142535.222041-1-yoan.picchi@arm.com> References: <20220613142535.222041-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