Skip to content

Commit 7460d43

Browse files
committed
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.
2 parents 91da87d + 1f80621 commit 7460d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ tegra241_cmdqv_get_cmdq(struct arm_smmu_device *smmu,
339339
* one CPU at a time can enter the process, while the others
340340
* will be spinning at the same lock.
341341
*/
342-
lidx = smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf;
342+
lidx = raw_smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf;
343343
vcmdq = vintf->lvcmdqs[lidx];
344344
if (!vcmdq || !READ_ONCE(vcmdq->enabled))
345345
return NULL;

0 commit comments

Comments
 (0)