Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4213613imj; Tue, 12 Feb 2019 11:47:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IbK0wSgd9z7wAkHOZqdh3RJGUJo00QNaF7tdLQYb6hi3In1SbBsYyvXs2s7sOJ9HPo9H5Ly X-Received: by 2002:a17:902:f091:: with SMTP id go17mr5708690plb.235.1550000830052; Tue, 12 Feb 2019 11:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550000830; cv=none; d=google.com; s=arc-20160816; b=Ws/t+oLReXqL5qcCsqyxgBw7V2uuvtRlgqKkfUtqkxXBDTPIrXfkJhdqwkksWVOoNF d6+kPEGlqYlJ8x8z+J/hd+iI1jcVVm3eD+ruvux1PZt8CptwknEWdJURx+m6sbTIRXw/ 2hI5aPH6WDXLHylfZ1gPGviogttOdQTk1dldJpd31I8o0WmXwCnbTca97YVEZWYfOgUW N1245l/OLUpt51LoTHxAeLTACeWhG/6sYLp1nQOLtpcTGJGJX2wS0rQahnnvXkFO20Wo E9YcnjVsTg1J5bVUVBR26WvRDdVrU+dm8AFOeIKV8infnc/gsV6Fsyi02pVOL6AqJKrH +CUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YEZTaXzB2jQwXmKBx141OR/JC3wWPlZNPkwghBTeOZc=; b=NcEDr2ob0l620Xwko56TLlKz4NKjwWwGawwqrDVJbVZlxNzzoo7UN+6ClVd9scr6hu kUPLr+QrlfomsfFMfaN2wYfnPpzZrM5JNnyfkl/K9UIkjgqzAykIMar50YoJE1tfvpa1 QIQvqOe1Vo86Fqi6ExiJZDmh4e+OrY66m+GpMLR31+imrSJtTjkWmrANoAyiVICkPM5H KJr1ExbETU9DVeDs+bAbxJbJRrChR0c9DpOl6tu0tij/2VavHPzNfU8UVJ0bQerTfXAB d9XvR0OdJic7YrMdse3S3f6JT/7/muPDWKnnbMREo49fUTqYtjd/mFrJXI78D1e52D2T OKRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UaB76odx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b70si2263838pfe.168.2019.02.12.11.46.54; Tue, 12 Feb 2019 11:47:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UaB76odx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732093AbfBLSrT (ORCPT + 99 others); Tue, 12 Feb 2019 13:47:19 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:37266 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730928AbfBLSrT (ORCPT ); Tue, 12 Feb 2019 13:47:19 -0500 Received: by mail-qt1-f195.google.com with SMTP id a48so4218411qtb.4 for ; Tue, 12 Feb 2019 10:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YEZTaXzB2jQwXmKBx141OR/JC3wWPlZNPkwghBTeOZc=; b=UaB76odxpK6Al/PuOMWcjl+FHZUy1Mps1LNRXNeBXyEVWVSURZbCSkOSy6hI4BCJjg K1vu0nhrVmQ+H4kab0DG5RZGdPpO5IvQYk2ungLfUKPGDdtfW3/2XlEhOaRdds44fCmc xb8FSXX1AyaE/lpNObyhbkvOI1RYeYBhFeNEwflqiCOJF5/CFadCifEwgybTEwebmU5p lcRgpz29r6HGHlR9QkD9PbGE9rIG+PdpKmpWxtv4I+HJW0pIjAbJTgsMIcBRFtwxTd/e pV/KjXH8fGVSyUlHzeq/wXhf9LEt/qEPuihoVi5qvVLGh2Ap0MNmPimKQO4FILsxK09Z us9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=YEZTaXzB2jQwXmKBx141OR/JC3wWPlZNPkwghBTeOZc=; b=LZC9BS5KPPE+InTukork4mM4i5v+f4QYysdG3w9mgWxwS3CldO7GXlwdQ7kZCegiIx b3GxZUADDsCBjpEPgoKGz1xcf8o3BszB1HZrT2JdYO7k2MzgwHqu/qm60lZ3dv7oRs5l yGTo93TEWxnhbyDy+XpgJHSB/F2boHL4IlKoSACHLt+DCxc1RCIEW36/GiTGV9JHyDlA Xa1tLYSAaUDlTCG3o8wdfuAHmSSuqwq53io8bu1Z6U1cbSrfB4fB8XFeVj3JT4D/tjJD t/WxgurIdyZPsciyLcPXt+Ymzg+j+46TiCHqUWKl+MjlSxkDF4E+llS5AYQqtTWHPL9q Be+g== X-Gm-Message-State: AHQUAubYyDTKyn97cLT15o4dPnJPJKJrKmrpfWn1Y6j1a2jE49vD/7X4 sHT6l7L/mKnsT+P/A+MfxZk= X-Received: by 2002:aed:2a2f:: with SMTP id c44mr4079995qtd.144.1549997237651; Tue, 12 Feb 2019 10:47:17 -0800 (PST) Received: from localhost.localdomain (209-6-36-129.s6527.c3-0.smr-cbr2.sbo-smr.ma.cable.rcncustomer.com. [209.6.36.129]) by smtp.gmail.com with ESMTPSA id 46sm9229229qty.59.2019.02.12.10.47.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Feb 2019 10:47:16 -0800 (PST) Date: Tue, 12 Feb 2019 13:47:13 -0500 From: Konrad Rzeszutek Wilk To: Dongli Zhang Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, konrad.wilk@oracle.com, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, joe.jin@oracle.com Subject: Re: [PATCH v3 1/3] swiotlb: fix comment on swiotlb_bounce() Message-ID: <20190212184708.GA19497@localhost.localdomain> References: <1547795428-10595-1-git-send-email-dongli.zhang@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547795428-10595-1-git-send-email-dongli.zhang@oracle.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 03:10:26PM +0800, Dongli Zhang wrote: > Fix the comment as swiotlb_bounce() is used to copy from original dma > location to swiotlb buffer during swiotlb_tbl_map_single(), while to > copy from swiotlb buffer to original dma location during > swiotlb_tbl_unmap_single(). I queued up your patches in https://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git > > Signed-off-by: Dongli Zhang > --- > kernel/dma/swiotlb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c > index 1fb6fd6..1d8b377 100644 > --- a/kernel/dma/swiotlb.c > +++ b/kernel/dma/swiotlb.c > @@ -385,7 +385,7 @@ void __init swiotlb_exit(void) > } > > /* > - * Bounce: copy the swiotlb buffer back to the original dma location > + * Bounce: copy the swiotlb buffer from or back to the original dma location > */ > static void swiotlb_bounce(phys_addr_t orig_addr, phys_addr_t tlb_addr, > size_t size, enum dma_data_direction dir) > -- > 2.7.4 >