public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommufd: fix typos in kernel-doc comments
@ 2024-11-28  3:51 Randy Dunlap
  2024-11-28  4:05 ` Nicolin Chen
  2024-12-03 16:06 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-11-28  3:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Eric Auger, Nicolin Chen, Vasant Hegde,
	Joerg Roedel, Jason Gunthorpe, Kevin Tian, iommu

Fix typos/spellos in kernel-doc comments for readability.

Fixes: aad37e71d5c4 ("iommufd: IOCTLs for the io_pagetable")
Fixes: b7a0855eb95f ("iommu: Add new flag to explictly request PASID capable domain")
Fixes: d68beb276ba2 ("iommu/arm-smmu-v3: Support IOMMU_HWPT_INVALIDATE using a VIOMMU object")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Eric Auger <eric.auger@redhat.com>
Cc: Nicolin Chen <nicolinc@nvidia.com>
Cc: Vasant Hegde <vasant.hegde@amd.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: iommu@lists.linux.dev
---
 include/uapi/linux/iommufd.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20241125.orig/include/uapi/linux/iommufd.h
+++ linux-next-20241125/include/uapi/linux/iommufd.h
@@ -297,7 +297,7 @@ struct iommu_ioas_unmap {
  *                       ioctl(IOMMU_OPTION_HUGE_PAGES)
  * @IOMMU_OPTION_RLIMIT_MODE:
  *    Change how RLIMIT_MEMLOCK accounting works. The caller must have privilege
- *    to invoke this. Value 0 (default) is user based accouting, 1 uses process
+ *    to invoke this. Value 0 (default) is user based accounting, 1 uses process
  *    based accounting. Global option, object_id must be 0
  * @IOMMU_OPTION_HUGE_PAGES:
  *    Value 1 (default) allows contiguous pages to be combined when generating
@@ -390,7 +390,7 @@ struct iommu_vfio_ioas {
  * @IOMMU_HWPT_ALLOC_PASID: Requests a domain that can be used with PASID. The
  *                          domain can be attached to any PASID on the device.
  *                          Any domain attached to the non-PASID part of the
- *                          device must also be flaged, otherwise attaching a
+ *                          device must also be flagged, otherwise attaching a
  *                          PASID will blocked.
  *                          If IOMMU does not support PASID it will return
  *                          error (-EOPNOTSUPP).
@@ -766,7 +766,7 @@ struct iommu_hwpt_vtd_s1_invalidate {
 };
 
 /**
- * struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cahce invalidation
+ * struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cache invalidation
  *         (IOMMU_VIOMMU_INVALIDATE_DATA_ARM_SMMUV3)
  * @cmd: 128-bit cache invalidation command that runs in SMMU CMDQ.
  *       Must be little-endian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommufd: fix typos in kernel-doc comments
  2024-11-28  3:51 [PATCH] iommufd: fix typos in kernel-doc comments Randy Dunlap
@ 2024-11-28  4:05 ` Nicolin Chen
  2024-12-03 16:06 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolin Chen @ 2024-11-28  4:05 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Eric Auger, Vasant Hegde, Joerg Roedel,
	Jason Gunthorpe, Kevin Tian, iommu

On Wed, Nov 27, 2024 at 07:51:59PM -0800, Randy Dunlap wrote:
> Fix typos/spellos in kernel-doc comments for readability.
> 
> Fixes: aad37e71d5c4 ("iommufd: IOCTLs for the io_pagetable")
> Fixes: b7a0855eb95f ("iommu: Add new flag to explictly request PASID capable domain")
> Fixes: d68beb276ba2 ("iommu/arm-smmu-v3: Support IOMMU_HWPT_INVALIDATE using a VIOMMU object")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Eric Auger <eric.auger@redhat.com>
> Cc: Nicolin Chen <nicolinc@nvidia.com>

Acked-by: Nicolin Chen <nicolinc@nvidia.com>

Thanks!

> Cc: Vasant Hegde <vasant.hegde@amd.com>
> Cc: Joerg Roedel <jroedel@suse.de>
> Cc: Jason Gunthorpe <jgg@nvidia.com>
> Cc: Kevin Tian <kevin.tian@intel.com>
> Cc: iommu@lists.linux.dev
> ---
>  include/uapi/linux/iommufd.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> --- linux-next-20241125.orig/include/uapi/linux/iommufd.h
> +++ linux-next-20241125/include/uapi/linux/iommufd.h
> @@ -297,7 +297,7 @@ struct iommu_ioas_unmap {
>   *                       ioctl(IOMMU_OPTION_HUGE_PAGES)
>   * @IOMMU_OPTION_RLIMIT_MODE:
>   *    Change how RLIMIT_MEMLOCK accounting works. The caller must have privilege
> - *    to invoke this. Value 0 (default) is user based accouting, 1 uses process
> + *    to invoke this. Value 0 (default) is user based accounting, 1 uses process
>   *    based accounting. Global option, object_id must be 0
>   * @IOMMU_OPTION_HUGE_PAGES:
>   *    Value 1 (default) allows contiguous pages to be combined when generating
> @@ -390,7 +390,7 @@ struct iommu_vfio_ioas {
>   * @IOMMU_HWPT_ALLOC_PASID: Requests a domain that can be used with PASID. The
>   *                          domain can be attached to any PASID on the device.
>   *                          Any domain attached to the non-PASID part of the
> - *                          device must also be flaged, otherwise attaching a
> + *                          device must also be flagged, otherwise attaching a
>   *                          PASID will blocked.
>   *                          If IOMMU does not support PASID it will return
>   *                          error (-EOPNOTSUPP).
> @@ -766,7 +766,7 @@ struct iommu_hwpt_vtd_s1_invalidate {
>  };
>  
>  /**
> - * struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cahce invalidation
> + * struct iommu_viommu_arm_smmuv3_invalidate - ARM SMMUv3 cache invalidation
>   *         (IOMMU_VIOMMU_INVALIDATE_DATA_ARM_SMMUV3)
>   * @cmd: 128-bit cache invalidation command that runs in SMMU CMDQ.
>   *       Must be little-endian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommufd: fix typos in kernel-doc comments
  2024-11-28  3:51 [PATCH] iommufd: fix typos in kernel-doc comments Randy Dunlap
  2024-11-28  4:05 ` Nicolin Chen
@ 2024-12-03 16:06 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2024-12-03 16:06 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Eric Auger, Nicolin Chen, Vasant Hegde,
	Joerg Roedel, Kevin Tian, iommu

On Wed, Nov 27, 2024 at 07:51:59PM -0800, Randy Dunlap wrote:
> Fix typos/spellos in kernel-doc comments for readability.
> 
> Fixes: aad37e71d5c4 ("iommufd: IOCTLs for the io_pagetable")
> Fixes: b7a0855eb95f ("iommu: Add new flag to explictly request PASID capable domain")
> Fixes: d68beb276ba2 ("iommu/arm-smmu-v3: Support IOMMU_HWPT_INVALIDATE using a VIOMMU object")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Eric Auger <eric.auger@redhat.com>
> Cc: Nicolin Chen <nicolinc@nvidia.com>
> Cc: Vasant Hegde <vasant.hegde@amd.com>
> Cc: Joerg Roedel <jroedel@suse.de>
> Cc: Jason Gunthorpe <jgg@nvidia.com>
> Cc: Kevin Tian <kevin.tian@intel.com>
> Cc: iommu@lists.linux.dev
> ---
>  include/uapi/linux/iommufd.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to for-rc

Thanks,
Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-03 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28  3:51 [PATCH] iommufd: fix typos in kernel-doc comments Randy Dunlap
2024-11-28  4:05 ` Nicolin Chen
2024-12-03 16:06 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox