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

From: Alyssa Rosenzweig
Date: Thu Feb 27 2025 - 12:09:35 EST


> + /* 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!