]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-fixups'
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2021 12:45:16 +0000 (12:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2021 12:45:16 +0000 (12:45 +0000)
commit65f0d9d7383f097d931796f560fa819fb8fc1ec7
tree86b5c674b1e58aef7d77b5b598831b61516e0c4f
parent54091972287ec4c448eb66116e9e6cec3ff8d756
parentf01844520ab91d2a131f56abfa2e885ca7b62fff
Merge branch 'dsa-fixups'

Vladimir Oltean says:

====================
DSA tagger-owned storage fixups

It seems that the DSA tagger-owned storage changes were insufficiently
tested and do not work in all cases. Specifically, the NXP Bluebox 3
(arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dts) got broken by
these changes, because
(a) I forgot that DSA_TAG_PROTO_SJA1110 exists and differs from
    DSA_TAG_PROTO_SJA1105
(b) the Bluebox 3 uses a DSA switch tree with 2 switches, and the
    tagger-owned storage patches don't cover that use case well, it
    seems

Therefore, I'm sorry to say that there needs to be an API fixup: tagging
protocol drivers will from now on connect to individual switches from a
tree, rather than to the tree as a whole. This is more robust against
various ordering constraints in the DSA probe and teardown paths, and is
also symmetrical with the connection API exposed to the switch drivers
themselves, which is also per switch.

With these changes, the Bluebox 3 also works fine.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>