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 D7724C433FE for ; Fri, 30 Sep 2022 13:11:46 +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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=tYZ+vWOXiHYN2cgK4QesFvSW/ImhUQ1vIo6M8YCRZck=; b=M7+NYZVZVsnBSA YcdVul07xlw4gvUEOCV24A7IiFvTkM/0jUyjcAJRC2xAGaiBw9umy0Qi/z9EFfrTxo2G1lAP4Ovlp Htayzzh+gvCi3k2KI4OD+wdOJb02ya/VFVqO6BV91UZcZU2m6uWKZuJnQ4bVYQ5VShRKltlpPL5mX gSI5yl4+nP7b187M6pF8S+kqacDcHOlYV/HEB+hb+xrwh2Q8XQyElFsJ8Niv12FvE8N11ErA7gLj7 HoE/KYVx0i8v8jq8MC+YnOLwREy3RLAHyoXKHgeIFmGyQgAMYXRmKzN6Uw1zFqF7odt9rwcz8IBU6 saZaEqLusDJuA0gglpbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeFms-009JOt-VQ; Fri, 30 Sep 2022 13:10:43 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeFmq-009JNl-0q for linux-arm-kernel@lists.infradead.org; Fri, 30 Sep 2022 13:10:41 +0000 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 3F6DDB8289D; Fri, 30 Sep 2022 13:10:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0E28C433D6; Fri, 30 Sep 2022 13:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664543434; bh=KhkGh4nJXgsCocWzrjM7zhuerVma0RliafHfN+vt5Ok=; h=Date:From:To:Cc:Subject:From; b=KedpgxdLNloD3y7nFgrPRbXAz1UEHnb9tPb3f4JO6dA1p90euNkVNbQuzPjzXpoNi 4RrcvsbWNqIm9LfgKjrRahX3SOW9KfbbigSb3YYVnreLaXE5gVBAspxog99EFbUiQN zeIJKKpGaB49SXnLLeH+maKc+ekSMM2u+Vpc4NSboWJibBRo+0PaVSFuWPVL2sIBWB LHUJJZok8AUN9GMD3/iLccbSHdO1LOxceUs14QxjM1zwRTZ3EUPws3hJyuRJMnDn9+ UdzjxQE2sPK/czG0hJTNSbvQBushox3CNl5fwE3jYW3QxM1gZ2beUw8RhanpG1y0t3 cGc+Swcg/J3tA== Date: Fri, 30 Sep 2022 15:10:28 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Christoph Hellwig , Arnd Bergmann , Andre Przywara , Marc Zyngier , Linus Torvalds Cc: Russell King , Andrew Lunn , Gregory Clement , Greg Kroah-Hartman , Robin Murphy , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: REGRESSION in 6.0-rc7 caused by patch "ARM/dma-mapping: use dma-direct unconditionally" Message-ID: <20220930151028.0e518421@dellmb> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220930_061040_242341_A716DECF X-CRM114-Status: GOOD ( 10.68 ) 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 Hello Linus, Arnd, Robin and Christoph, I just bisected a regression on Turris Omnia (Armada 385), wherein the system hangs shortly after init is run, to commit ae626eb97376 ("ARM/dma-mapping: use dma-direct unconditionally") https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ae626eb97376 In order to fix the regression, I had to revert this commit and subsequent 3 commits: ae626eb97376 ("ARM/dma-mapping: use dma-direct unconditionally") 42998ef08aba ("ARM/dma-mapping: drop .dma_supported for IOMMU ops") d563bccfa35b ("ARM/dma-mapping: consolidate IOMMU ops callbacks") 4136ce90f079 ("ARM/dma-mapping: merge IOMMU ops") in reverse order, of course: git revert 4136ce90f079 git revert d563bccfa35b git revert 42998ef08aba git revert ae626eb97376 Christoph, Robin, since you are the authors of these commits, do you have any idea what could be happening? Are we able to fix this without reverting those commits, before 6.0? Marek _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel