Commit d17d4fa
QCLINUX: memory-dump: use late_initcall and build as built-in for boot debug
The memory dump device stub driver was registered with module_init(),
which runs before late_initcall(). The memory dump subsystem depends on
resources that are not yet available at that point, causing the driver
to fail silently during early boot.
Switch to late_initcall() so the driver initialises after all subsystem
dependencies are ready. Remove the module_exit() registration since the
driver is now built-in only.
Update qcom_debug.config to build CONFIG_QCOM_MEMORY_DUMP_DEV as
built-in (=y) instead of a loadable module (=m) to match the
late_initcall() requirement and allow early boot debugging.
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>1 parent 01e7462 commit d17d4fa
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
| 509 | + | |
511 | 510 | | |
512 | 511 | | |
0 commit comments