From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 140F6C433F5 for ; Wed, 2 Mar 2022 10:29:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238733AbiCBK3v (ORCPT ); Wed, 2 Mar 2022 05:29:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233902AbiCBK3t (ORCPT ); Wed, 2 Mar 2022 05:29:49 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C81E68F983; Wed, 2 Mar 2022 02:29:06 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 735E4B81F64; Wed, 2 Mar 2022 10:29:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA9CEC004E1; Wed, 2 Mar 2022 10:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646216944; bh=SxiAf4w0t5Z/laDZISR+TqH6C7L6uEHJCHh5rWwHoak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Au0FuN8NZqg5fQ+d6O/N1dmXPu5GNfYEnDbEMSaNG1Y8T2Tj3ITcdCF+0wuIe+1Ah n/4TUvcQEpUqLJNbhS5GCJAMPbx5IaJfUSfUfh1M1K7pKH10FHyZMcLMjMGLhYYV5L IueFz4+O6nHwvx8amotFPOc55B48mTAqTV4VWUdU= Date: Wed, 2 Mar 2022 11:29:00 +0100 From: Greg KH To: Herbert Xu Cc: Linus Torvalds , Giovanni Cabiddu , Kyle Sanderson , Dave Chinner , qat-linux@intel.com, Linux-Kernal , linux-xfs , Linux Crypto Mailing List , device-mapper development Subject: Re: Intel QAT on A2SDi-8C-HLN4F causes massive data corruption with dm-crypt + xfs Message-ID: References: <20220219210354.GF59715@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 01, 2022 at 04:11:13PM +1200, Herbert Xu wrote: > On Mon, Feb 28, 2022 at 05:12:20PM -0800, Linus Torvalds wrote: > > > > It sounds like it was incidental and almost accidental that it fixed > > that thing, and nobody realized it should perhaps be also moved to > > stable. > > Yes this was incidental. The patch in question fixes an issue in > OOM situations where drivers that must allocate memory on each > request may lead to dead-lock so it's not really targeted at qat. Ok, so what commits should I backport to kernels older than 5.10 to resolve this? thanks, greg k-h