From: Jakub Kicinski Date: Sat, 25 Oct 2025 01:56:37 +0000 (-0700) Subject: Merge branch 'net-stmmac-pcs-support-part-2' X-Git-Tag: v6.19-rc1~170^2~316 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa6e6cd2faaaa58d9c4a6368849fbef13ce9f564;p=thirdparty%2Fkernel%2Flinux.git 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 --- fa6e6cd2faaaa58d9c4a6368849fbef13ce9f564