Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2734146rdb; Tue, 26 Dec 2023 03:31:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbYVActYIIvzS/yZc2Y7kA0Mor+n5xKK9CZ67u0e7O8n55BK3xrM9NlUltXgUK3+g1vmJS X-Received: by 2002:a05:6808:1201:b0:3b8:4d7b:9259 with SMTP id a1-20020a056808120100b003b84d7b9259mr7372890oil.35.1703590304887; Tue, 26 Dec 2023 03:31:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703590304; cv=none; d=google.com; s=arc-20160816; b=e/1VvBMT7NQmpBSRLroXPAFEqfQb/KBYiWerCfHTOPzLbAAPiSNkyrVj7kUCl+GjDV 17qXE/xj6Avr1hrKP0MBu9eoz2X2MBKfe3g7+S6Nj20Oz2R5D/tP9JVZLjD/UgcY82Ew m43JENahYG/RMOJDu5U3PabJEqDdCYnr5sdqzxoQ8s5yKZZP2ntgOo0FqbiwyqsnbCBg XakKJ6KLl2Dof5ej7YuyAZxCtwi1D7PZW5bLDlYeH0QqYlqg/LdjBtdxXvyLwm/mNZWg 4SSbd4GJbphTQczt5dKUlwsiJU6YqxWwKbbHA7/dHK5SmDyTPcRaeF3dRwucawk6b6AS 9VUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date; bh=TT7IXhsDGboUm4ia5c2v1K5Qh8dtmNvxCSRlN1OsRgU=; fh=0qx81gNzXlBsRWqK3SkaqgYOp53tVdNbvMOSzXimQKI=; b=eY32Ys+3umux62H8dJzf2RVAGyHa0hPid7UKOddFT0sb+owX/fOMBsJhXD+IAbVyMj omPbP0cPvsL/5qJhFWfZSMH8O4BZfUUArDr/qEkBxt3GxYqEDKdMXRqOUiMxK8aOt0HJ /gwKwmnJ06foFD55JCN/vZzlGMntoTFsLlLzq3z+7XTWHwuSpzuFIp0SYCqmCEe5O2h2 9oRGf74e/AUxeTN8+tiYPo3SWdhA0wpjeTCt8cdeaZrSVSdUwL+NxqEywchFZYASfjaV q2qjnwBWeSBa+11sgntM5IHn5fhPFKPR/KBRKrqOCrnlvJjXRxVvRBivIx2F5QCas2dP BvNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-1039-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1039-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d6-20020a0cdb06000000b0067f234b2c59si12001919qvk.422.2023.12.26.03.31.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 03:31:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1039-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-1039-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1039-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8A0681C20D54 for ; Tue, 26 Dec 2023 11:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 034C14E1CE; Tue, 26 Dec 2023 11:31:40 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [195.130.132.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0C6C4E1C9 for ; Tue, 26 Dec 2023 11:31:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4Szszj2Xbwz4x9VP for ; Tue, 26 Dec 2023 12:31:29 +0100 (CET) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:9b4b:afc4:afcc:abac]) by andre.telenet-ops.be with bizsmtp id SzXL2B0092KswmB01zXLCU; Tue, 26 Dec 2023 12:31:22 +0100 Received: from geert (helo=localhost) by ramsan.of.borg with local-esmtp (Exim 4.95) (envelope-from ) id 1rI5ea-00DRWR-Fl; Tue, 26 Dec 2023 12:31:20 +0100 Date: Tue, 26 Dec 2023 12:31:20 +0100 (CET) From: Geert Uytterhoeven To: Jie Wang cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, qat-linux@intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] crypto: qat - add support for 420xx devices In-Reply-To: <20231215100147.1703641-6-jie.wang@intel.com> Message-ID: References: <20231215100147.1703641-1-jie.wang@intel.com> <20231215100147.1703641-6-jie.wang@intel.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-447575269-1703590280=:3203928" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-447575269-1703590280=:3203928 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Hi Jie, On Fri, 15 Dec 2023, Jie Wang wrote: > Add support for 420xx devices by including a new device driver that > supports such devices, updates to the firmware loader and capabilities. > > Compared to 4xxx devices, 420xx devices have more acceleration engines > (16 service engines and 1 admin) and support the wireless cipher > algorithms ZUC and Snow 3G. > > Signed-off-by: Jie Wang > Co-developed-by: Dong Xie > Signed-off-by: Dong Xie > Reviewed-by: Giovanni Cabiddu Thanks for your patch, which is now commit fcf60f4bcf54952c ("crypto: qat - add support for 420xx devices") in crypto/master > --- a/drivers/crypto/intel/qat/Kconfig > +++ b/drivers/crypto/intel/qat/Kconfig > @@ -59,6 +59,17 @@ config CRYPTO_DEV_QAT_4XXX > To compile this as a module, choose M here: the module > will be called qat_4xxx. > > +config CRYPTO_DEV_QAT_420XX > + tristate "Support for Intel(R) QAT_420XX" > + depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) These dependencies suggest that the QAT_420XX device can be present and used on any little-endian system that supports PCIe (arm64, MIPS, PowerPC, RISC-V, ...). However, [1] says QAT is only present on intel Atom? C5000, P5300, and P5700 processors, implying the dependency should rather be depends on PCI && (X86_64 || COMPILE_TEST) Which one is correct? [1] https://www.intel.com/content/www/us/en/architecture-and-technology/intel-quick-assist-technology-overview.html > + select CRYPTO_DEV_QAT > + help > + Support for Intel(R) QuickAssist Technology QAT_420xx > + for accelerating crypto and compression workloads. > + > + To compile this as a module, choose M here: the module > + will be called qat_420xx. > + > config CRYPTO_DEV_QAT_DH895xCCVF > tristate "Support for Intel(R) DH895xCC Virtual Function" > depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds --8323329-447575269-1703590280=:3203928--