]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'net-stmmac-pcs-support-part-2'
authorJakub Kicinski <kuba@kernel.org>
Sat, 25 Oct 2025 01:56:37 +0000 (18:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 25 Oct 2025 01:56:37 +0000 (18:56 -0700)
commitfa6e6cd2faaaa58d9c4a6368849fbef13ce9f564
treeb978269e0eca9bc648fb2c3b017cc61a537664fa
parent86b66cb8d17872731f2546a886f23280ba952006
parenteed68edac508fed36e3726f5b0b828a83efab7f8
Merge branch 'net-stmmac-pcs-support-part-2'

Russell King says:

====================
net: stmmac: pcs support part 2

This is the next part of stmmac PCS support. Not much here, other than
dealing with what remains of the interrupts, which are the PCS AN
complete and PCS Link interrupts, which are just cleared and update
accounting.

Currently, they are enabled at core init time, but if we have an
implementation that supports multiple PHY interfaces, we want to
enable only the appropriate interrupts.

I also noticed that stmmac_fpe_configure_pmac() also modifies the
interrupt mask during run time. As a pre-requisit, we need a way
to ensure that we don't have different threads modifying the
interrupt settings at the same time. So, the first patch introduces
a new function and a spinlock which must be held when manipulating
the interrupt enable/mask state.

The second patch adds the PCS bits for enabling the PCS AN and PCS
link interrupts when the PCS is in-use.
====================

Link: https://patch.msgid.link/aPn5YVeUcWo4CW3c@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>