Thread (30 messages) flat view 30 messages, 2 authors, 2025-09-08

Re: [PATCH rfcv1 4/8] iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2025-09-08 15:51:53
Also in: linux-iommu, linux-patches, lkml

On Sat, Sep 06, 2025 at 01:16:45AM -0700, Nicolin Chen wrote:
quoted
	/*
	 * A sorted array allows batching invalidations together for fewer SYNCs.
	 * Also, ATS must follow the ASID/VMID invalidation SYNC.
	 */
	sort_nonatomic(new_invs->inv, new_invs->num_invs,
		       sizeof(add_invs->inv[0]), arm_smmu_invs_cmp, NULL);
	return new_invs;
This should be deleted, merge sort always makes sorted lists.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help