Skip to content

iommu/arm-smmu-v3: Perform some simple optimizations for arm_smmu_cmdq_build_cmd()

Zhen Lei linux-arm-kernel linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesIn review

Changes in v2 from the cover letter

1. Add patch 1, Properly handle the return value of arm_smmu_cmdq_build_cmd()
2. Remove arm_smmu_cmdq_copy_cmd(). In addition, when build command fails, out_cmd is not filled.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd()drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c+12 -60 replies
2/2iommu/arm-smmu-v3: Simplify useless instructions in arm_smmu_cmdq_build_cmd()drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c+8 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] iommu/arm-smmu-v3: Perform some simple optimizations for arm_smmu_cmdq_build_cmd()

v1 --> v2:
1. Add patch 1, Properly handle the return value of arm_smmu_cmdq_build_cmd()
2. Remove arm_smmu_cmdq_copy_cmd(). In addition, when build command fails, out_cmd is not filled.

Zhen Lei (2):
iommu/arm-smmu-v3: Properly handle the return value of
arm_smmu_cmdq_build_cmd()
iommu/arm-smmu-v3: Simplify useless instructions in
arm_smmu_cmdq_build_cmd()

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 29 ++++++++++++++-------
 1 file changed, 20 insertions(+), 9 deletions(-)
Signature · 1 line
2.26.0.106.g9fadedd