Re: [PATCH net-next v6 1/9] net: dsa: microchip: Add support for KSZ8463 global irq
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2026-03-12 13:45:32
Also in:
lkml
On Thu, Mar 12, 2026 at 12:14:40AM +0000, Tristram.Ha@microchip.com wrote:
I just tried the ks8995 driver and I do not think it is ready to do major DSA operation. Actually I could not make it work if I registered it as a DSA switch. DSA could not register the switch PHY. If I removed the port information in the device tree there was no error message but still the MAC could not send out anything. If I skipped the registration at least the MAC can communicate. The driver is using DSA_TAG_PROTO_NONE so there is no tagging involved. But then I do not know how to define the device tree for the DSA to change the STP state of each port to allow communication. The primary purpose of this driver in the old time was to enable the switch as the hardware default is disabled. Even though KSZ8795 was added to this driver its register set is not a complete match to KSZ8895. So some functions may not work correctly like the change_mtu one. And I do not think KSZ8463/KSZ8863 can work at all. Since we have a working KSZ8463 PTP driver we should stick with the Microchip KSZ DSA model and work from there. Out of topic I found that the NAND driver is not started in the new 7.0 kernel while 6.19 is still okay. I do not think there is a major overhaul in that area, and the Atmel NAND driver code is about the same. I thought the device name may be changed so the right driver is not picked up, but using the device tree in the 7.0 kernel still does not work.
Thanks for the comment. I took a deeper look at the ksz_switch common driver and I've started working on some patches. I'll return when they're more or less ready.