Bugzilla – Bug 1222818
Kernel Configuration Breakage (regulators) in config/arm64/default for MediaTek boards when merge from master to stable
Last modified: 2024-04-25 07:23:47 UTC
+++ This bug was initially created as a clone of Bug #1215335 +++ Reference: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2035591 ## Description A regression has been identified in the kernel configuration file `config/arm64/default` that appears to have been introduced during a merge from the master branch to the stable branch. The issue affected genio-mt8395 boards and removed settings of enabling regulators by this commit. [b197b3604a7b1542574ed75ee9e5f708eaa9772c] Update config files: enable arm64 regulator modules for mediatek boards (bsc#1215335) ## Affected Commits - **Bad Commit**: [a26e308341f11d0300a8bef13e97c9d213c6722a] Merge branch 'master' into stable - **Last Known Good Commit**: [18231664d40aa6b0efdc96714d3d1de0519bb460] Merge remote-tracking branch 'origin/users/vkarasulli/stable/for-next' into stable ## Removed configurations which leads board boot up fail. git checkout a26e308341f11d0300a8bef13e97c9d213c6722a git diff HEAD~1 | grep MT63 -CONFIG_PINCTRL_MT6397=y -# CONFIG_POWER_RESET_MT6323 is not set CONFIG_MFD_MT6360=m # CONFIG_MFD_MT6370 is not set -CONFIG_MFD_MT6397=m +# CONFIG_MFD_MT6397 is not set # CONFIG_REGULATOR_MT6311 is not set CONFIG_REGULATOR_MT6315=m -# CONFIG_REGULATOR_MT6323 is not set -# CONFIG_REGULATOR_MT6331 is not set -# CONFIG_REGULATOR_MT6332 is not set -CONFIG_REGULATOR_MT6357=m -CONFIG_REGULATOR_MT6358=m -CONFIG_REGULATOR_MT6359=m CONFIG_REGULATOR_MT6360=m CONFIG_REGULATOR_MT6380=m -CONFIG_REGULATOR_MT6397=m CONFIG_SND_SOC_MT6797_MT6351=m CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=m -# CONFIG_LEDS_MT6323 is not set -CONFIG_RTC_DRV_MT6397=m ## Expected Behavior and suggested fix Please help to add these settings in both master and stable branch in config/arm64/default CONFIG_PINCTRL_MT6397=y CONFIG_MFD_MT6397=m CONFIG_REGULATOR_MT6357=m CONFIG_REGULATOR_MT6358=m CONFIG_REGULATOR_MT6359=m CONFIG_REGULATOR_MT6397=m CONFIG_RTC_DRV_MT6397=m ## Additional Information Boot fail log using openSuse openSUSE-Tumbleweed-NET-aarch64-20240410.iso (This issue has been reported more earlier.) Error log: /var/log/boot.msg:509:<6>[ 25.667557][ T10] platform 11290000.usb: deferred probe pending: platform: wait for supplier /soc/pwrap@10024000/pmic/regulators/ldo_vusb /var/log/boot.msg:510:<6>[ 25.669208][ T10] platform 112a0000.usb: deferred probe pending: platform: wait for supplier /soc/pwrap@10024000/pmic/regulators/ldo_vusb /var/log/boot.msg:511:<6>[ 25.670850][ T10] platform 11230000.mmc: deferred probe pending: platform: wait for supplier /soc/pwrap@10024000/pmic/regulators/ldo_vufs /var/log/boot.msg:512:<6>[ 25.672507][ T10] platform 112b0000.usb: deferred probe pending: platform: wait for supplier /soc/pwrap@10024000/pmic/regulators/ldo_vusb /var/log/boot.msg:513:<6>[ 25.674149][ T10] spi spi0.0: deferred probe pending: spi: wait for supplier /soc/pwrap@10024000/pmic/regulators/ldo_vcn33_2_bt Thanks! Macpaul Lin
Chester, could you recommit the changes, but now to master branch, so that it does not get lost on the next merge?
Created attachment 874330 [details] config patch to master branch
Pushed to master and stable. Thanks.
Remind for users: This extra kernel command line parameter is required for openSUSE installer (in grub). 'loglevel=8 module_blacklist=mediatek_drm,arm_dsu_pmu switch_to_fb=0' The solution has been verified with https://download.opensuse.org/ports/aarch64/tumbleweed/iso/openSUSE-Tumbleweed-DVD-aarch64-Snapshot20240423-Media.iso kernel 6.8.7-1-default. Thanks!