From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] intel-iommu: fix up comment Date: Tue, 5 Apr 2016 11:38:27 +0300 Message-ID: <20160405113819-mutt-send-email-mst@redhat.com> References: <1458757421-4058-1-git-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1458757421-4058-1-git-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: David Woodhouse , Jiang Liu , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Mar 23, 2016 at 08:34:19PM +0200, Michael S. Tsirkin wrote: > dma_pte_free_pagetable no longer depends on > last level ptes being clear, it clears them itself. > Fix up the comment to match. > > Cc: Jiang Liu > Suggested-by: Alex Williamson > Signed-off-by: Michael S. Tsirkin Anyone? > --- > drivers/iommu/intel-iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c > index a2e1b7f..0100553 100644 > --- a/drivers/iommu/intel-iommu.c > +++ b/drivers/iommu/intel-iommu.c > @@ -1143,7 +1143,7 @@ next: > } while (!first_pte_in_page(++pte) && pfn <= last_pfn); > } > > -/* free page table pages. last level pte should already be cleared */ > +/* clear last level (leaf) ptes and free page table pages. */ > static void dma_pte_free_pagetable(struct dmar_domain *domain, > unsigned long start_pfn, > unsigned long last_pfn) > -- > MST