lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZZg/7+7XPXyR06CG@gcabiddu-mobl.ger.corp.intel.com>
Date: Fri, 5 Jan 2024 17:44:15 +0000
From: "Cabiddu, Giovanni" <giovanni.cabiddu@...el.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
CC: Jie Wang <jie.wang@...el.com>, <herbert@...dor.apana.org.au>,
	<linux-crypto@...r.kernel.org>, <qat-linux@...el.com>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/5] crypto: qat - add support for 420xx devices

Hi Geert,

On Tue, Dec 26, 2023 at 12:31:20PM +0100, Geert Uytterhoeven wrote:
> On Fri, 15 Dec 2023, Jie Wang wrote:
> > --- 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?
Thanks for spotting this.

For this particular device it should be X86_64.

Plug-in cards devices (e.g. DH895xCC), instead, should stay !CPU_BIG_ENDIAN
as they can be used on any little-endian system.

I'm going to send a patch to change this.

-- 
Giovanni

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ