qca-nss-dp: add patch fixing rmmod and insmod
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 16 Apr 2024 14:44:41 +0000 (16:44 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 18 Apr 2024 09:54:21 +0000 (11:54 +0200)
commit918e2fca1e818a346a5f04e11b4e9cb0d5ad6510
tree829d5dfe440e8bccb1caf8c2b945f4f73e102536
parent3908b77c9e68136e20805c0d6e39bb1a33438d09
qca-nss-dp: add patch fixing rmmod and insmod

Add patch fixing rmmod and insmod. Lots of flawed logic fixed that
permits the module to correctly rmmod and insmod later.

Just to quote some change, use phy_detach instead of phy_disconnect, fix
exclusive reset_control that could only be used once, fix kernel panic
on second edma_cleanup, stop traffic before module exit...

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/qca-nss-dp/Makefile
package/kernel/qca-nss-dp/patches/0011-01-edma_v1-rework-hw_reset-logic-to-permit-rmmod-and-in.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0011-02-nss_dp_switchdev-correctly-unregister-notifier-on-dp.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0011-03-nss_dp_main-swap-dp_exit-function-call.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0011-04-nss_dp_main-call-unregister_netdev-first-in-dp_remov.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0011-05-nss_dp_main-use-phy_detach-instead-of-disconnect-in-.patch [new file with mode: 0644]
package/kernel/qca-nss-dp/patches/0011-06-edma_v1-skip-edma_disable_port-in-edma_cleanup-subse.patch [new file with mode: 0644]