Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1759966iof; Tue, 7 Jun 2022 10:57:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTRkL9/NMmkobyijpW+U+h6CrpH3RHFwwUf7Pi+VJJtlwFUWWZ1y0L5ZS/jIjQavSvNsLh X-Received: by 2002:a17:907:971f:b0:6ff:2d30:4b37 with SMTP id jg31-20020a170907971f00b006ff2d304b37mr27731385ejc.7.1654624624111; Tue, 07 Jun 2022 10:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654624624; cv=none; d=google.com; s=arc-20160816; b=VLsyjpDx3dUzf2tKmYVZDZJnL0Tr5+NZqtMeBsy0Ahzz0WRmlIg/F+hdt4Or3vOGJy y8sAmg+1cOAXxnb8JlH/XVhimSpAURB3qyyA1hZMLTiUdO1Gb2vfH3nzpUqdSB8JoeKK F3L9Igbv+Tx3109s2wVNhkzJ+vnYy7o4cz/ybB2K0nlJKMaIWTBi10BeHpFEHQiQPtmr a4xUX+1cnPgy5eN8Ufd6YrZhFS4722YyyxYRdiVzCgAa91TElvsox+i1bzeSG3rEcvxB psp05WTd/Fc61JJGEdDo778iXYBv/zrZyKuOH5MZhM7xBtoSsX5c5IjZC8u4YEF4crR2 tTCg== 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=ja5jRuDRMEcgQrVwhcKxIH+d5uN9ReMKGQE4dCNj9RI=; b=vU/gUxe/GR/YBDFxogNCEfZlyA4UEJROLGc9NACsum/VKMaKIIgSdVfdW+jUATxwxx Yz0z5XJg/1M4gW1SOm9PIaccabgmm64m8ryW8uVszVg2wSSlT/BZayNG/lTjUYdJPj3n oWYms/dQ2c2MZx7KBz1WU6x+Yqu/UP4zYVbXf+o9b77y6Ek/7D03JHRw4hfCXOT9Hckq ZMbeML6rcB9sDmp6uj5RB7IUOkUSVYq7CF/wF69AJhn0yU1w8/924N6Uu5PjGdJGBKll kZItlNRe01GAY0IERD9oKrtzUWcdAtlCmKcFOrjWepvht/02stYKF6OoXvOdLumDewtd 1TEQ== 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 p18-20020aa7c892000000b0042a9a1f4022si18964784eds.219.2022.06.07.10.56.29; Tue, 07 Jun 2022 10:57:04 -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 S1345302AbiFGQ64 (ORCPT + 99 others); Tue, 7 Jun 2022 12:58:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344350AbiFGQ6z (ORCPT ); Tue, 7 Jun 2022 12:58:55 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B3FFF3395; Tue, 7 Jun 2022 09:58:54 -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 D96A314BF; Tue, 7 Jun 2022 09:58:53 -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 A4FF23F800; Tue, 7 Jun 2022 09:58:53 -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: Tue, 7 Jun 2022 16:58:40 +0000 Message-Id: <20220607165840.66931-3-yoan.picchi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607165840.66931-1-yoan.picchi@arm.com> References: <20220607165840.66931-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..afc28059274e 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 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 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 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 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 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 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 select PCI_IOV select CRYPTO_DEV_QAT help -- 2.25.1