On 18/07/2025 12:02, Konrad Dybcio wrote:
On 7/18/25 8:27 AM, Krzysztof Kozlowski wrote:
On 17/07/2025 19:00, Jorge Ramirez wrote:
On 17/07/25 13:16:31, Jorge Ramirez wrote:
Not sure if I’ve shared this before, but following an internal
discussion, I think it’s worth highlighting a functional dependency in
the current kernel:
- the driver only works if the first two IOMMUs in the list — the
non-secure ones — are placed at the beginning. Reordering them breaks
functionality, which introduces unexpected fragility.
Regardless, this seems like a valid concern to me — a driver shouldn't
rely on the order of phandles — and I just wanted to make sure you're
aware of it before I post a v8 (likely sometime next week or the
following, as I’ll be taking a short break soon).
Hm? Order of lists is strictly defined. That's actually an overlook that
we never do it for iommus, but the core rule stays.
(FWIW "items:" is an ordered list, "enum:" is unordered)
enum is not a list, but enumeration, meaning one item of multiple values.
Best regards,
Krzysztof