Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1994521imn; Mon, 1 Aug 2022 07:28:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sM/eQCKAt9TJR9HH7Nu071dtanoQNJElQs7+1TAdikVAvAdxAd303WvnzVvDpAx6XVmrpW X-Received: by 2002:a17:907:a06e:b0:72b:2cba:da35 with SMTP id ia14-20020a170907a06e00b0072b2cbada35mr12944629ejc.358.1659364116132; Mon, 01 Aug 2022 07:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659364116; cv=none; d=google.com; s=arc-20160816; b=t2664tIoiSiI1AotgjE1oydD3Gm5FfBCpy+mJBjHa2hS4Tmp6ZuIa85ZrUH3/WIHN/ P9c+hj6ZHvXEYnow+NlP/lT/fSH8xJns73zzJiwuhgpYzfJ0/cQUsEsaaAh1dTatjDnI kzKJcgWpwZnpTzEx62ajnVNSIlo+i9cH3yENTUnPl8k93WwlufuQcq1Om7wZ1DlNBvO0 un6evWRABo8WbBOckRp4HccrmJWkVqaTuMArOYOtzPW+5Kvzoo+70yMb+v6LWXrZlW9j fGCOwHcjlmabrAGCwsvouZILPiETB50rG8TPhvlVh5bOc9MCTmj8gMMjXL+5tM/IYqbc l9aA== 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=2l9PNEk0VzHS+XC6b5H8xF6ld6p+aUzJlOLEzm+qj2g=; b=PKs/BthK5CEYo7+KsAAcBvlZqx2GPLUzj4V2w78Y1T+PwrOWGszCa6/AIqpJc6SLIV mdxASmisy489Y167twAtzRAtgJ62Wud8Gtc/38WwQyjtzEw0rSc7SrCl1wAEbAV9tTIV CQdYKhsUUJaDWRVdnA0KwCcmtl+JEX3Q5HOkciOyd+P0hmnt/X0Tf+JEpXGchxoAtGef veq6pQHy5RD+nla61WcttWxGyK8ehRSqV46vpEhUMTbKYfOuJjyhgPIySQKu532bLKk0 KfW4p5KlZLyqV7y22+nhriFCJojF1KjC3FjT2Nb12/4KNPABH75CXk+3BLpkhTYGmj1f vOCQ== 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 di17-20020a170906731100b0072a6e7a054dsi1028026ejc.975.2022.08.01.07.28.08; Mon, 01 Aug 2022 07:28:36 -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 S232277AbiHAOFI (ORCPT + 99 others); Mon, 1 Aug 2022 10:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbiHAOFG (ORCPT ); Mon, 1 Aug 2022 10:05:06 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 84F1E2B260; Mon, 1 Aug 2022 07:05:05 -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 DBF9DED1; Mon, 1 Aug 2022 07:05:05 -0700 (PDT) Received: from [10.57.10.23] (unknown [10.57.10.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 877DA3F73B; Mon, 1 Aug 2022 07:05:00 -0700 (PDT) Message-ID: <57431a71-a71e-472a-9fb4-7acd4f9534cc@arm.com> Date: Mon, 1 Aug 2022 15:04:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 00/13] DMA Mapping P2PDMA Pages Content-Language: en-GB To: Logan Gunthorpe , Christoph Hellwig Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, iommu@lists.linux.dev, Stephen Bates , Dan Williams , Jason Gunthorpe , =?UTF-8?Q?Christian_K=c3=b6nig?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Martin Oliveira , Chaitanya Kulkarni , Ralph Campbell References: <20220708165104.5005-1-logang@deltatee.com> <20220726112906.GA2169@lst.de> From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE 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-07-26 16:55, Logan Gunthorpe wrote: > > > On 2022-07-26 05:29, Christoph Hellwig wrote: >> I've applied this to the dma-mapping for-next branch. >> >> I'd have liked a review from Robin, but as he seems to be out and the >> rework was to fit his comments I'd rather have us unblocked before >> the end of the merge window. > > Great thanks! If Robin has some feedback when he gets back I'd be happy > to make a couple more cleanup patches. Indeed I've been taking some (rather overdue) holiday the last couple of weeks, sorry I forgot to take a look at this version beforehand. From a quick skim, nothing stands out as objectionable; thanks for taking my suggestions on board! At some point once this lands I'll have a go at using the new flags to improve iommu-dma bounce buffering, so if I do spot anything else while I'm in there I'm sure could clean it up myself. Cheers, Robin.