Skip to content

iommu/tegra241-cmdqv: Fix two bugs in __tegra241_cmdqv_probe

Nicolin Chen linux-arm-kernel linux-iommu linux-tegra lkml 1 version Applied

Status from this message: Applied to will (for-joerg/arm-smmu/updates), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/tegra241-cmdqv: Drop static at local variabledrivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c+1 -11 reply
2/2iommu/tegra241-cmdqv: Do not allocate vcmdq until dma_set_mask_and_coherentdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c+60 -332 replies

Reviews trailers per patch

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

PatchJason GunthorpeMatt Ochs
1/2R-b
2/2R-b T-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 next 0/2] iommu/tegra241-cmdqv: Fix two bugs in __tegra241_cmdqv_probe

Found two more bugs today. And here are the fixes.

Based on Will's for-joerg/arm-smmu/updates branch.

Available on Github:
https://github.com/nicolinc/iommufd/commits/vcmdq_in_kernel-fix

Cc Matt Ochs <[email protected]>

Thanks
Nicolin

Nicolin Chen (2):
iommu/tegra241-cmdqv: Drop static at local variable iommu/tegra241-cmdqv: Do not allocate vcmdq until
dma_set_mask_and_coherent

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c   |  9 +-
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h   |  1 +
 .../iommu/arm/arm-smmu-v3/tegra241-cmdqv.c    | 85 ++++++++++++-------
 3 files changed, 61 insertions(+), 34 deletions(-)
Signature · 1 line
2.43.0