2018-12-04 18:31:31

by Tom Murphy

[permalink] [raw]
Subject: [PATCH] Fix typo. Change tlb_range_add to iotlb_range_add and tlb_sync to iotlb_sync

From: tom <[email protected]>

Someone forgot to update this comment.

Signed-off-by: Tom Murphy <[email protected]>
---
include/linux/iommu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index a1d28f42cb77..11db18b9ffe8 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -168,8 +168,8 @@ struct iommu_resv_region {
* @map: map a physically contiguous memory region to an iommu domain
* @unmap: unmap a physically contiguous memory region from an iommu domain
* @flush_tlb_all: Synchronously flush all hardware TLBs for this domain
- * @tlb_range_add: Add a given iova range to the flush queue for this domain
- * @tlb_sync: Flush all queued ranges from the hardware TLBs and empty flush
+ * @iotlb_range_add: Add a given iova range to the flush queue for this domain
+ * @iotlb_sync: Flush all queued ranges from the hardware TLBs and empty flush
* queue
* @iova_to_phys: translate iova to physical address
* @add_device: add device to iommu grouping
--
2.11.0



2018-12-05 16:05:48

by Joerg Roedel

[permalink] [raw]
Subject: Re: [PATCH] Fix typo. Change tlb_range_add to iotlb_range_add and tlb_sync to iotlb_sync

On Tue, Dec 04, 2018 at 06:27:34PM +0000, Tom Murphy wrote:
> From: tom <[email protected]>
>
> Someone forgot to update this comment.
>
> Signed-off-by: Tom Murphy <[email protected]>
> ---
> include/linux/iommu.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

2018-12-20 21:11:25

by Tom Murphy

[permalink] [raw]
Subject: Re: [PATCH] Fix typo. Change tlb_range_add to iotlb_range_add and tlb_sync to iotlb_sync

Ah shoot, it looks like I forgot to change flush_tlb_all -> flush_iotlb_all

Should I submit another patch?

On Wed, 5 Dec 2018 at 16:04, Joerg Roedel <[email protected]> wrote:
>
> On Tue, Dec 04, 2018 at 06:27:34PM +0000, Tom Murphy wrote:
> > From: tom <[email protected]>
> >
> > Someone forgot to update this comment.
> >
> > Signed-off-by: Tom Murphy <[email protected]>
> > ---
> > include/linux/iommu.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Applied, thanks.

2019-01-11 12:58:38

by Joerg Roedel

[permalink] [raw]
Subject: Re: [PATCH] Fix typo. Change tlb_range_add to iotlb_range_add and tlb_sync to iotlb_sync

On Thu, Dec 20, 2018 at 03:47:28PM +0000, Tom Murphy wrote:
> Ah shoot, it looks like I forgot to change flush_tlb_all -> flush_iotlb_all
>
> Should I submit another patch?

Yes, please.