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 75A7DC433EF for ; Fri, 10 Jun 2022 15:14:07 +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:Date:Subject:Cc :To:From: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=kBezCORB7sn/WfE7QfCRTArYy25n36veRr3KLO23Asg=; b=rqLgyFcMI+2dUa /JZqEOKOHqxeBm3tPeB9WlLGb+WEAl+RwRlA8AvlPezx3WA70H4uiPHBnFQZ60Xe8jArDKT7DLxQj 5Dyl4LciWZrZTzOUjzJBQsrQkxwQPIivxF7L5Ioc8v2AwBMtVRO+Nk/DZpKUJeiN6DZ3Oc5gXgmPC 3TJjybl/dFCL7rnPmwlv7NUZBSqd+QIZiO39EpWTupgOs7yKqoFDVP5uDNyMO8Ob7pM8U1ApLjq4K x9h32zN5++DxHb1ignRDI1PxXlFYA5Yb5wjMlGxC6rpkZEsd+ToyMH6+8VN7SLGm3Gov8ZJ/WTAm6 K3KlxB7sSeA5dbgfGvqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzgJr-008i6z-S8; Fri, 10 Jun 2022 15:13:03 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzgJo-008i5a-Uf for linux-arm-kernel@lists.infradead.org; Fri, 10 Jun 2022 15:13:02 +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 E037FB835FB; Fri, 10 Jun 2022 15:12:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B906C34114; Fri, 10 Jun 2022 15:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654873977; bh=rPDxfEcCfAVTYfmbjBPm7AU23dYgMjyhwXyN3vqIPBw=; h=From:To:Cc:Subject:Date:From; b=ur4bxH984TsdCpWmcI5PrC4/UTBrB3CY3E9IiJY88NM2vyjfWcyu2XxwuxUgfPBIT lbkkCYIpv502nX/mIo9sywz5YY0esWwOpd+tiqqQELoOE/LWOFqYN2Xe9aE9wLPnuU HVjfizik7OBkR5OCH65y4GcYdZ1CEim1UXy2Vq3m+XSXCYHifylDxp+MB8wp+f+LuH 77066HoxxnscIQinUQW4lwMQvWAEra2SQAi7kOeRt8U/oXd3fLpQsd6+Dv0usoWecO pSJnKfsrMc96fkcBWV3NdunZX+WdGG393SzwVMXtUixAc+KFpoSa6NcF8/IIKG1N3B z1dSzXV98IxVA== From: Will Deacon To: linux-arm-kernel@lists.infradead.org Cc: Will Deacon , Ard Biesheuvel , Christoph Hellwig , Catalin Marinas , Robin Murphy , Russell King Subject: [PATCH 0/2] arm64: mm: Fix cache maintenance for non-coherent streaming DMA Date: Fri, 10 Jun 2022 16:12:26 +0100 Message-Id: <20220610151228.4562-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220610_081301_169852_6680071B X-CRM114-Status: GOOD ( 11.82 ) 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 Hi all, This pair of patches follows-up on the discussion we had on linux-arch earlier this week and addresses the reported problem for arm64 only. Other architectures should be able to do something similar if they wish, but this all came out of discussion and code inspection rather than a concrete failure. Cheers, Will Cc: Ard Biesheuvel Cc: Christoph Hellwig Cc: Catalin Marinas Cc: Robin Murphy Cc: Russell King --->8 Will Deacon (2): arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer arm64: mm: Remove assembly DMA cache maintenance wrappers arch/arm64/include/asm/cacheflush.h | 7 ----- arch/arm64/mm/cache.S | 43 ----------------------------- arch/arm64/mm/dma-mapping.c | 19 +++++++++---- 3 files changed, 14 insertions(+), 55 deletions(-) -- 2.36.1.476.g0c4daa206d-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel