openwrt/target/linux/ipq40xx/patches-6.6
John Thomson 515ad3ce8a ipq40xx: ipqess: do not free ipqess_init
If this function is marked as __init, kernel will splat when driver is
(re)bind
echo "c080000.ethernet">/sys/bus/platform/drivers/ipqess-edma/unbind
echo "c080000.ethernet">/sys/bus/platform/drivers/ipqess-edma/bind

Example with additional print messages, functions at boot:
[    2.039468] ipqess-edma c080000.ethernet: ipqess_axi_probe pre register_netdev
[    2.039530] ipqess-edma c080000.ethernet: *netdev: c27d2000
[    2.045609] ipqess-edma c080000.ethernet: &ipqess_init: c0d1e28c
[    2.051122] ipqess_init
[    2.057338] netdev: c27d2000
[    2.059492] ess = netdev_priv: c27d2500
[    2.062615] ess->pdev: c2138c00
[    2.066174] ess->pdev->dev: c2138c10
[    2.069314] ess->pdev->dev.of_node: ef6f6368
[    2.073120] ess->pdev->dev.of_node: /soc/ethernet@c080000

fails (bind) after unbind:
[   34.987948] ipqess-edma c080000.ethernet: ipqess_axi_probe pre register_netdev
[   34.988012] ipqess-edma c080000.ethernet: *netdev: c27d6000
[   34.994088] ipqess-edma c080000.ethernet: &ipqess_init: c0d1e28c
[   34.999652] 8<--- cut here ---
[   35.005802] Unable to handle kernel paging request at virtual address c0d1e28c when execute
[   35.008676] [c0d1e28c] *pgd=80c1941e(bad)
[   35.016918] Internal error: Oops: 8000000d [#1] SMP ARM

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Link: https://github.com/openwrt/openwrt/pull/15831
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-30 11:07:02 +02:00
..
004-v6.7-firmware-qcom_scm-disable-SDI-if-required.patch kernel: bump 6.6 to 6.6.35 2024-06-22 16:50:57 +02:00
100-ARM-dts-qcom-ipq4019-add-label-to-SCM.patch ipq40xx: 6.6: rework kernel patches for new kernel 2024-04-02 23:45:20 +02:00
104-clk-fix-apss-cpu-overclocking.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
301-arm-compressed-add-appended-DTB-section.patch
302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
401-mmc-sdhci-msm-comment-unused-sdhci_msm_set_clock.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
444-mtd-nand-rawnand-add-support-for-Toshiba-TC58NVG0S3H.patch
700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch ipq40xx: ipqess: do not free ipqess_init 2024-06-30 11:07:02 +02:00
701-net-dsa-add-out-of-band-tagging-protocol.patch kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch ipq40xx: ipqess: pass up ethdev_addr probe defer 2024-06-30 11:07:02 +02:00
703-net-qualcomm-ipqess-release-IRQ-s-on-network-device-.patch ipq40xx: ipqess: pass up ethdev_addr probe defer 2024-06-30 11:07:02 +02:00
704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch ipq40xx: ipqess: pass up ethdev_addr probe defer 2024-06-30 11:07:02 +02:00
705-ARM-dts-qcom-ipq4019-Add-description-for-the-IPQESS-.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch ipq40xx: dont panic on PSGMII calibration fail 2024-05-22 17:24:17 +02:00
707-arm-dts-ipq4019-add-switch-node.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch ipq40xx: fritzrepeater-1200: fix MDIO and PHY probing 2024-05-02 22:09:17 +02:00
710-arm-dts-ipq4019-QCA807x-properties.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
711-net-qualcomm-ipqess-fix-TX-timeout-errors.patch
850-soc-add-qualcomm-syscon.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch kernel: bump 6.6 to 6.6.35 2024-06-22 16:50:57 +02:00
998-lantiq-atm-hacks.patch
999-atm-mpoa-intel-dsl-phy-support.patch