Re: [PATCH net-next 7/7] net: ipa: allow arbitrary number of interconnects
From: Jakub Kicinski
Date: Sat Jan 16 2021 - 22:13:23 EST
On Fri, 15 Jan 2021 06:50:50 -0600 Alex Elder wrote:
> Currently we assume that the IPA hardware has exactly three
> interconnects. But that won't be guaranteed for all platforms,
> so allow any number of interconnects to be specified in the
> configuration data.
> For each platform, define an array of interconnect data entries
> (still associated with the IPA clock structure), and record the
> number of entries initialized in that array.
> Loop over all entries in this array when initializing, enabling,
> disabling, or tearing down the set of interconnects.
> With this change we no longer need the ipa_interconnect_id
> enumerated type, so get rid of it.
Okay, all the platforms supported as of the end of the series
still have 3 interconnects, or there is no upstream user of
this functionality, if you will. What's the story?