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 93102C10F1A for ; Tue, 7 May 2024 09:51:27 +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=0hAL2yJnimPca20y5n3OSuVnrDikkXLgRPKckW/D9Ac=; b=A3DO6KMcCtlQrQ NgaTng6nWrKWk8CEicuP7CucYJ10ljAv+IcXckWGGv7p38dqS/0ikIiZx8FAKlf34eMa2xkuHHIhM RWd0hX/q7YG8z1ElQl5IvtCfcpvCTJEkx2Vx3QofHZp3CBmvDs9u4A5GBWWYhyV5d7qcUyfOP3oJF EAP7XB7nyFOBpN1JANDnCsUPLiDtPCaJWe9J1AoZ8sI5q5Nrsw2M8sXM1H75dABa6cjZAyvzD1Ucz yDfbkcfGKSoCVgdnnmiiyQhkn4ZaXuBRHKl8nwCyffEwfI9VS2or4BxpCubcb+YTsSXdO1C5gi3KF sAgUkIsVmT6wF8csYCag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4HTa-0000000AOts-0MSH; Tue, 07 May 2024 09:51:10 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4HTX-0000000AOsv-36SY for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 09:51:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 6289ACE1267; Tue, 7 May 2024 09:51:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0E6DC2BBFC; Tue, 7 May 2024 09:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715075443; bh=ADtabK3K92lvMOfY/6PsZesyU6XRH5vXTw5RjUA0w8o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sdMEqh7N6iSsQVVstvipmlrjE0kU9ZUcaFD4+jzgxFpZi9dZrMjFZL7Ta0hD+nNOg GhNrq02SA0eLOECeOk5W/L7NUx34e/dfpC6DGoQrvJJfgW+4CNknMlDplpYqLGY/sQ HkUgz5jZ2yMKwTcvB+vLWT1cTmlpBdavMoIjWnujn5HmxN/goe1L8FjC3ij3jSjq37 N4ImkzCVLMmhg1WkyW7rq62cDz4edsk7iV0n9+KxdZT4VeyXBzKG71E9QduEeFWdeL 3Uf4eNBfSy9uqlafKSLNsrZf0YKKjmor26Q5lpoU3Yw92MIAF75C9pjWU0fjTyA8ee N76wmGPoG+LGA== Date: Tue, 7 May 2024 10:50:38 +0100 From: Will Deacon To: Dmitry Baryshkov , joro@8bytes.org Cc: Robin Murphy , catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Subject: Re: [PATCH] arm64: Properly clean up iommu-dma remnants Message-ID: <20240507095037.GA22185@willie-the-truck> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_025108_178572_E44C384D X-CRM114-Status: GOOD ( 16.48 ) 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 Sat, May 04, 2024 at 05:21:12PM +0300, Dmitry Baryshkov wrote: > On Tue, 30 Apr 2024 at 13:23, Robin Murphy wrote: > > > > Thanks to the somewhat asymmetrical nature, while removing > > iommu_setup_dma_ops() from the arch_setup_dma_ops() flow, I managed to > > forget that arm64's teardown path was also specific to iommu-dma. Clean > > that up to match, otherwise probe deferral will lead to the arch code > > erroneously removing DMA ops set elsewhere. > > > > Reported-by: Dmitry Baryshkov > > Link: https://lore.kernel.org/linux-iommu/Zi_LV28TR-P-PzXi@eriador.lumag.spb.ru/ > > Fixes: b67483b3c44e ("iommu/dma: Centralise iommu_setup_dma_ops()") > > Signed-off-by: Robin Murphy > > --- > > arch/arm64/Kconfig | 1 - > > arch/arm64/mm/dma-mapping.c | 8 -------- > > 2 files changed, 9 deletions(-) > > > Just wanted to ping regarding the patch. It's still not a part of > linux-next, Is it going to be picked up for 6.10? Oops, thanks Dmitry! Joerg -- please can you pick this one up for iommu next? It fixes a commit you already have there, so I think it's best to keep everything together. FWIW: Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel