On 1/8/26 10:46 AM, Alison Schofield wrote:
> On Thu, Jan 08, 2026 at 10:02:58AM -0700, Dave Jiang wrote:
>>
>>
>> On 1/7/26 10:25 PM, Alison Schofield wrote:
>>> Add a test case to validate that all switch port decoders sharing
>>> downstream ports, dports, have target lists properly enumerated.
>
> snip
>
>>>
>>> This new case is quietly skipped with kernel version 6.18 where it
>>> is known broken.
>
> snip
>
>>> +}
>>> +# Skip the target enumeration test where known broken
>>> +check_eq_kver 6.18 || test_switch_decoder_target_enumeration
>>
>> 6.19 I believe?
>
> I found it fails with this commit introduced in 6.18:
> 4f06d81e7c6a ("cxl: Defer dport allocation for switch ports")
>
> So intending to skip that single kern version.
>
> I won't put this on ndctl/pending until the kernel patch is merged
> in 6.19.
>
> Make sense?
Yeah maybe I'm misremembering. Anyhow
Reviewed-by: Dave Jiang <[email protected]>
>
>>
>> DJ
>>
>>>
>>> # check that switch ports disappear after all of their memdevs have been
>>> # disabled, and return when the memdevs are enabled.
>>