Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3130977pxm; Mon, 28 Feb 2022 12:42:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQRt+1dI3zJIB9A4dYznsmHDHLZemCg4xE10ALaurTcfaONFbiVbkJQuPvf5ccXdvBIeaL X-Received: by 2002:a17:906:3708:b0:6cf:bb34:9d2e with SMTP id d8-20020a170906370800b006cfbb349d2emr16315765ejc.665.1646080946013; Mon, 28 Feb 2022 12:42:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646080946; cv=none; d=google.com; s=arc-20160816; b=WJkzVUHy8n5JqToqI2vInisxTb5KcsbXRoeveF16au2eiJ98VasssjG+TzJXxpANeS NIsGv8hriWGTxTONPfTPDxEPwAh0iDnyHPIVuaMLUUw+p/KzaFeqKL45miCft1WRCAWO R1DLP8ARIF7hmNBjKYzL8/x9ThrfUuM9F6EXcmaxnSXZmMJv6UIHdV9frbQsJJ0yizi4 1Lkmv1MTOiaX6KktbwY96t+QIfSsI5R4bAPDIdUQOTyoqVc4AHVWB6NmCPociiqII7kY Jt3H4HL8/9Nq6HTiD2PH8oTUbfkvM1JnEqQNQ646CX2pt6XmCy4DlVJkMNcdhFLZwfnb pkkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=l6rGefCrXwHzQzK/zogwTSStaenBPvBVw64LfsH5Hzo=; b=IA2Fl5F4g30/4O66nwgG5I1peUuHbaHGcJosKPDibk67yeprVEtR7aRNARcyBji+cc g0hRrPSXd1Bg1W2TAbx8YhZTOVaI6XwRF+a9JPi6Oth4HbWwqw3NwnbS1VSL/YBY1/98 FPSSLfsGBz4mNt3ZfZ6hjSvUoXKBN8fzJ4Zc+e7l1fRubkKuGQA0hDUssi6pCcdsgMtF OoOOgSQc1h8ofCFV7bz8n0WnTJ7O18rt74BjJlgGjrcgM414T9Ws+OVwyU/HFoXHd6cx YdBCRrq2CvWxokIkMk6HZ6n+OGXd9BYxQkvnq/fgm7F4uqK/ErYvb9kOzbx2sh448nKL WGmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aiE9s3bS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 1-20020a170906318100b006ae720209a5si6225913ejy.969.2022.02.28.12.42.03; Mon, 28 Feb 2022 12:42:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aiE9s3bS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbiB1UkC (ORCPT + 99 others); Mon, 28 Feb 2022 15:40:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiB1UkA (ORCPT ); Mon, 28 Feb 2022 15:40:00 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D1FBFC9; Mon, 28 Feb 2022 12:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646080760; x=1677616760; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FyfdXQ0oJJy5xP7LYIM4Hoj9gpwoF/eamju/2GvJ4YU=; b=aiE9s3bSiSwJjl0Vs9/9+37OCrHclvjrXSya7InxGWTy2s9MVCeuJm0Z So4RtH/7zNvCNZeHTA6ebGXZHza7isMt9Jd4ED5NsSjd4yQHWfYt1m/Ge Nkkxx+p3bltCaoHucKV+Gku+8L+rFPXsXOdBp9br2Bm0MqSfrg/hvCTLP otUV9trJd7pHlI56BKe2ia8x10riHbSyGEZ9aZkZPfvrAcIEn+FloP8ap i1+4S+38gTkddT6iJXqawypCHLR6cKgCOUJbdShrbHGFrPVFM7xiEHL8a m6nFOPsgKKu+ee4dNR3Slw27WSiuKo+ZmiHEkMUQuio+57Ukws2EJUCBW A==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="252715548" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="252715548" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 12:39:20 -0800 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="510236616" Received: from silpixa00400314.ir.intel.com (HELO silpixa00400314) ([10.237.222.76]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 12:39:17 -0800 Date: Mon, 28 Feb 2022 20:39:11 +0000 From: Giovanni Cabiddu To: Linus Torvalds Cc: Kyle Sanderson , Herbert Xu , Dave Chinner , qat-linux@intel.com, Linux-Kernal , linux-xfs , Linux Crypto Mailing List , device-mapper development , Greg KH 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: Organization: Intel Research and Development Ireland Ltd - Co. Reg. #308263 - Collinstown Industrial Park, Leixlip, County Kildare - Ireland X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 28, 2022 at 11:25:49AM -0800, Linus Torvalds wrote: > On Mon, Feb 28, 2022 at 12:18 AM Kyle Sanderson wrote: > > > > Makes sense - this kernel driver has been destroying users for many > > years. I'm disappointed that this critical bricking failure isn't > > searchable for others. > > It does sound like we should just disable that driver entirely until > it is fixed. > > Or at least the configuration that can cause problems, if there is > some particular sub-case. The dm-crypt + QAT use-case is already disabled since kernel 5.10 due to a different issue. Is it an option to port those patches to stable till I provide a fix for the driver? I drafted already few alternatives for the fix and I am aiming for a final set by end of week. Thanks, -- Giovanni