WSL2-Linux-Kernel/drivers/iommu/arm/arm-smmu-v3
Zhen Lei 59d9bd7274 iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd()
1. Build command CMD_SYNC cannot fail. So the return value can be ignored.
2. The arm_smmu_cmdq_build_cmd() almost never fails, the addition of
   "unlikely()" can optimize the instruction pipeline.
3. Check the return value in arm_smmu_cmdq_batch_add().

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210818080452.2079-2-thunder.leizhen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2021-10-04 12:21:13 +01:00
..
Makefile iommu/arm-smmu-v3: Share process page tables 2020-09-28 23:48:06 +01:00
arm-smmu-v3-sva.c iommu/arm-smmu-v3: Add stall support for platform devices 2021-06-08 12:35:55 +01:00
arm-smmu-v3.c iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd() 2021-10-04 12:21:13 +01:00
arm-smmu-v3.h iommu/arm-smmu-v3: Decrease the queue size of evtq and priq 2021-06-08 12:35:55 +01:00