Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp849555pxb; Thu, 21 Apr 2022 11:42:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMk0IouID5ORMHUq8BpRI6bfSBjqJimDFrBxcTh2MpviSMBOu+Ud9cOtwUtsoFziM0GXPb X-Received: by 2002:a17:907:3e25:b0:6ef:e246:cfc7 with SMTP id hp37-20020a1709073e2500b006efe246cfc7mr729477ejc.613.1650566548907; Thu, 21 Apr 2022 11:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650566548; cv=none; d=google.com; s=arc-20160816; b=GkQndF/ioTwA7L8DKxDGmhnEVgQxMtN+WPpFYEWURluJ6ZhHCXTK2hqvZLIlslqFPH BPI+i4NnxB+UB+1y6IjHTERfrbsymys7vcVjadYj1oFlqeBH9CRAN6s+uv0GiosSG4yg gs7QWpz5V+zYFSWjjABdaFZ09SuJVF0GtoeXFMNw2kU6lglQzjo3WQZBfff2tvd2kCeY RrgpjH38b3VaUb4mT6iAQBpMBXG1nRiu9FcmKIy+dJKLkFI3BjmbbE7Yp2g1wJlqB8Jo dFJ5+dqJTLbIFA0DyMJuOrHde0sQEQXYkKCCZX3xfzc7kjA02fkux1dMjuF8QySKDFcW wafw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=/ENSdgo7pk2YWECH8C+0iNefxkWoCIwZ4O0VscMkXjo=; b=p6YuDO19XuLUCfKtZzYrOB/WpBEvxpNDH5nC2yKY6k/t91UQPCpX2hBbb2HkynsC/f fobdC1vQq18H9JDTSxLCz9xHuzLmlfacfMnns3Krz6Q0iTCCxotQrsteVpHVUr5CjM46 xc2qD0BhWzkIRHm89YgdHHvmo18w8pvOZbHjYYNuN1mlJtJBvfXRk/NEQeB8Yjc2qsXm RlrpfW4T7s0y8J6eVUboJh8VyefwACErA7ggIK8HTHfs3H4Ldo/Jx1eoohaxEFhISRIJ QKTftQLdrv1ryupOrzwu0DvuqjGMTW4T0jyc5RhPZ3BtzkHcUmzLQ5+435ELePO2M+FS vy/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a17090608cb00b006e894ed1a28si4480975eje.593.2022.04.21.11.42.04; Thu, 21 Apr 2022 11:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389434AbiDUOiJ (ORCPT + 99 others); Thu, 21 Apr 2022 10:38:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389500AbiDUOiE (ORCPT ); Thu, 21 Apr 2022 10:38:04 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 43453AE40 for ; Thu, 21 Apr 2022 07:35:15 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E18AC1515; Thu, 21 Apr 2022 07:35:14 -0700 (PDT) Received: from [10.57.41.251] (unknown [10.57.41.251]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8161A3F73B; Thu, 21 Apr 2022 07:35:13 -0700 (PDT) Message-ID: <665d2b46-c9e2-2543-cad5-9adf022e4bcb@arm.com> Date: Thu, 21 Apr 2022 15:35:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 0/3] More ARM DMA ops cleanup Content-Language: en-GB To: Christoph Hellwig Cc: linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com, arnd@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20220421141300.GC20492@lst.de> From: Robin Murphy In-Reply-To: <20220421141300.GC20492@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-04-21 15:13, Christoph Hellwig wrote: > On Thu, Apr 21, 2022 at 12:36:56PM +0100, Robin Murphy wrote: >> Hi all, >> >> Thanks to Christoph's latest series, I'm reminded that, if we're going >> to give the ARM DMA ops some cleanup this cycle, it's as good a time as >> any to dust off these old patches and add them on top as well. I've >> based these on the arm-dma-direct branch which I assume matches the >> patches posted at [1]. > > All these do look sensible to me. But weren't you working on replacing > the ARM iommu dma_ops with dma-Ń–ommu anyway? Yes, that's somewhat entangled with the IOMMU bus ops stuff, so I'll probably get to the point of having to revisit it in a couple of months or so. These patches are off the bottom of that stack from my first attempt, where the aim was to make the current ops the same shape first so that the switch is then easier to reason about (particularly in terms of sounding out any issues with the hooking up of dev->dma_coherent, although your series will now be taking most of the load off there). Cheers, Robin.