[PATCH 2/2] iommu: apple-dart: Allow mismatched bypass support

Alyssa Rosenzweig alyssa at rosenzweig.io
Thu Feb 27 09:01:47 PST 2025


> +		/* Will be ANDed with DART capabilities */
> +		cfg->supports_bypass = true;
...
> +	if (!dart->supports_bypass)
> +		cfg->supports_bypass = false;

Probably better to write

   cfg->supports_bypass &= dart->supports_bypass;

To match what's in the comment!



More information about the linux-arm-kernel mailing list