diff options
| author | Joerg Roedel <jroedel@suse.de> | 2024-12-12 17:25:37 +0100 |
|---|---|---|
| committer | Joerg Roedel <jroedel@suse.de> | 2024-12-12 17:25:37 +0100 |
| commit | 7460d43bd75d261cdba5708bc349ce7f16759d78 (patch) | |
| tree | c659ba2f312c200041f875e5453f5bce031d3bdf | |
| parent | 91da87d38cca46be6f2f4f3c820f5d817c1866dc (diff) | |
| parent | 1f806218164d1bb93f3db21eaf61254b08acdf03 (diff) | |
Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into fixes
Arm SMMU fixes for 6.13-rc
- Use raw_smp_processor_id() when balancing traffic for NVIDIA's custom
command queue implementation.
| -rw-r--r-- | drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c index c8ec74f089f3..6e41ddaa24d6 100644 --- a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c +++ b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c @@ -339,7 +339,7 @@ tegra241_cmdqv_get_cmdq(struct arm_smmu_device *smmu, * one CPU at a time can enter the process, while the others * will be spinning at the same lock. */ - lidx = smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf; + lidx = raw_smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf; vcmdq = vintf->lvcmdqs[lidx]; if (!vcmdq || !READ_ONCE(vcmdq->enabled)) return NULL; |
