Why does the Kernel crash with socfpga-6.6.51-lts while reading from the mtd device on the Stratix® 10 SX SoC Development Kit? - Why does the Kernel crash with socfpga-6.6.51-lts while reading from the mtd device on the Stratix® 10 SX SoC Development Kit? Description Due to problem in the SPI subsystem driver in socfpga-6.6.51-lts, the Power Management implementation was contributed by the open-source community. The qspi controller bind/unbind causes kernel crash/call trace issue while read/write /dev/mtd0 on Altera® Stratix® 10 SX SoC Development Kit. Resolution To workaround this problem, you need to apply the patches to socfpga-6.6.51-lts from the attached qspi-fix-6.6.51-lts.zip directory. cd linux-socfpga patch -p1 < 0001-HSD-16027100077-1-spi-cadence-quadspi-Implement-refc.patch patch -p1 < 0002-HSD-16027100077-2-spi-spi-cadence-quadspi-Fix-pm-run.patch patch -p1 < 0003-mtd-spi-nor-core-Check-against-null-pointer-to-avoid.patch patch -p1 < 0004-spi-cadence-quadspi-remove-redundant-runtime-PM-call.patch patch -p1 < 0005-HSD-14021922100-spi-cadence-qspi-add-quirk-to-disabl.patch patch -p1 < 0006-mtd-mtdchar-add-NULL-check-for-mtd-in-close-path.patch patch -p1 < 0007-mtd-core-add-NULL-check-in-put_mtd_device.patch patch -p1 < 0008-sysfs-group-use-pr_debug-for-missing-group-in-sysfs_.patch Additional Information This problem is scheduled to be fixed in a future release of the socfpga-6.12.19-lts. Custom Fields values: ['novalue'] Troubleshooting 16027100077 True ['novalue'] ['FPGA Dev Tools Quartus® Prime Software Pro'] novalue 25.1 ['Stratix® 10 SX FPGA'] ['novalue'] ['novalue'] ['Stratix® 10 SX FPGA Dev Kit'] - 2025-06-29

external_document

Resource Type
Support Resources > Knowledge Articles
Source Name
khoros