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

From: Zhen Lei
Date: Wed Aug 18 2021 - 04:05:53 EST


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(-)

--
2.26.0.106.g9fadedd