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 1B5A4C25B74 for ; Thu, 16 May 2024 17:35:14 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iHdGfuhALse0vI+hVy/8KKDg+zyrWzaYLyNoIsRjfkw=; b=m9PitcVlB5NixX xW9kYE0Rb5dlGG9OL5a47d9EEwaQEHUg+VihPg66QLyY0b/TyOdC2Ihzb7BQTFoZ6/n7rTpAX9VVE 0z2kmKKYmR7Wcs69QPNdXtAampzU18obLagSg/hDXiCF3BpQMaWsXtTN/YBQPgHjiaWzSskCX7Zdj tPxrQHU9LZVqMeso7RqdNMp3Rqyl/MTuoLoaqz4m+/mItQlTJrUcRJhoZvzFSVbENewTsgXbP8lQK nGALHqxIplc5drLqcAWPQX1Isqk2T4RssvLjb51wq1RMD3K0x+oO0Q8k4VsFMXy75AKcl4yTQb0SC aF9sybxMa3Eb/nnd3xOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7f0I-00000005fn7-0yxm; Thu, 16 May 2024 17:34:54 +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 1s7f0F-00000005fm7-14QV for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 17:34:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=qsUNAEp6V8S1 3BIsHNbcytjn57ia0Km6Lb+rpL2bI78=; h=in-reply-to:references:subject:cc: to:from:date; d=shadowice.org; b=ynCp0CXWfasL0xD12ntqbIkxF3TFRTgNhSQ3N 2z4drR5J+Eg70lwcAVRAJawQIwTkrfgVtzajRf5zzTXGQ22IZbBEj85GYmjYRJMxg5r2bq A4w19JdWnT+iR66FBvP6I1oMZkSeYfL/IfZpGD95mkVcquNKQX0hVGlJBNUc6N3A= Received: from localhost (p200300f48f089100f6d488fffe846a83.dip0.t-ipconnect.de [2003:f4:8f08:9100:f6d4:88ff:fe84:6a83]) by shadowice.org (OpenSMTPD) with ESMTPSA id dce83827 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 16 May 2024 19:34:48 +0200 (CEST) Date: Thu, 16 May 2024 19:34:44 +0200 From: Johannes Nixdorf To: Marc Zyngier Cc: Ard Biesheuvel , Mark Brown , linux-arm-kernel@lists.infradead.org Subject: Re: [BUG] dm-crypt broken after 2632e2521769 ("arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD") Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_103451_696890_3BEC7C41 X-CRM114-Status: GOOD ( 10.88 ) 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 On 2024-05-16 17:22, Johannes Nixdorf wrote: > 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 small correction: I noticed it at the jump to 6.8.x. The bisect started with 6.8.9 as the first bad commit. To make sure I now tested it again with the current master at ea5f6ad9ad96. The bug still reproduces with it. > 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 reproduced it with the following script in the initramfs since I did not have a working keyboard with vanilla kernels: fallocate -l $((1024 * 1024 * 1024)) disk.img losetup -f disk.img echo test | cryptsetup luksFormat -q /dev/loop0 echo test | cryptsetup open /dev/loop0 test fio /verify.fio And the following verify.fio: [write-and-verify] loops=10 rw=randwrite bs=4k direct=1 ioengine=libaio iodepth=16 verify=crc32c filename=/dev/mapper/test Regards, Johannes Nixdorf _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel