forked from Openwrt/openwrt
515ad3ce8a
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> |
||
---|---|---|
.. | ||
004-v6.7-firmware-qcom_scm-disable-SDI-if-required.patch | ||
100-ARM-dts-qcom-ipq4019-add-label-to-SCM.patch | ||
104-clk-fix-apss-cpu-overclocking.patch | ||
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 | ||
401-mmc-sdhci-msm-comment-unused-sdhci_msm_set_clock.patch | ||
422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch | ||
444-mtd-nand-rawnand-add-support-for-Toshiba-TC58NVG0S3H.patch | ||
700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch | ||
701-net-dsa-add-out-of-band-tagging-protocol.patch | ||
702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch | ||
703-net-qualcomm-ipqess-release-IRQ-s-on-network-device-.patch | ||
704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch | ||
705-ARM-dts-qcom-ipq4019-Add-description-for-the-IPQESS-.patch | ||
706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch | ||
707-arm-dts-ipq4019-add-switch-node.patch | ||
709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch | ||
710-arm-dts-ipq4019-QCA807x-properties.patch | ||
711-net-qualcomm-ipqess-fix-TX-timeout-errors.patch | ||
850-soc-add-qualcomm-syscon.patch | ||
910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch | ||
998-lantiq-atm-hacks.patch | ||
999-atm-mpoa-intel-dsl-phy-support.patch |