Re: [PATCH RFC v5 6/6] iommu/arm-smmu-v3: Wire up shared-SID STE ordering and feature gating
From: Nicolin Chen
Date: Wed Oct 07 2026 - 21:30:21 EST
On Tue, Oct 06, 2026 at 08:19:12PM +0800, Peng Fan (OSS) wrote:
> +static bool arm_smmu_is_shared_sid(struct arm_smmu_master *master)
> +{
> + return !list_empty(&master->shared_masters_elm);
> +}
> +
> +static bool arm_smmu_skip_shared_ste(struct arm_smmu_device *smmu,
> + u32 sid, bool is_abort)
> +{
> + struct arm_smmu_stream *stream;
> +
> + lockdep_assert_held(&smmu->streams_mutex);
> +
> + stream = arm_smmu_find_stream(smmu, sid);
> + if (!stream || list_empty(&stream->shared_masters))
> + return false;
> +
> + if (is_abort)
> + return true;
> + if (stream->ste_installed)
> + return true;
> + stream->ste_installed = true;
> + return false;
There is some issue here; check sashiko report:
https://sashiko.dev/#/patchset/20261006-smmu-shared-sid-v5-0-169a59c671d3%40nxp.com
Nicolin