[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yh/vY4t3xnuoCW3Q@gondor.apana.org.au>
Date: Thu, 3 Mar 2022 10:27:47 +1200
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Giovanni Cabiddu <giovanni.cabiddu@...el.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Kyle Sanderson <kyle.leet@...il.com>,
Dave Chinner <david@...morbit.com>, qat-linux@...el.com,
Linux-Kernal <linux-kernel@...r.kernel.org>,
linux-xfs <linux-xfs@...r.kernel.org>,
Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
device-mapper development <dm-devel@...hat.com>
Subject: Re: Intel QAT on A2SDi-8C-HLN4F causes massive data corruption with
dm-crypt + xfs
On Wed, Mar 02, 2022 at 03:56:36PM +0100, Greg KH wrote:
>
> > If not, then these are the patches that should be backported:
> > 7bcb2c99f8ed crypto: algapi - use common mechanism for inheriting flags
> > 2eb27c11937e crypto: algapi - add NEED_FALLBACK to INHERITED_FLAGS
> > fbb6cda44190 crypto: algapi - introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY
> > b8aa7dc5c753 crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORY
> > cd74693870fb dm crypt: don't use drivers that have CRYPTO_ALG_ALLOCATES_MEMORY
> > Herbert, correct me if I'm wrong here.
>
> These need to be manually backported as they do not apply cleanly. Can
> you provide such a set? Or should I just disable a specific driver here
> instead which would be easier overall?
I think the safest thing is to disable qat in stable (possibly only
when DM_CRYPT is enabled/modular). The patches in question while
good may have too wide an effect for the stable kernel series.
Giovanni, could you send Greg a Kconfig patch to do that?
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists