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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76A39C25B77 for ; Thu, 16 May 2024 16:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:Message-Id:Date: Mime-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=BYglZUBYgI6a9lre29j7AGJ2HqVrvqSqMZP11r7XdBU=; b=aOE P0ffehTcn3x3PeJJfolkcn/rlTwHRGEvTNXmfLiJhtQxW9dHG53XlFiQCBwtSKegvRcKHNlrCrVxE 6Y/7r5Ey/p5aZVG1LkvddEQ86X5jgnhnbpbbfZH+a12rzx+0jbgIItK8BKz3wzYv3mNY/SLKvt/P4 yHcozynjhqgfZlR514rUZL/JXWQQ0GN/U+96CC5unsd5BuX5MJwPB+zzoUoi4of4L8D2nUFmyIQtP nuNcTTG9nnBO30cPN9LLQ9eJh9ojfZC1hjA6OcBU1k6ivhoJzPsUz2EXBbYTGPz6kC7eLtMjZXc+N 4F4Ul4FpZhJOvqxvEbqQKO7iWL/uEUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7ds5-00000005UGA-0tVd; Thu, 16 May 2024 16:22:21 +0000 Received: from shadowice.org ([2a01:4f9:2a:869::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7ds0-00000005U8V-21hd for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 16:22:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=AYLV5GiB0Sxs xU03t+CAK/JxBEmE95jPOLTMRuXJBSU=; h=to:from:subject:date; d=shadowice.org; b=iYM8rx3RvL4oXHiUSeexENbdFtaudXzJtbdfC/BfMydZsU5yw0c dCVR3zLjCcafiZn3wkZ8EByOut6G8Yhj4Z1ZLxfjzdZPWHlvNVB+/EBWrqAZCfWLAsyVV4 B8cFu/vsBOkGAsLHtf0mtHWKL6Un/OfZuSMzglYja6FX/N6Sow= Received: from localhost (ip-109-40-242-61.web.vodafone.de [109.40.242.61]) by shadowice.org (OpenSMTPD) with ESMTPSA id 12c187f0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 16 May 2024 18:22:07 +0200 (CEST) Mime-Version: 1.0 Date: Thu, 16 May 2024 18:22:05 +0200 Message-Id: Subject: [BUG] dm-crypt broken after 2632e2521769 ("arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD") From: "Johannes Nixdorf" To: X-Mailer: aerc 0.17.0-0-g6ea74eb30457-dirty X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_092217_302527_63B7DF27 X-CRM114-Status: UNSURE ( 4.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org I noticed frequent FS corruption on my M1 MacBook running Linux after the Asahi Linux Kernel was updated to 6.9.x (from 6.6.x). A git bisect pointed me to 2632e2521769 ("arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD"). This was reproduced with fio's examples/basic-verify.fio (1GB of writing was not reliably, 10GB triggered it reliably) on vanilla kernels and happens on any storage backend behind dm-crypt. I was advised to report it here on IRC. This was independently described in [1]. Regards, Johannes Nixdorf [1]: https://github.com/tpwrules/nixos-apple-silicon/issues/200 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel