Skip to content

iommufd: Only enforce_cache_coherency when allocating hwpt

Nicolin Chen linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommufd/device: Drop enforce_cache_coherency in iommufd_device_do_replacedrivers/iommu/iommufd/device.c+2 -102 replies
2/2iommufd/device: Drop enforce_cache_coherency in iommufd_hw_pagetable_attachdrivers/iommu/iommufd/device.c drivers/iommu/iommufd/hw_pagetable.c drivers/iommu/iommufd/iommufd_private.h+1 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLu Baolu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iommufd: Only enforce_cache_coherency when allocating hwpt

https://lore.kernel.org/linux-iommu/[email protected]/
The conversation above concluded that a hwpt should only enforce cache coherency per device at the stage of its allocation, and it should not be changed or updated in the attach/replace routines.

Add two patches dropping the enforce_cache_coherency calls from attach and replce routines respectively, since they were introduced with two different commits.

Nicolin Chen (2):
iommufd/device: Drop enforce_cache_coherency in
iommufd_device_do_replace
iommufd/device: Drop enforce_cache_coherency in
iommufd_hw_pagetable_attach

 drivers/iommu/iommufd/device.c          | 19 ++-----------------
 drivers/iommu/iommufd/hw_pagetable.c    |  2 +-
 drivers/iommu/iommufd/iommufd_private.h |  1 -
 3 files changed, 3 insertions(+), 19 deletions(-)
Signature · 1 line
2.42.0