RE: [EXT] Re: [PATCH v8,net-next,00/12] Add Support for Marvell OcteonTX2

2020-11-02 Thread Srujana Challa
> On Wed, Oct 28, 2020 at 6:50 PM Srujana Challa wrote: > > > > This series introduces crypto(CPT) drivers(PF & VF) for Marvell OcteonTX2 > > CN96XX Soc. > > > > OcteonTX2 SOC's resource virtualization unit (RVU) supports multiple > > physical and virtual functions. Each of the PF/VF's functionali

RE: [EXT] Re: [PATCH v8,net-next,02/12] octeontx2-af: add mailbox interface for CPT

2020-11-02 Thread Srujana Challa
> On Wed, Oct 28, 2020 at 10:44 PM Srujana Challa wrote: > > > > On OcteonTX2 SoC, the admin function (AF) is the only one with all > > priviliges to configure HW and alloc resources, PFs and it's VFs > > have to request AF via mailbox for all their needs. This patch adds > > a mailbox interface f

Re: [PATCH] crypto: caam - fix printing on xts fallback allocation error path

2020-11-02 Thread Iuliana Prodan
On 11/1/2020 10:05 PM, Horia Geantă wrote: At the time xts fallback tfm allocation fails the device struct hasn't been enabled yet in the caam xts tfm's private context. Fix this by using the device struct from xts algorithm's private context or, when not available, by replacing dev_err with pr_

Re: [PATCH] crypto: qat: remove unneeded semicolon

2020-11-02 Thread Giovanni Cabiddu
On Tue, Oct 27, 2020 at 12:04:07PM -0700, t...@redhat.com wrote: > From: Tom Rix > > A semicolon is not needed after a switch statement. I rebased the patch on top of cryptodev-2.6/master as it didn't apply after the latest patches to the qat driver and modified slightly the commit message: /s/qa

Re: [PATCH v36 00/13] /dev/random - a new approach

2020-11-02 Thread Torsten Duwe
On Wed, 28 Oct 2020 19:07:28 +0100 Greg Kroah-Hartman wrote: > On Wed, Oct 28, 2020 at 06:51:17PM +0100, Torsten Duwe wrote: > > On Mon, 19 Oct 2020 21:28:50 +0200 > > Stephan Müller wrote: > > [...] > > > * Sole use of crypto for data processing: > > [...] > > > - The LRNG uses only properly d

[PATCH crypto] crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the manager

2020-11-02 Thread Jason A. Donenfeld
The extra tests in the manager actually require the manager to be selected too. Otherwise the linker gives errors like: ld: arch/x86/crypto/chacha_glue.o: in function `chacha_simd_stream_xor': chacha_glue.c:(.text+0x422): undefined reference to `crypto_simd_disabled_for_test' Fixes: 2343d1529aff

[PATCH] crypto: qat - remove cast for mailbox CSR

2020-11-02 Thread Giovanni Cabiddu
From: Adam Guerin Remove cast for mailbox CSR in adf_admin.c as it is not needed. Suggested-by: Andy Shevchenko Signed-off-by: Adam Guerin Reviewed-by: Giovanni Cabiddu Reviewed-by: Andy Shevchenko Signed-off-by: Giovanni Cabiddu --- drivers/crypto/qat/qat_common/adf_admin.c | 2 +- 1 file

Re: [PATCH v2 net-next 1/3] soc/fsl/qbman: Add an argument to signal if NAPI processing is required.

2020-11-02 Thread Horia Geantă
On 11/2/2020 1:23 AM, Sebastian Andrzej Siewior wrote: > dpaa_eth_napi_schedule() and caam_qi_napi_schedule() schedule NAPI if > invoked from: > > - Hard interrupt context > - Any context which is not serving soft interrupts > > Any context which is not serving soft interrupts includes hard int

Re: [PATCH v2 net-next 3/3] crypto: caam: Replace in_irq() usage.

2020-11-02 Thread Horia Geantă
On 11/2/2020 1:23 AM, Sebastian Andrzej Siewior wrote: > The driver uses in_irq() + in_serving_softirq() magic to decide if NAPI > scheduling is required or packet processing. > > The usage of in_*() in drivers is phased out and Linus clearly requested > that code which changes behaviour depending

Re: [PATCH net-next 04/15] net: mlx5: Replace in_irq() usage.

2020-11-02 Thread Saeed Mahameed
On Sat, 2020-10-31 at 09:59 -0700, Jakub Kicinski wrote: > On Tue, 27 Oct 2020 23:54:43 +0100 Sebastian Andrzej Siewior wrote: > > mlx5_eq_async_int() uses in_irq() to decide whether eq::lock needs > > to be > > acquired and released with spin_[un]lock() or the irq > > saving/restoring > > variants

[PATCH v5 4/9] crypto: zstd: Switch to zstd-1.4.6 API

2020-11-02 Thread Nick Terrell
From: Nick Terrell Move away from the compatibility wrapper to the zstd-1.4.6 API. This code is functionally equivalent. Signed-off-by: Nick Terrell --- crypto/zstd.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/crypto/zstd.c b/crypto/zstd.c in

[GIT PULL][PATCH v5 0/9] Update to zstd-1.4.6

2020-11-02 Thread Nick Terrell
From: Nick Terrell Please pull from g...@github.com:terrelln/linux.git tags/v5-zstd-1.4.6 to get these changes. Alternatively the patchset is included. This patchset upgrades the zstd library to the latest upstream release. The current zstd version in the kernel is a modified version of upst

[PATCH v5 2/9] lib: zstd: Add decompress_sources.h for decompress_unzstd

2020-11-02 Thread Nick Terrell
From: Nick Terrell Adds decompress_sources.h which includes every .c file necessary for zstd decompression. This is used in decompress_unzstd.c so the internal structure of the library isn't exposed. This allows us to upgrade the zstd library version without modifying any callers. Instead we jus

[PATCH v5 1/9] lib: zstd: Add zstd compatibility wrapper

2020-11-02 Thread Nick Terrell
From: Nick Terrell Adds zstd_compat.h which provides the necessary functions from the current zstd.h API. It is only active for zstd versions 1.4.6 and newer. That means it is disabled currently, but will become active when a later patch in this series updates the zstd library in the kernel to 1.

[PATCH v5 8/9] lib: unzstd: Switch to the zstd-1.4.6 API

2020-11-02 Thread Nick Terrell
From: Nick Terrell Move away from the compatibility wrapper to the zstd-1.4.6 API. This code is functionally equivalent. Signed-off-by: Nick Terrell --- lib/decompress_unzstd.c | 40 ++-- 1 file changed, 14 insertions(+), 26 deletions(-) diff --git a/lib/de

[PATCH v5 7/9] squashfs: zstd: Switch to the zstd-1.4.6 API

2020-11-02 Thread Nick Terrell
From: Nick Terrell Move away from the compatibility wrapper to the zstd-1.4.6 API. This code is functionally equivalent. Signed-off-by: Nick Terrell --- fs/squashfs/zstd_wrapper.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/squashfs/zstd_wrapper.c b/fs/squas

[PATCH v5 6/9] f2fs: zstd: Switch to the zstd-1.4.6 API

2020-11-02 Thread Nick Terrell
From: Nick Terrell Move away from the compatibility wrapper to the zstd-1.4.6 API. This code is more efficient because it uses the single-pass API instead of the streaming API. The streaming API is not necessary because the whole input and output buffers are available. This saves memory because w

[PATCH v5 9/9] lib: zstd: Remove zstd compatibility wrapper

2020-11-02 Thread Nick Terrell
From: Nick Terrell All callers have been transitioned to the new zstd-1.4.6 API. There are no more callers of the zstd compatibility wrapper, so delete it. Signed-off-by: Nick Terrell --- include/linux/zstd_compat.h | 116 1 file changed, 116 deletions(-)

[PATCH v5 5/9] btrfs: zstd: Switch to the zstd-1.4.6 API

2020-11-02 Thread Nick Terrell
From: Nick Terrell Move away from the compatibility wrapper to the zstd-1.4.6 API. This code is functionally equivalent. Signed-off-by: Nick Terrell --- fs/btrfs/zstd.c | 48 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/fs/btr

[no subject]

2020-11-02 Thread George
Do you get my previous message

[no subject]

2020-11-02 Thread George
Did you get my previous mail