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 BEF06C433EF for ; Sat, 11 Jun 2022 08:03:05 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ImdYHOxm7sdxlRFvM8VpSlt4my4KezCzssysxQd1hE8=; b=BgJaQs3whwMiRA kUTnTl1HEljSTTJZjj43d2wIcRQRXRTGKeYiMMKPZ9ENhGxuTMK8S3tH8H0CDBbXc4MsT8mNUqjNd AWmfHaOS/zPpVy5YBAhQVjh9slUXZuCVVqMbCj0V+C/fT2vx+DEAXOFQ6lPjppPhPuhD4KfPkm8uK dygCBL3Ib2iT9Vf9Z4UFipHya0ASKyflt2AtVn9RToNUW23kLaM4CMEwuIUTLk9iKZxiK00jZmpbL 44VgpIALRR4Fu6fUGGONADx3eCBDRpNZNPo8/aqKgt3RkE8xDW3+3vNKwwJj0Nk5TcaNzadqrLRIp rSR2iCjKCYYCL5jqk0Kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzw45-00BxMd-6z; Sat, 11 Jun 2022 08:01:49 +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 1nzw42-00BxKk-Rq for linux-arm-kernel@lists.infradead.org; Sat, 11 Jun 2022 08:01:48 +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 5ACEDB8387F for ; Sat, 11 Jun 2022 08:01:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20C68C385A5 for ; Sat, 11 Jun 2022 08:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654934503; bh=zBAneI3dlAB1blFTYBgfy6zeZFCViZlUb5aDCnoIitg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GxK8W5jJzt+ykQ3O7KsIyEokRaGrcaHFa3zfOaYAvMNQyx6NngDuo5wwqhuuFvjlg nyWfvZ/mZEmxKX2c8sD5Plus+0p5MrinwyP4HMB/pQEP8By3ivSocx3vImXdHsKFDh NsYqLasmicSycCnmkg7yCwUMGo1HqrOrvLoOfpv0U/oxPcGvRvziM8YRchGjD+dcUh AooARiV3i3jLnK+2pvkTEMFBUtx/almUbAU048PjZBrTlWB7fbPCVqLyKpKFbYThLJ W5d8ooLDs4CT3xzuUb1KsZ41ecOad3OdbitW1zwY5lqx1Qe4UQ8ny2cyKhEp9L93VD 6cLP/I59y9EOQ== Received: by mail-oi1-f171.google.com with SMTP id p129so2023230oig.3 for ; Sat, 11 Jun 2022 01:01:43 -0700 (PDT) X-Gm-Message-State: AOAM532v7EQXgSg6vsB+wkM1p/bxeHAJ3s2bsuqJtTXiHOnvdmBiyDbI BRINuCfmDaeVyeruvSecVuvHdmvnbSlqmuuLb1Q= X-Google-Smtp-Source: ABdhPJwjtjPcxxmKR1R0hz4gBRD78HeptR5dz15EMcpQdbJLVXnYBkeoLuwt12UlOmIT8qakESLpATs1o2GJYNBQBhM= X-Received: by 2002:a05:6808:f88:b0:32b:d10f:cc6b with SMTP id o8-20020a0568080f8800b0032bd10fcc6bmr1949470oiw.228.1654934502295; Sat, 11 Jun 2022 01:01:42 -0700 (PDT) MIME-Version: 1.0 References: <20220610151228.4562-1-will@kernel.org> In-Reply-To: <20220610151228.4562-1-will@kernel.org> From: Ard Biesheuvel Date: Sat, 11 Jun 2022 10:01:30 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] arm64: mm: Fix cache maintenance for non-coherent streaming DMA To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Christoph Hellwig , Catalin Marinas , Robin Murphy , Russell King X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_010147_088910_4822CDCD X-CRM114-Status: GOOD ( 15.26 ) 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 Fri, 10 Jun 2022 at 17:12, Will Deacon wrote: > > 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 > Reviewed-by: Ard Biesheuvel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel