Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

+1 -1
+1 -1
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
··· 339 339 * one CPU at a time can enter the process, while the others 340 340 * will be spinning at the same lock. 341 341 */ 342 - lidx = smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf; 342 + lidx = raw_smp_processor_id() % cmdqv->num_lvcmdqs_per_vintf; 343 343 vcmdq = vintf->lvcmdqs[lidx]; 344 344 if (!vcmdq || !READ_ONCE(vcmdq->enabled)) 345 345 return NULL;