Prepare for ECMDQ support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v2 from the cover letter
1. Stop pre-zeroing batch commands. Patch 1 is modified. Other patches remain unchanged. Before:
struct arm_smmu_cmdq_batch cmds = {};
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iommu/arm-smmu-v3: Use command queue batching helpers to improve performancedrivers/ | +4 | 0 replies | |
| 2/4 | iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync()drivers/ | +19 | 0 replies | |
| 3/4 | iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq()drivers/ | +13 | 0 replies | |
| 4/4 | iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err()drivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] Prepare for ECMDQ support
v1 --> v2:
1. Stop pre-zeroing batch commands. Patch 1 is modified. Other patches remain unchanged. Before:
struct arm_smmu_cmdq_batch cmds = {};
After: struct arm_smmu_cmdq_batch cmds; cmds.num = 0;
RFC --> v1
1. Resend the patches for ECMDQ preparation and remove the patches for ECMDQ implementation.
2. Patch 2 is modified. Other patches remain unchanged.
1) Add static helper __arm_smmu_cmdq_issue_cmd(), and make arm_smmu_cmdq_issue_cmd() and arm_smmu_cmdq_issue_cmd_with_sync() implement based on it.
2) Remove unused arm_smmu_cmdq_issue_sync().
RFC:
https://www.spinics.net/lists/arm-kernel/msg904879.html
Zhen Lei (4):
iommu/arm-smmu-v3: Use command queue batching helpers to improve
performance
iommu/arm-smmu-v3: Add and use static helper function
arm_smmu_cmdq_issue_cmd_with_sync()
iommu/arm-smmu-v3: Add and use static helper function
arm_smmu_get_cmdq()
iommu/arm-smmu-v3: Extract reusable function
__arm_smmu_cmdq_skip_err()drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 72 ++++++++++++--------- 1 file changed, 43 insertions(+), 29 deletions(-)
Signature · 1 line
2.26.0.106.g9fadedd