From: Jakub Kicinski Date: Mon, 15 Jun 2026 23:32:14 +0000 (-0700) Subject: Merge branch 'mac-phy-interrupt-changed-to-level-triggered-interrupt' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbc6a80cb5d3fd4ac4b56e8c9d791dd17be890c4;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'mac-phy-interrupt-changed-to-level-triggered-interrupt' Selvamani Rajagopal says: ==================== MAC-PHY interrupt changed to level triggered interrupt According to OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface specification, MAC-PHY interrupt is "active low, level triggered". The specification mentions about the conditions in which the IRQ is asserted and deasserted. Bug is inadvertently introduced by treating the IRQ in the OA TC6 framework driver and in dt-binding YAML file as edge triggered. With the changes to use level triggered interrupt, use of threaded irq is more efficient than the current method that has interrupt hander working with work queue. This change of interrupt handler mechanism exposed couple of race conditions due to the fact that interrupts were not masked on protocol error. And pointers were not initialized with null after skbs are freed. Changes are done in two files - OA TC6 framework Ethernet driver - YAML file for the vendor that already uses OA TC6 framework. Maintainer for this driver is already informed and aware of these changes. Testing for these changes was done in onsemi's setup and found to be working. ==================== Link: https://patch.msgid.link/20260611-level-trigger-v5-0-4533a9e85ce2@onsemi.com Signed-off-by: Jakub Kicinski --- fbc6a80cb5d3fd4ac4b56e8c9d791dd17be890c4