VIM3 + M2X Extension with SSD + deep sleep = kernel panic

Hi!

Sorry for my bad english.
Please help me find a solution for this problem.

My config:
VIM3 - model KVIM3-P-002
M2X Extension Board without POE - Model KM2X-V-002
Gigabyte NVMe M.2 PCI-E 3.0 (GP-GSM2NE3128GNTD)

Firmware: Android VIM3_Pie_V211220.
VIM3 switched to PCIe mode (from Android UI). SSD is readable and writable.

When I press the power button, VIM3 goes to sleep and after a while turns back on.
The following happens in the console at this moment:

Console output

Full log - Log - Pastebin.com

[  921.977113@5] input input1: key 116 down.
[  922.169074@5] input input1: key 116 up.
[  922.169118@2] 
[  922.169118@2] vdac_enable: 1, module_sel:0x8, private_flag:0x0
[  922.175970@2] cvbs_out: cvbs_cntl_output: 1: 0x8f6001, 0x0
[  922.696552@2] early_suspend_state=1
[  922.696584@2] early_suspend: call handlers
[  922.698569@2] early_suspend: video_early_suspend
[  922.703108@2] video_early_suspend ok
[  922.707152@2] early_suspend: aocec_early_suspend
[  922.711315@2] cectx ff80023c.aocec: aocec_early_suspend, suspend sts:1
[  922.717787@2] early_suspend: hdmitx_early_suspend
[  922.732516@0] hdmitx: hw: avmute set to 2
[  922.832620@0] hdmitx: system: HDMITX: Early Suspend
[  922.832752@0] hdmitx: hdmitx_set_hdr10plus_pkt: null vsif
[  922.839537@0] hdmitx: system: set hdcp_pwr 1
[  922.840932@5] early_suspend: aml_vout_early_suspend
[  922.840946@5] 
[  922.840946@5] vdac_enable: 0, module_sel:0x8, private_flag:0x8
[  922.840962@5] cvbs_out: cvbs_cntl_output: 0: 0x0, 0x8
[  922.840974@5] early_suspend: aml_vout2_early_suspend
[  922.840987@5] early_suspend: osd_early_suspend
[  922.891023@5] fb: osd_suspended
[  922.891051@5] early_suspend: bt_earlysuspend
[  922.892774@5] early_suspend: usb_early_suspend
[  922.897215@5] DEBUG:usb_early_suspend:: DWC_OTG: going early suspend! is_mount=0
[  922.897215@5] 
[  922.906222@5] early_suspend: done
[  922.916179@1] type=1400 audit(1644169801.424:105): avc: denied { getattr } for pid=5902 comm=4173796E635461736B202333 path="/sys/devices/platform/soc/ff800000.aobus/ff805000.i2c/i2c-4/4-0051/rtc/rtc0/bootalarm" dev="sysfs" ino=18300 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  922.917663@5] [dhd] dhd_set_suspend: force extra Suspend setting
[  922.917669@5] [dhd] dhd_enable_packet_filter: enter, value = 1
[  922.950000@5] type=1400 audit(1644169856.404:106): avc: denied { getattr } for pid=3547 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=1305613 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[  923.775574@2] type=1400 audit(1644169856.404:106): avc: denied { getattr } for pid=3547 comm="wifi@1.0-servic" path="/data/vendor/wifi/wid_fp" dev="mmcblk0p20" ino=1305613 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:vendor_data_file:s0 tclass=file permissive=1
[  923.793787@2] type=1400 audit(1644169857.264:107): avc: denied { call } for pid=4397 comm="Thread-31" scontext=u:r:priv_app:s0:c512,c768 tcontext=u:r:hal_memtrack_default:s0 tclass=binder permissive=1
[  925.245720@0] PM: suspend entry 2022-02-06 17:50:58.739503863 UTC
[  925.246183@0] PM: Syncing filesystems ... done.
[  925.263634@0] [dhd] dhd_pm_callback: action=3, suspend=1, suspend_mode=0
[  925.271763@0] receive suspend notify
[  925.271836@0] meson_wdt ffd0f0d0.watchdog: pm_notify: disable watchdog, event = 3
[  925.277696@0] audio_ddr_mngr: ddr_pm_event, pm_event:3
[  925.282842@0] Freezing user space processes ... (elapsed 0.023 seconds) done.
[  925.309965@0] Freezing remaining freezable tasks ... (elapsed 0.223 seconds) done.
[  925.535778@0] cectx ff80023c.aocec: aml_cec_pm_prepare
[  925.543856@0] [dhd] bcmsdh_sdmmc_suspend Enter func->num=2
[  925.543889@0] [dhd] dhdsdio_suspend Enter
[  925.547720@0] [dhd] bcmsdh_sdmmc_suspend Exit
[  925.552062@0] [dhd] bcmsdh_sdmmc_suspend Enter func->num=1
[  925.604329@0] it is card_pre_suspend
[  925.605980@0] aml_T9015_audio_suspend!
[  925.606022@0] amvecm: suspend module
[  925.609675@0] bt suspend
[  925.626151@0] vpu_suspend
[  925.626216@0] amvdac_drv_suspend: suspend module
[  925.627745@0] vdin_drv_suspend ok.
[  925.631161@0] vdin_drv_suspend ok.
[  925.634539@0] hdmitx: amhdmitx: suspend and reset hdcp
[  925.729361@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_suspend
[  925.729917@0] meson_uart ffd24000.serial: pull up rts
[  925.734981@0] loopback_platform_suspend
[  925.738795@0] aml_spdif_platform_suspend is mute
[  925.743366@0] aml_tdm_platform_suspend tdm:(2)
[  925.747771@0] aml_tdm_platform_suspend tdm:(1)
[  925.752213@0] aml_tdm_platform_suspend tdm:(0)
[  925.756767@0] suspend inter = 0
[  925.759737@0] vpu: suspend clk: 666666656Hz(0x100)
[  925.764777@0] PM: suspend of devices complete after 225.266 msecs
[  925.771632@4] di_suspend
[  925.773113@4] di_suspend end
[  925.775923@4] di: di_suspend
[  925.778869@4] meson-remote ff808040.rc: remote suspend
[  925.784028@4] PM: late suspend of devices complete after 13.464 msecs
[  925.809164@0] amlogic-pcie-v2 fc000000.pcieA: the device class is not reported correctly from the register
[  925.813300@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_suspend_noirq
[  925.821643@0] PM: noirq suspend of devices complete after 31.315 msecs
[  925.826388@0] Disabling non-boot CPUs ...
[  925.846344@4] CPU1: shutdown
[  925.865077@0] Retrying again to check for CPU kill
[  925.865105@0] CPU1 killed.
[  925.897743@0] CPU2: shutdown
[  925.917067@0] Retrying again to check for CPU kill
[  925.917089@0] CPU2 killed.
[  925.949525@0] CPU3: shutdown
[  925.969098@0] Retrying again to check for CPU kill
[  925.969121@0] CPU3 killed.
[  926.001444@0] CPU4: shutdown
[  926.021068@0] Retrying again to check for CPU kill
[  926.021091@0] CPU4 killed.
[  926.054045@0] CPU5: shutdown
[  926.073063@0] Retrying again to check for CPU kill
[  926.073086@0] CPU5 killed.
bl30 get wakeup sources!

process command 00000006
bl30 enter suspend!

Little core clk suspend rate 1800000000

Big core clk suspend rate 24000000

store restore gp0 pll

suspend_counter: 2

Enter ddr suspend

DMC_DRAM_STAT11: 0x544

ddr suspend time: 2178us

alarm=35S

process command 00000001
cec ver:2018/04/29
CEC cfg:0x002b
use vddee new table!
cec reset
Set cec pinmux:0x11
kern log_addr:0x04
kern phy_addr:0x10 00
cec T: 44
ping_cec_tx:TX_ERROR
Set cec log_addr:0x04, ADDR0:14
use vddee new table!
exit_reason:0x03
Enter ddr resume

ddr resume time: 123us

store restore gp0 pll

cfg15 3b0c000 

cfg15 33b0c000 

Lit[  926.086740@0] Suspended for 35.584 seconds
[  926.086827@0] Enabling non-boot CPUs ...
tle core clk resume rate 1800000000

Big core clk resume rate 24000000

[  926.102402@0] CPU1 is up
[  926.119446@2] meson_cpufreq_init: ignor dsu clk!
[  926.119492@2] meson_cpufreq_init: ignor dsu pre parent clk!
[  926.124089@2] value of voltage_tolerance 0
[  926.128060@2] meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
[  926.134559@2] value of gp1_clk_target 0
[  926.139679@2] cpu cpu2: meson_cpufreq_init: CPU 2 initialized
[  926.144307@2] CPU2 is up
[  926.170108@0] CPU3 is up
[  926.187173@0] CPU4 is up
[  926.203853@0] CPU5 is up
[  926.204826@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_resume_noirq
[  926.209560@0] amlogic-pcie-v2 fc000000.pcieA: the device class is not reported correctly from the register
[  926.217041@0] cectx ff80023c.aocec: cec resume noirq!
[  926.222066@0] BUG: scheduling while atomic: kworker/u12:17/6285/0x00000002
[  926.228825@0] Modules linked in: galcore(O) dhd(O) iv009_isp(O) iv009_isp_sensor(O) iv009_isp_lens(O) iv009_isp_iq(O) amvdec_mavs(O) vpu(O) encoder(O) amvdec_avs2(O) amvdec_vp9(O) amvdec_vc1(O) amvdec_real(O) amvdec_mmpeg4(O) amvdec_mpeg4(O) amvdec_mmpeg12(O) amvdec_mpeg12(O) amvdec_mmjpeg(O) amvdec_mjpeg(O) amvdec_h265(O) amvdec_h264mvc(O) amvdec_mh264(O) amvdec_h264(O) amvdec_avs(O) stream_input(O) decoder_common(O) firmware(O) media_clock(O) tb_detect(O) mali_kbase(O)
[  926.270423@0] Preemption disabled at:[<  (null)>]   (null)
[  926.275888@0] CPU: 0 PID: 6285 Comm: kworker/u12:17 Tainted: G        W  O    4.9.113 #26
[  926.284031@0] Hardware name: Generic DT based system
[  926.288987@0] Workqueue: events_unbound async_run_entry_fn
[  926.294442@0] [bc54b93c+  16][<c020e39c>] show_stack+0x20/0x24
[  926.300247@0] [bc54b964+  40][<c05df694>] dump_stack+0xb8/0xf4
[  926.306052@0] [bc54b97c+  24][<c02576b8>] __schedule_bug+0xa8/0x100
[  926.312293@0] [bc54b9ec+ 112][<c0fc14fc>] __schedule+0x768/0x920
[  926.318270@0] [bc54ba04+  24][<c0fc1718>] schedule+0x64/0xc4
[  926.323905@0] [bc54ba84+ 128][<c0fc56bc>] schedule_hrtimeout_range_clock+0xd0/0x174
[  926.331531@0] [bc54ba9c+  24][<c0fc5788>] schedule_hrtimeout_range+0x28/0x30
[  926.338550@0] [bc54bacc+  48][<c0fc4e0c>] usleep_range+0x70/0x7c
[  926.344535@0] [bc54bb14+  72][<c0c748c8>] amlogic_pcie_link_up+0x38/0x164
[  926.351293@0] [bc54bb4c+  56][<c064803c>] dw_pcie_link_up+0x30/0xa0
[  926.357531@0] [bc54bb94+  72][<c0648178>] dw_pcie_rd_conf+0x4c/0x1c0
[  926.363861@0] [bc54bbcc+  56][<c0626de8>] pci_bus_read_config_word+0x7c/0xa4
[  926.370880@0] [bc54bbf4+  40][<c062d334>] pci_raw_set_power_state+0x8c/0x240
[  926.377896@0] [bc54bc0c+  24][<c06301e8>] pci_power_up+0x64/0x74
[  926.383877@0] [bc54bc2c+  32][<c0633258>] pci_pm_resume_noirq+0x28/0xa4
[  926.390465@0] [bc54bc5c+  48][<c06ab418>] dpm_run_callback+0x38/0x20c
[  926.396878@0] [bc54bc7c+  32][<c06ab690>] device_resume_noirq+0xa4/0x22c
[  926.403550@0] [bc54bc94+  24][<c06ab844>] async_resume_noirq+0x2c/0x54
[  926.410051@0] [bc54bcbc+  40][<c025001c>] async_run_entry_fn+0x58/0x128
[  926.416638@0] [bc54bcfc+  64][<c0245e34>] process_one_work+0x200/0x620
[  926.423137@0] [bc54bd3c+  64][<c0246e2c>] worker_thread+0x58/0x5c4
[  926.429288@0] [bc54bd94+  88][<c024c628>] kthread+0x128/0x144
[  926.435011@0] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38
[  926.441161@2] cectx ff80023c.aocec: wakeup_reason:0x3
[  926.446178@2] cectx ff80023c.aocec: cev val1:0x0,0x0,0x0
[  926.451449@0] cectx ff80023c.aocec: cev val2: 0x0x0
[  926.460909@2] PM: noirq resume of devices complete after 256.929 msecs
[  926.531286@2] di_resume
[  926.533638@2] di: resume module
[  926.537358@5] PM: early resume of devices complete after 74.556 msecs
[  926.543483@5] vpu: resume clk: 666666656Hz(0x100)
[  926.547853@5] resuem inter = 0
[  926.651247@5] meson6-dwmac ff3f0000.ethernet: Failed to reset the dma
[  926.652043@5] stmmac_hw_setup: DMA engine initialization failed
[  926.660820@5] tsensor trim info: 0xfa008147!
[  926.662175@5] tsensor hireboot: 0xc0ff2b20
[  926.666263@5] tsensor trim info: 0xfa00812f!
[  926.670500@5] tsensor hireboot: 0xc0ff2b10
[  926.674596@5] aml_tdm_platform_resume tdm:(0)
[  926.678911@5] aml_tdm_platform_resume tdm:(1)
[  926.683243@5] aml_tdm_platform_resume tdm:(2)
[  926.687586@5] aml_spdif_platform_resume is unmute
[  926.692259@5] loopback_platform_resume
[  926.695990@5] meson_uart ffd24000.serial: ttyS1 use xtal(24M) 24000000 change 2000000 to 2000000
[  926.704745@5] meson_uart ffd22000.serial: ttyS3 use xtal(24M) 24000000 change 115200 to 115200
[  926.713318@5] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_resume
[  926.727736@0] vdin_drv_resume ok.
[  926.727765@0] vdin_drv_resume ok.
[  926.728751@0] amvdac_drv_resume: resume module
[  926.733147@0] vpu_resume
[  926.735702@2] [dhd] bcmsdh_sdmmc_resume Enter func->num=2
[  926.735717@0] [dhd] bcmsdh_sdmmc_resume Enter func->num=1
[  926.735724@3] bt resume
[  926.735739@3] amvecm: resume module
[  926.737548@0] usb usb1: root hub lost power or was reset
[  926.737551@0] usb usb2: root hub lost power or was reset
[  926.741741@3] aml_T9015_audio_resume!
[  926.752603@0] meson-mmc: actual_clock :400000, HHI_nand: 0x80
[  926.752620@0] meson-mmc: [meson_mmc_set_ios_v3] after clock: 0x1000023c
[  926.778804@2] [dhd] dhdsdio_resume Enter
[  926.782715@2] [dhd] bcmsdh_sdmmc_resume Exit
[  926.880876@0] Unable to handle kernel NULL pointer dereference at virtual address 00000050
[  926.883490@0] pgd = c0104000
[  926.886498@0] [00000050] *pgd=00000000
[  926.890089@0] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[  926.895535@0] Modules linked in: galcore(O) dhd(O) iv009_isp(O) iv009_isp_sensor(O) iv009_isp_lens(O) iv009_isp_iq(O) amvdec_mavs(O) vpu(O) encoder(O) amvdec_avs2(O) amvdec_vp9(O) amvdec_vc1(O) amvdec_real(O) amvdec_mmpeg4(O) amvdec_mpeg4(O) amvdec_mmpeg12(O) amvdec_mpeg12(O) amvdec_mmjpeg(O) amvdec_mjpeg(O) amvdec_h265(O) amvdec_h264mvc(O) amvdec_mh264(O) amvdec_h264(O) amvdec_avs(O) stream_input(O) decoder_common(O) firmware(O) media_clock(O) tb_detect(O) mali_kbase(O)
[  926.937137@0] CPU: 0 PID: 6277 Comm: kworker/u12:9 Tainted: G        W  O    4.9.113 #26
[  926.945194@0] Hardware name: Generic DT based system
[  926.949463@3] it is card_post_resume
[  926.953701@3] Workqueue: nvme nvme_reset_work
[  926.958020@0] task: e7ca7380 task.stack: bc4a6000
[  926.962708@0] PC is at _set_bit+0x20/0x54
[  926.966693@0] LR is at blk_mq_map_swqueue+0xf4/0x228
[  926.971629@0] pc : [<c05de96c>]    lr : [<c05c5d50>]    psr: 60000113
[  926.971629@0] sp : bc4a7b90  ip : 00000000  fp : bc4a7bcc
[  926.983414@0] r10: c1606914  r9 : c16055ec  r8 : c1605efc
[  926.988788@0] r7 : c16055f4  r6 : ec774c04  r5 : ecf5ee00  r4 : 00000001
[  926.995461@0] r3 : 00000002  r2 : 00000001  r1 : 00000050  r0 : 00000000
[  927.002135@0] R11 : bc4a7bcc, PFN:9e451
[  927.005948@0] R13 : bc4a7b90, PFN:9e451
[  927.009762@0] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  927.017041@0] Control: 10c5383d  Table: 293cc06a  DAC: 00000051
[  927.022934@0] 
[  927.022934@0] PC: 0xc05de8ec:
[  927.027527@0] e8ec  e12fff1e e290c001 30dcc001 2a000011 e1a0c422 e4c02001 e5c0c000 e3a00000
[  927.035846@0] e90c  e12fff1e e290c003 30dcc001 2a000009 e5802000 e3a00000 e12fff1e e290c007
[  927.044166@0] e92c  30dcc001 2a000003 e4802004 e5803000 e3a00000 e12fff1e e3e0000d e12fff1e
[  927.052486@0] e94c  e211c003 15cc1000 e3a02001 e200301f e1a002a0 e0811100 f591f000 e1a03312
[  927.060806@0] e96c  e1912f9f e1822003 e1810f92 e3500000 1afffffa e12fff1e 00000000 00000000
[  927.069126@0] e98c  00000000 00000000 00000000 00000000 00000000 e20110ff e4d02001 e1320001
[  927.077446@0] e9ac  13320000 1afffffb e1320001 13a00000 02400001 e12fff1e 00000000 00000000
[  927.085766@0] e9cc  00000000 00000000 00000000 00000000 00000000 e3a03000 e4d02001 e1320001
[  927.094087@0] 
[  927.094087@0] LR: 0xc05c5cd0:
[  927.098680@0] 5cd0  e34c8160 e34c7160 e34ca160 e3e04000 e2842001 e3a01008 e1a00007 eb005e49
[  927.107000@0] 5cf0  e5981000 e1a04000 e280301f e200201f e1510000 9a00001b e3540000 a1a03004
[  927.115320@0] 5d10  e1a032c3 e7993103 e1a03233 e3130001 0affffee e5951074 e5952080 e5953078
[  927.123640@0] 5d30  e791c104 e79a1104 e792210c e0833001 e50b3034 e2821050 e50b2030 eb0062fe
[  927.131960@0] 5d50  e51b2030 e51b3034 e5921080 e5831044 e5921080 e592007c e281c001 e582c080
[  927.140280@0] 5d70  e7803101 eaffffd9 e51b0038 eb27f6ad e5953084 e3530000 0a00002b e30933cc
[  927.148600@0] 5d90  e3a04000 e34c3118 e3a09008 e50b3030 ea00000e e5963028 e7931104 e3510000
[  927.156920@0] 5db0  0a000004 e1a02004 e1a00006 ebfffeb7 e5963028 e783800a e3a03000 e2844001
[  927.165241@0] 
[  927.165241@0] R5: 0xecf5ed80:
[  927.169833@0] ed80  00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000
[  927.178153@0] eda0  00000000 00000000 00000000 00000000 00000000 00000000 00280028 ecf5edbc
[  927.186473@0] edc0  ecf5edbc 00000001 d2bc0921 c05b9030 00000000 00000001 00000000 00000000
[  927.194793@0] ede0  ecf5f2e0 ecfba2e0 ec774c50 ec774c94 ec774c94 ec790080 00000000 00000000
[  927.203113@0] ee00  ecf5ee00 ecf5ee00 00000000 00000000 00000000 00000000 00000000 00000000
[  927.211433@0] ee20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.219753@0] ee40  00000000 00000000 00000000 00000000 00000000 c05c8170 00000000 00000000
[  927.228073@0] ee60  c06f9fe0 00000000 00000000 00000000 c165d8f8 ec767d00 d2bc0b40 00000006
[  927.236394@0] 
[  927.236394@0] R6: 0xec774b84:
[  927.240986@0] 4b84  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.249306@0] 4ba4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.257626@0] 4bc4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.265946@0] 4be4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ec5f5900
[  927.274266@0] 4c04  ec767d00 c165d8f8 00000001 000003ff 00000000 00000050 ffffffff 00001d4c
[  927.282586@0] 4c24  00000001 ec774c00 ec767e40 00000001 00000000 ec774c38 ec774c38 00000000
[  927.290906@0] 4c44  00000000 ecf5f2ec ecf5f2ec ec7902c0 c165d8d0 00000001 000000fe 00000000
[  927.299226@0] 4c64  00000050 ffffffff 00003a98 00000000 ec774c00 ec790140 00000001 00000000
[  927.307547@0] 
[  927.307547@0] R7: 0xc1605574:
[  927.312140@0] 5574  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.320460@0] 5594  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.328780@0] 55b4  00000000 00000000 00000000 00000000 00000001 00000001 003fb0d6 0000001f
[  927.337100@0] 55d4  00000009 00000012 ffffffff 00000000 00000000 00000000 0000003f 0000003f
[  927.345420@0] 55f4  0000003f 0000003f 00000100 00000000 ed827900 ed827a00 ed827b00 ed874800
[  927.353740@0] 5614  ed827d00 ed827e00 ed827f00 00000000 ed801a80 000003e8 00000001 00000001
[  927.362060@0] 5634  00000020 000b573b 00000001 00000000 0007a120 00000000 00000096 00989680
[  927.370380@0] 5654  00989680 00000000 00000000 00000000 01312d00 00000005 00000002 00000001
[  927.378700@0] 
[  927.378700@0] R8: 0xc1605e7c:
[  927.383293@0] 5e7c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.391613@0] 5e9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.399933@0] 5ebc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.408253@0] 5edc  00000000 00000000 00000000 00000000 00000000 edba0000 00000800 00000001
[  927.416573@0] 5efc  00000006 00130000 00000000 00010000 00000000 00000000 00000000 00000000
[  927.424893@0] 5f1c  00008000 0000000a 00000000 00000003 00000000 00000000 00000000 0000003f
[  927.433213@0] 5f3c  00000000 ee6b2800 00000000 0000000a 00000001 00000000 00000000 00000000
[  927.441533@0] 5f5c  00000000 0000003f 00000000 00000001 c1605f70 c0212ba4 00000000 00000060
[  927.449853@0] 
[  927.449853@0] R9: 0xc160556c:
[  927.454446@0] 556c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.462766@0] 558c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.471086@0] 55ac  00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000001
[  927.479406@0] 55cc  003fb0d6 0000001f 00000009 00000012 ffffffff 00000000 00000000 00000000
[  927.487726@0] 55ec  0000003f 0000003f 0000003f 0000003f 00000100 00000000 ed827900 ed827a00
[  927.496046@0] 560c  ed827b00 ed874800 ed827d00 ed827e00 ed827f00 00000000 ed801a80 000003e8
[  927.504366@0] 562c  00000001 00000001 00000020 000b573b 00000001 00000000 0007a120 00000000
[  927.512686@0] 564c  00000096 00989680 00989680 00000000 00000000 00000000 01312d00 00000005
[  927.521007@0] 
[  927.521007@0] R10: 0xc1606894:
[  927.525686@0] 6894  07ffff3f 00000000 00031800 00000001 00000001 00000001 00000001 00000001
[  927.534006@0] 68b4  00000000 00000032 00000001 00002000 0001d224 0000fffa 000000fa 00000000
[  927.542326@0] 68d4  00000001 0000f000 0000000f effff280 0000003c 00001000 00000001 effff380
[  927.550646@0] 68f4  effff3c0 ee1b1000 effff300 effff340 0000000f 00000006 00000005 00000000
[  927.558966@0] 6914  2cbed000 2cbfc000 2cc0b000 2cc1a000 2cc29000 2cc38000 00000000 00000000
[  927.567286@0] 6934  00000001 00000000 000bd800 00000002 0002fff7 00010000 000ed7ff 00000000
[  927.575606@0] 6954  00000010 00000001 ed801e00 edb72b10 00000000 00000000 ed801980 ee12d000
[  927.583926@0] 6974  00000011 ed801280 0001ffff ed801b80 00000064 00000010 ee0ed000 0000ffff
[  927.592247@0] Process kworker/u12:9 (pid: 6277, stack limit = 0xbc4a6000)
[  927.599008@0] Stack: (0xbc4a7b90 to 0xbc4a8000)
[  927.603516@0] 7b80:                                     bc4a7bb4 ecf5f270 ff7bcb40 00000000
[  927.611837@0] 7ba0: 00000000 ecf5ee00 c16055ec ec774c04 c16055ec c05c8778 c05c8170 bc4a7c50
[  927.620157@0] 7bc0: bc4a7be4 bc4a7bd0 c05c5ec0 c05c5c68 ecf5ee00 ec774c48 bc4a7c14 bc4a7be8
[  927.628476@0] 7be0: c05c7c40 c05c5e90 ec774c04 ec774cc4 eda0d780 00000001 00000000 00000000
[  927.636797@0] 7c00: ec774c00 bc4a7c50 bc4a7cbc bc4a7c18 c06fb894 c05c7b6c bc4a7c50 00000000
[  927.645116@0] 7c20: bc4a7c4c bc4a7c30 c165d83c 00000000 ec774d48 60000113 00000008 00000020
[  927.653436@0] 7c40: 00000001 ec774c00 c16065b8 00000001 00000001 00000000 00000000 00000000
[  927.661756@0] 7c60: 00000000 00000000 bd080000 00000000 00000000 00000000 03ff0001 00010005
[  927.670076@0] 7c80: 00000000 00000000 00000000 00000000 ec774cc4 ec774cc4 ea107880 ed82a800
[  927.678396@0] 7ca0: ece94200 00000000 00000000 ed82a800 bc4a7cfc bc4a7cc0 c0245e34 c06fabd4
[  927.686717@0] 7cc0: c0257df0 c0310c28 ed82a800 ed82a800 ed82a800 ea107880 ed82a800 ea107898
[  927.695036@0] 7ce0: 00000088 c1603d00 ed82a818 ed82a800 bc4a7d3c bc4a7d00 c0246e2c c0245c40
[  927.703357@0] 7d00: c0257f50 c1619988 bc4a7de8 bc4a6000 e98b3a00 00000000 bc4a7000 e98b3a00
[  927.711676@0] 7d20: ea107880 c0246dd4 00000000 00000000 bc4a7d94 bc4a7d40 c024c628 c0246de0
[  927.719996@0] 7d40: 00000000 00000000 bc4a7d74 ea107880 00000000 00000000 bc4a7d58 bc4a7d58
[  927.728316@0] 7d60: 00000000 00000000 bc4a7d68 bc4a7d68 c025cfb0 e98b3a00 c024c500 00000000
[  927.736636@0] 7d80: 00000000 00000000 00000000 bc4a7d98 c020885c c024c50c 00000000 00000000
[  927.744956@0] 7da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.753276@0] 7dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000013 00000000
[  927.761596@0] 7de0: 00000000 00000000 00000000 00000000 00000000 e7ca7380 00000000 00000000
[  927.769916@0] 7e00: ee1b80c0 e7ca39c0 00000000 ea275180 e7ca7380 00000000 ffffe000 bc4a785c
[  927.778236@0] 7e20: bc4a77f0 c0fc10e0 00000000 00000000 00000000 00000000 00000000 00000000
[  927.786556@0] 7e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.794876@0] 7e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.803196@0] 7e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.811516@0] 7ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.819836@0] 7ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.828156@0] 7ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.836476@0] 7f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.844796@0] 7f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.853116@0] 7f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.861436@0] 7f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.869756@0] 7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.878076@0] 7fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.886396@0] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  927.894716@0] 7fe0: 00000000 00000000 00000000 00000000 00000008 00000000 00000000 00000000
[  927.903043@0] [bc4a7bcc+  64][<c05c5d50>] blk_mq_map_swqueue+0xf4/0x228
[  927.909627@0] [bc4a7be4+  24][<c05c5ec0>] blk_mq_queue_reinit+0x3c/0x78
[  927.916213@0] [bc4a7c14+  48][<c05c7c40>] blk_mq_update_nr_hw_queues+0xe0/0x130
[  927.923495@0] [bc4a7cbc+ 168][<c06fb894>] nvme_reset_work+0xccc/0x1118
[  927.929997@0] [bc4a7cfc+  64][<c0245e34>] process_one_work+0x200/0x620
[  927.936494@0] [bc4a7d3c+  64][<c0246e2c>] worker_thread+0x58/0x5c4
[  927.942645@0] [bc4a7d94+  88][<c024c628>] kthread+0x128/0x144
[  927.948368@0] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38
[  927.954431@0] Code: e1a002a0 e0811100 f591f000 e1a03312 (e1912f9f) 
[  927.960950@5] ---[ end trace 146a03300586f045 ]---
[  927.968677@1] meson-aml-mmc ffe07000.emmc: divider requested rate 200000000 != actual rate 199999997: ret=0
[  927.970284@5] Kernel panic - not syncing: Fatal exception
[  927.970439@0] CPU0: stopping
[  927.970443@0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D W  O    4.9.113 #26
[  927.970445@0] Hardware name: Generic DT based system
[  927.970460@0] [c18a1d64+  16][<c020e39c>] show_stack+0x20/0x24
[  927.970471@0] [c18a1d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  927.970479@0] [c18a1db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  927.970487@0] [c18a1ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  927.970494@0] [c1601d3c+   0][<c020f108>] __irq_svc+0x88/0xcc
[  927.970502@0] [c1601d3c+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  927.970513@0] [c1601d4c+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  927.970522@0] [c1601d7c+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  927.970530@0] [c1601d94+  24][<c0fbdfd8>] rest_init+0x98/0x9c
[  927.970536@2] CPU2: stopping
[  927.970540@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D W  O    4.9.113 #26
[  927.970540@2] Hardware name: Generic DT based system
[  927.970551@2] [ed983d64+  16][<c020e39c>] show_stack+0x20/0x24
[  927.970557@2] [ed983d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  927.970562@2] [ed983db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  927.970566@2] [ed983ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  927.970571@2] [bc01bd84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  927.970576@2] [bc01bd84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  927.970582@2] [bc01bd94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  927.970587@2] [bc01bdc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  927.970592@2] [bc01bddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  927.970595@4] CPU4: stopping
[  927.970597@4] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G      D W  O    4.9.113 #26
[  927.970598@4] Hardware name: Generic DT based system
[  927.970604@4] [ed9c3d64+  16][<c020e39c>] show_stack+0x20/0x24
[  927.970610@4] [ed9c3d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  927.970614@4] [ed9c3db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  927.970617@4] [ed9c3ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  927.970621@4] [bc01fd84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  927.970627@4] [bc01fd84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  927.970632@4] [bc01fd94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  927.970636@4] [bc01fdc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  927.970640@4] [bc01fddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  927.970642@3] CPU3: stopping
[  927.970645@3] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D W  O    4.9.113 #26
[  927.970646@3] Hardware name: Generic DT based system
[  927.970652@3] [ed9bbd64+  16][<c020e39c>] show_stack+0x20/0x24
[  927.970657@3] [ed9bbd8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  927.970661@3] [ed9bbdb4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  927.970665@3] [ed9bbddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  927.970669@3] [bc01dd84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  927.970674@3] [bc01dd84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  927.970679@3] [bc01dd94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  927.970683@3] [bc01ddc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  927.970688@3] [bc01dddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  927.975144@1] CPU1: stopping
[  927.975148@1] CPU: 1 PID: 6275 Comm: kworker/u12:7 Tainted: G      D W  O    4.9.113 #26
[  927.975149@1] Hardware name: Generic DT based system
[  927.975166@1] Workqueue: events_unbound async_run_entry_fn
[  927.975173@1] [ed8f3d64+  16][<c020e39c>] show_stack+0x20/0x24
[  927.975182@1] [ed8f3d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  927.975188@1] [ed8f3db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  927.975194@1] [ed8f3ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  927.975200@1] [bc46190c+   0][<c020f108>] __irq_svc+0x88/0xcc
[  927.975209@1] [bc46190c+ 120][<c0298478>] console_unlock+0x52c/0x67c
[  927.975216@1] [bc46196c+  96][<c0298888>] vprintk_emit+0x2c0/0x4b0
[  927.975224@1] [bc461a2c+ 192][<c069a144>] dev_vprintk_emit+0xb0/0x1d8
[  927.975232@1] [bc461a44+  24][<c069a29c>] dev_printk_emit+0x30/0x38
[  927.975239@1] [bc461a64+  24][<c069a368>] __dev_printk+0x5c/0x9c
[  927.975247@1] [bc461a88+  36][<c069a5e0>] dev_warn+0x48/0x50
[  927.975260@1] [bc461b04+ 112][<c0c36444>] meson_mmc_set_ios_v3+0xa70/0xfc4
[  927.975271@1] [bc461b1c+  24][<c0943ff4>] mmc_set_clock+0x60/0x64
[  927.975281@1] [bc461b2c+  16][<c0946ad4>] mmc_set_bus_speed+0x54/0x6c
[  927.975290@1] [bc461ba4+ 120][<c09478a8>] mmc_init_card+0x2d4/0x17c4
[  927.975297@1] [bc461bbc+  24][<c0948de8>] mmc_reset+0x50/0xa8
[  927.975304@1] [bc461bdc+  32][<c0941ac8>] mmc_hw_reset+0x74/0x138
[  927.975311@1] [bc461bf4+  24][<c0948ea4>] _mmc_resume+0x64/0x80
[  927.975318@1] [bc461c14+  32][<c0948eec>] mmc_resume+0x2c/0x68
[  927.975326@1] [bc461c2c+  24][<c0945748>] mmc_bus_resume+0x2c/0x5c
[  927.975335@1] [bc461c5c+  48][<c06ab418>] dpm_run_callback+0x38/0x20c
[  927.975343@1] [bc461c7c+  32][<c06abc84>] device_resume+0xa4/0x26c
[  927.975350@1] [bc461c94+  24][<c06abe78>] async_resume+0x2c/0x54
[  927.975359@1] [bc461cbc+  40][<c025001c>] async_run_entry_fn+0x58/0x128
[  927.975368@1] [bc461cfc+  64][<c0245e34>] process_one_work+0x200/0x620
[  927.975376@1] [bc461d3c+  64][<c0246e2c>] worker_thread+0x58/0x5c4
[  927.975382@1] [bc461d94+  88][<c024c628>] kthread+0x128/0x144
[  927.975390@1] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38
[  928.454840@5] Rebooting in 5 seconds..
[  933.458528@5] reboot reason 12
bl31 reboot reason: 0xd
bl31 reboot reason: 0xc
system cmd  1.

ERROR:   gxbb System RG12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.

If I disable PCIe and enable USB3.0, then everything works fine, except for access to the SSD.

@ElDrako i will check this problem

Thanks.
Yesterday I checked without M2X. The behavior is similar.

I also tested it on a custom build of DaveMF - Поддержка русскоязычных пользователей - #407 by ElDrako

With it, the board falls asleep for the first time by pressing the power button and wakes up, but the second time after going to sleep it freezes and you can turn it on only with the reset button.

Last lines in logout before freezing:

[  363.057037@4] Retrying again to check for CPU kill
[  363.057040@4] CPU1 killed.
[  363.101268@5] nvme0n1: detected capacity change from 128035676160 to 0

I builded a current version of android sources from

repo init -u https://github.com/khadas/android_manifest.git -b khadas-vims-pie --depth=1

And this bug also present with it. And other bugs - deep sleep not work when power button pressed, wrong UI state for LEDs control from settings…

Log from console
console:/ # echo 'mem' > /sys/power/state                                      
[  607.772206@2] es8316 spk_ctl_gpio 0
[  607.772261@2] es8316 spk_mute_gpio 1
[  607.881536@2] audio_ddr_mngr: frddr_set_sharebuffer_enable sel:1, dst_src:3
[  607.882876@2] tdm playback mute: 1, lane_cnt = 4
[  607.888024@2] audio_ddr_mngr: frddrs[0] released by device ff642000.audiobus:tdmb
[  608.425628@0] PM: suspend entry 2022-02-15 14:38:16.162429733 UTC
[  608.426093@0] PM: Syncing filesystems ... done.
[  608.441058@0] [dhd] dhd_pm_callback: action=3, suspend=1, suspend_mode=0
[  608.451186@0] receive suspend notify
[  608.451247@0] meson_wdt ffd0f0d0.watchdog: pm_notify: disable watchdog, event = 3
[  608.456966@0] audio_ddr_mngr: ddr_pm_event, pm_event:3
[  608.462058@0] Freezing user space processes ... (elapsed 0.027 seconds) done.
[  608.493925@0] Freezing remaining freezable tasks ... (elapsed 0.642 seconds) done.
[  609.138647@0] cectx ff80023c.aocec: aml_cec_pm_prepare
[  609.147843@0] [dhd] bcmsdh_sdmmc_suspend Enter func->num=2
[  609.147877@0] [dhd] dhdsdio_suspend Enter
[  609.151729@0] [dhd] bcmsdh_sdmmc_suspend Exit
[  609.156069@0] [dhd] bcmsdh_sdmmc_suspend Enter func->num=1
[  609.208384@0] it is card_pre_suspend
[  609.210131@4] aml_T9015_audio_suspend!
[  609.210170@4] amvecm: suspend module
[  609.213661@4] bt suspend
[  609.266181@4] fb: osd_suspended
[  609.266201@4] vpu_suspend
[  609.266317@4] amvdac_drv_suspend: suspend module
[  609.270895@4] vdin_drv_suspend ok.
[  609.274266@4] vdin_drv_suspend ok.
[  609.277674@4] hdmitx: amhdmitx: suspend and reset hdcp
[  609.333521@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_suspend
[  609.334078@0] meson_uart ffd24000.serial: pull up rts
[  609.339128@0] loopback_platform_suspend
[  609.342968@3] aml_spdif_platform_suspend is mute
[  609.347520@3] aml_tdm_platform_suspend tdm:(2)
[  609.351924@3] aml_tdm_platform_suspend tdm:(1)
[  609.356369@3] aml_tdm_platform_suspend tdm:(0)
[  609.360855@3] suspend inter = 0
[  609.363894@3] vpu: suspend clk: 666666656Hz(0x100)
[  609.368907@0] PM: suspend of devices complete after 226.595 msecs
[  609.375682@4] di_suspend
[  609.377251@4] di_suspend end
[  609.380080@4] di: di_suspend
[  609.383016@4] meson-remote ff808040.rc: remote suspend
[  609.388179@4] PM: late suspend of devices complete after 13.434 msecs
[  609.413319@0] amlogic-pcie-v2 fc000000.pcieA: the device class is not reported correctly from the register
[  609.417433@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_suspend_noirq
[  609.425784@0] PM: noirq suspend of devices complete after 31.310 msecs
[  609.430508@0] Disabling non-boot CPUs ...
[  609.450482@5] CPU1: shutdown
[  609.469217@0] Retrying again to check for CPU kill
[  609.469245@0] CPU1 killed.
[  609.513893@0] CPU2: shutdown
[  609.533219@0] Retrying again to check for CPU kill
[  609.533241@0] CPU2 killed.
[  609.573678@0] CPU3: shutdown
[  609.593212@0] Retrying again to check for CPU kill
[  609.593235@0] CPU3 killed.
[  609.625573@0] CPU4: shutdown
[  609.645217@0] Retrying again to check for CPU kill
[  609.645239@0] CPU4 killed.
[  609.678173@0] CPU5: shutdown
[  609.697205@0] Retrying again to check for CPU kill
[  609.697228@0] CPU5 killed.
bl30 get wakeup sources!

process command 00000006
bl30 enter suspend!

Little core clk suspend rate 1800000000

Big core clk suspend rate 24000000

store restore gp0 pll

suspend_counter: 3

Enter ddr suspend

ddr suspend time: 15us

alarm=54S

process command 00000001
cec ver:2018/04/29
CEC cfg:0x002b
use vddee new table!
cec reset
Set cec pinmux:0x11
kern log_addr:0x04
kern phy_addr:0x10 00
cec T: 44
ping_cec_tx:TX_ERROR
Set cec log_addr:0x04, ADDR0:14
use vddee new table!
exit_reason:0x03
Enter ddr resume

ddr resume time: 123us

store restore gp0 pll

cfg15 3b00000 

cfg15 33b00000 

Lit[  609.710800@0] Suspended for 54.535 seconds
[  609.710890@0] Enabling non-boot CPUs ...
tle core clk resume rate 1800000000

Big core clk resume rate 24000000

[  609.726577@1] CPU1 is up
[  609.747531@2] meson_cpufreq_init: ignor dsu clk!
[  609.747576@2] meson_cpufreq_init: ignor dsu pre parent clk!
[  609.752183@2] value of voltage_tolerance 0
[  609.756143@2] meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
[  609.762640@2] value of gp1_clk_target 0
[  609.767731@2] cpu cpu2: meson_cpufreq_init: CPU 2 initialized
[  609.772388@2] CPU2 is up
[  609.798236@0] CPU3 is up
[  609.815295@0] CPU4 is up
[  609.832002@0] CPU5 is up
[  609.832893@0] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_resume_noirq
[  609.837714@0] amlogic-pcie-v2 fc000000.pcieA: the device class is not reported correctly from the register
[  609.845202@0] cectx ff80023c.aocec: cec resume noirq!
[  609.850274@1] BUG: scheduling while atomic: kworker/u12:20/4846/0x00000002
[  609.856976@1] Modules linked in: galcore(O)[  609.860749@0] cectx ff80023c.aocec: wakeup_reason:0x3
[  609.860816@0] cectx ff80023c.aocec: cev val1:0x0,0x0,0x0
[  609.860857@0] cectx ff80023c.aocec: cev val2: 0x0x0
[  609.876128@1]  dhd(O) iv009_isp(O) iv009_isp_sensor(O) iv009_isp_lens(O) iv009_isp_iq(O) amvdec_mavs(O) vpu(O) encoder(O) amvdec_avs2(O) amvdec_vp9(O) amvdec_vc1(O) amvdec_real(O) amvdec_mmpeg4(O) amvdec_mpeg4(O) amvdec_mmpeg12(O) amvdec_mpeg12(O) amvdec_mmjpeg(O) amvdec_mjpeg(O) amvdec_h265(O)[  609.900738@0] khadas-tca6408 4-0020: tca6408_read_reg failed, reg: 1, error: -110
[  609.909408@1]  amvdec_h264mvc(O) amvdec_mh264(O) amvdec_h264(O) amvdec_avs(O) stream_input(O) decoder_common(O) firmware(O) media_clock(O) tb_detect(O) mali_kbase(O)
[  609.924140@1] Preemption disabled at:[<  (null)>]   (null)
[  609.929606@1] CPU: 1 PID: 4846 Comm: kworker/u12:20 Tainted: G        W  O    4.9.113 #1
[  609.937661@1] Hardware name: Generic DT based system
[  609.942614@1] Workqueue: events_unbound async_run_entry_fn
[  609.948072@1] [bc7db93c+  16][<c020e39c>] show_stack+0x20/0x24
[  609.953877@1] [bc7db964+  40][<c05df694>] dump_stack+0xb8/0xf4
[  609.959682@1] [bc7db97c+  24][<c02576b8>] __schedule_bug+0xa8/0x100
[  609.965923@1] [bc7db9ec+ 112][<c0fc14fc>] __schedule+0x768/0x920
[  609.971900@1] [bc7dba04+  24][<c0fc1718>] schedule+0x64/0xc4
[  609.977535@1] [bc7dba84+ 128][<c0fc56bc>] schedule_hrtimeout_range_clock+0xd0/0x174
[  609.985161@1] [bc7dba9c+  24][<c0fc5788>] schedule_hrtimeout_range+0x28/0x30
[  609.992180@1] [bc7dbacc+  48][<c0fc4e0c>] usleep_range+0x70/0x7c
[  609.998166@1] [bc7dbb14+  72][<c0c748c8>] amlogic_pcie_link_up+0x38/0x164
[  610.004924@1] [bc7dbb4c+  56][<c064803c>] dw_pcie_link_up+0x30/0xa0
[  610.011161@1] [bc7dbb94+  72][<c0648178>] dw_pcie_rd_conf+0x4c/0x1c0
[  610.017491@1] [bc7dbbcc+  56][<c0626de8>] pci_bus_read_config_word+0x7c/0xa4
[  610.024510@1] [bc7dbbf4+  40][<c062d334>] pci_raw_set_power_state+0x8c/0x240
[  610.031526@1] [bc7dbc0c+  24][<c06301e8>] pci_power_up+0x64/0x74
[  610.037508@1] [bc7dbc2c+  32][<c0633258>] pci_pm_resume_noirq+0x28/0xa4
[  610.044095@1] [bc7dbc5c+  48][<c06ab418>] dpm_run_callback+0x38/0x20c
[  610.050508@1] [bc7dbc7c+  32][<c06ab690>] device_resume_noirq+0xa4/0x22c
[  610.057180@1] [bc7dbc94+  24][<c06ab844>] async_resume_noirq+0x2c/0x54
[  610.063682@1] [bc7dbcbc+  40][<c025001c>] async_run_entry_fn+0x58/0x128
[  610.070269@1] [bc7dbcfc+  64][<c0245e34>] process_one_work+0x200/0x620
[  610.076767@1] [bc7dbd3c+  64][<c0246e2c>] worker_thread+0x58/0x5c4
[  610.082918@1] [bc7dbd94+  88][<c024c628>] kthread+0x128/0x144
[  610.088642@1] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38
[  610.113079@4] PM: noirq resume of devices complete after 280.945 msecs
[  610.114177@4] meson-remote ff808040.rc: remote resume
[  610.119005@4] meson-remote ff808040.rc: default protocol = 0x1 and id = 0
[  610.125745@4] meson-remote ff808040.rc: reg=0x0, val=0x1f40190
[  610.131551@4] meson-remote ff808040.rc: reg=0x4, val=0x12c00c8
[  610.137358@4] meson-remote ff808040.rc: reg=0x8, val=0x960050
[  610.143078@4] meson-remote ff808040.rc: reg=0xc, val=0x480028
[  610.148798@4] meson-remote ff808040.rc: reg=0x10, val=0x70fa0013
[  610.154777@4] meson-remote ff808040.rc: reg=0x18, val=0x8616800
[  610.160671@4] meson-remote ff808040.rc: reg=0x1c, val=0x9f00
[  610.166304@4] meson-remote ff808040.rc: reg=0x20, val=0x0
[  610.171677@4] meson-remote ff808040.rc: reg=0x24, val=0x0
[  610.177051@4] meson-remote ff808040.rc: reg=0x28, val=0x0
[  610.182505@4] di_resume
[  610.184860@4] di: resume module
[  610.188399@0] PM: early resume of devices complete after 74.368 msecs
[  610.194850@0] vpu: resume clk: 666666656Hz(0x100)
[  610.199181@0] resuem inter = 0
[  610.302434@4] meson6-dwmac ff3f0000.ethernet: Failed to reset the dma
[  610.303229@4] stmmac_hw_setup: DMA engine initialization failed
[  610.312016@4] tsensor trim info: 0xfa008147!
[  610.313368@4] tsensor hireboot: 0xc0ff2b20
[  610.317452@4] tsensor trim info: 0xfa00812f!
[  610.321689@4] tsensor hireboot: 0xc0ff2b10
[  610.325787@4] aml_tdm_platform_resume tdm:(0)
[  610.330098@4] aml_tdm_platform_resume tdm:(1)
[  610.334431@4] aml_tdm_platform_resume tdm:(2)
[  610.338778@4] aml_spdif_platform_resume is unmute
[  610.343446@4] loopback_platform_resume
[  610.347182@4] meson_uart ffd24000.serial: ttyS1 use xtal(24M) 24000000 change 2000000 to 2000000
[  610.355933@4] meson_uart ffd22000.serial: ttyS3 use xtal(24M) 24000000 change 115200 to 115200
[  610.364503@4] amlogic-pcie-v2 fc000000.pcieA: amlogic_pcie_resume
[  610.378928@0] vdin_drv_resume ok.
[  610.378956@0] vdin_drv_resume ok.
[  610.379909@0] amvdac_drv_resume: resume module
[  610.384397@0] vpu_resume
[  610.386902@3] fb: osd_resumed
[  610.389819@3] bt resume
[  610.389835@5] [dhd] bcmsdh_sdmmc_resume Enter func->num=2
[  610.389838@5] [dhd] dhdsdio_resume Enter
[  610.389849@5] [dhd] bcmsdh_sdmmc_resume Exit
[  610.389863@5] [dhd] bcmsdh_sdmmc_resume Enter func->num=1
[  610.411116@3] amvecm: resume module
[  610.412721@4] meson-mmc: actual_clock :400000, HHI_nand: 0x80
[  610.412732@4] meson-mmc: [meson_mmc_set_ios_v3] after clock: 0x1000023c
[  610.427608@3] usb usb1: root hub lost power or was reset
[  610.432155@3] usb usb2: root hub lost power or was reset
[  610.437786@3] aml_T9015_audio_resume!
[  610.454097@0] USB RESET
[  610.533031@0] Unable to handle kernel NULL pointer dereference at virtual address 00000050
[  610.535665@0] pgd = c0104000
[  610.538549@0] [00000050] *pgd=00000000
[  610.542235@0] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[  610.547692@0] Modules linked in: galcore(O) dhd(O) iv009_isp(O) iv009_isp_sensor(O) iv009_isp_lens(O) iv009_isp_iq(O) amvdec_mavs(O) vpu(O) encoder(O) amvdec_avs2(O) amvdec_vp9(O) amvdec_vc1(O) amvdec_real(O) amvdec_mmpeg4(O) amvdec_mpeg4(O) amvdec_mmpeg12(O) amvdec_mpeg12(O) amvdec_mmjpeg(O) amvdec_mjpeg(O) amvdec_h265(O) amvdec_h264mvc(O) amvdec_mh264(O) amvdec_h264(O) amvdec_avs(O) stream_input(O) decoder_common(O) firmware(O) media_clock(O) tb_detect(O) mali_kbase(O)
[  610.589294@0] CPU: 0 PID: 4847 Comm: kworker/u12:21 Tainted: G        W  O    4.9.113 #1
[  610.597351@0] Hardware name: Generic DT based system
[  610.602304@0] Workqueue: nvme nvme_reset_work
[  610.606624@0] task: e7f2c200 task.stack: bc7dc000
[  610.611312@0] PC is at _set_bit+0x20/0x54
[  610.615297@0] LR is at blk_mq_map_swqueue+0xf4/0x228
[  610.620232@0] pc : [<c05de96c>]    lr : [<c05c5d50>]    psr: 60000113
[  610.620232@0] sp : bc7ddb90  ip : 00000000  fp : bc7ddbcc
[  610.632017@0] r10: c1606914  r9 : c16055ec  r8 : c1605efc
[  610.637391@0] r7 : c16055f4  r6 : ecb72404  r5 : ec550500  r4 : 00000001
[  610.644064@0] r3 : 00000002  r2 : 00000001  r1 : 00000050  r0 : 00000000
[  610.650738@0] R11 : bc7ddbcc, PFN:9786f
[  610.654551@0] R13 : bc7ddb90, PFN:9786f
[  610.657460@3] it is card_post_resume
[  610.661919@0] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  610.669198@0] Control: 10c5383d  Table: 278f406a  DAC: 00000051
[  610.675091@0] 
[  610.675091@0] PC: 0xc05de8ec:
[  610.679683@0] e8ec  e12fff1e e290c001 30dcc001 2a000011 e1a0c422 e4c02001 e5c0c000 e3a00000
[  610.688003@0] e90c  e12fff1e e290c003 30dcc001 2a000009 e5802000 e3a00000 e12fff1e e290c007
[  610.696323@0] e92c  30dcc001 2a000003 e4802004 e5803000 e3a00000 e12fff1e e3e0000d e12fff1e
[  610.704643@0] e94c  e211c003 15cc1000 e3a02001 e200301f e1a002a0 e0811100 f591f000 e1a03312
[  610.712963@0] e96c  e1912f9f e1822003 e1810f92 e3500000 1afffffa e12fff1e 00000000 00000000
[  610.721283@0] e98c  00000000 00000000 00000000 00000000 00000000 e20110ff e4d02001 e1320001
[  610.729603@0] e9ac  13320000 1afffffb e1320001 13a00000 02400001 e12fff1e 00000000 00000000
[  610.737923@0] e9cc  00000000 00000000 00000000 00000000 00000000 e3a03000 e4d02001 e1320001
[  610.746243@0] 
[  610.746243@0] LR: 0xc05c5cd0:
[  610.750836@0] 5cd0  e34c8160 e34c7160 e34ca160 e3e04000 e2842001 e3a01008 e1a00007 eb005e49
[  610.759156@0] 5cf0  e5981000 e1a04000 e280301f e200201f e1510000 9a00001b e3540000 a1a03004
[  610.767476@0] 5d10  e1a032c3 e7993103 e1a03233 e3130001 0affffee e5951074 e5952080 e5953078
[  610.775796@0] 5d30  e791c104 e79a1104 e792210c e0833001 e50b3034 e2821050 e50b2030 eb0062fe
[  610.784116@0] 5d50  e51b2030 e51b3034 e5921080 e5831044 e5921080 e592007c e281c001 e582c080
[  610.792436@0] 5d70  e7803101 eaffffd9 e51b0038 eb27f6ad e5953084 e3530000 0a00002b e309338c
[  610.800756@0] 5d90  e3a04000 e34c3118 e3a09008 e50b3030 ea00000e e5963028 e7931104 e3510000
[  610.809076@0] 5db0  0a000004 e1a02004 e1a00006 ebfffeb7 e5963028 e783800a e3a03000 e2844001
[  610.817397@0] 
[  610.817397@0] R5: 0xec550480:
[  610.821990@0] 0480  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.830310@0] 04a0  00000000 00000000 00000000 00000000 00000000 00000000 003c003c ec5504bc
[  610.838630@0] 04c0  ec5504bc 80000001 c15d29c4 c05b9030 00000000 00000000 ec5509d8 c05f796c
[  610.846950@0] 04e0  ec5089e0 ec5084e0 ed057138 ed05717c ed05717c ed3e3780 00000001 00000000
[  610.855270@0] 0500  ec550500 ec550500 00000000 00000000 00000000 00000000 00000000 00000000
[  610.863590@0] 0520  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.871910@0] 0540  00000000 00000000 00000000 00000000 00000000 c05c8170 00000000 00000000
[  610.880230@0] 0560  c06f9fe0 00000000 00000000 00000000 c165d8f8 ed3fedc0 d2bb9400 00000006
[  610.888550@0] 
[  610.888550@0] R6: 0xecb72384:
[  610.893143@0] 2384  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.901463@0] 23a4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.909783@0] 23c4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.918103@0] 23e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ed129140
[  610.926423@0] 2404  ed3fedc0 c165d8f8 00000001 000003ff 00000000 00000050 ffffffff 00001d4c
[  610.934743@0] 2424  00000001 ecb72400 ed3fee00 00000001 00000000 ecb72438 ecb72438 00000000
[  610.943063@0] 2444  00000000 ec5509ec ec5509ec ed274a80 c165d8d0 00000001 000000fe 00000000
[  610.951383@0] 2464  00000050 ffffffff 00003a98 00000000 ecb72400 ed274b40 00000001 00000000
[  610.959703@0] 
[  610.959703@0] R7: 0xc1605574:
[  610.964296@0] 5574  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.972616@0] 5594  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  610.980936@0] 55b4  00000000 00000000 00000000 00000000 00000001 00000001 003fb0d6 0000001f
[  610.989256@0] 55d4  00000009 00000012 ffffffff 00000000 00000000 00000000 0000003f 0000003f
[  610.997576@0] 55f4  0000003f 0000003f 00000100 00000000 ed827900 ed827a00 ed827b00 ed874800
[  611.005896@0] 5614  ed827d00 ed827e00 ed827f00 00000000 ed801a80 000003e8 00000001 00000001
[  611.014216@0] 5634  00000020 000b573b 00000001 00000000 0007a120 00000000 00000096 00989680
[  611.022536@0] 5654  00989680 00000000 00000000 00000000 01312d00 00000005 00000002 00000001
[  611.030857@0] 
[  611.030857@0] R8: 0xc1605e7c:
[  611.035450@0] 5e7c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.043770@0] 5e9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.052090@0] 5ebc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.060410@0] 5edc  00000000 00000000 00000000 00000000 00000000 edba0000 00000800 00000001
[  611.068730@0] 5efc  00000006 00130000 00000000 00010000 00000000 00000000 00000000 00000000
[  611.077050@0] 5f1c  00008000 0000000a 00000000 00000003 00000000 00000000 00000000 0000003f
[  611.085370@0] 5f3c  00000000 ee6b2800 00000000 0000000a 00000001 00000000 00000000 00000000
[  611.093690@0] 5f5c  00000000 0000003f 00000000 00000001 c1605f70 c0212ba4 00000000 00000060
[  611.102010@0] 
[  611.102010@0] R9: 0xc160556c:
[  611.106603@0] 556c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.114923@0] 558c [  611.116694@3] sensors 4-000e: sensor_delaywork_func: Get data failed
[  611.123157@0]  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.131043@0] 55ac  00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000001
[  611.139363@0] 55cc  003fb0d6 0000001f 00000009 00000012 ffffffff 00000000 00000000 00000000
[  611.147683@0] 55ec  0000003f 0000003f 0000003f 0000003f 00000100 00000000 ed827900 ed827a00
[  611.156003@0] 560c  ed827b00 ed874800 ed827d00 ed827e00 ed827f00 00000000 ed801a80 000003e8
[  611.164323@0] 562c  00000001 00000001 00000020 000b573b 00000001 00000000 0007a120 00000000
[  611.172643@0] 564c  00000096 00989680 00989680 00000000 00000000 00000000 01312d00 00000005
[  611.180964@0] 
[  611.180964@0] R10: 0xc1606894:
[  611.185643@0] 6894  07ffff3f 00000000 00031800 00000001 00000001 00000001 00000001 00000001
[  611.193963@0] 68b4  00000000 00000032 00000001 00002000 0001d22f 0000fffa 000000fa 00000000
[  611.202283@0] 68d4  00000001 0000f000 0000000f ee20b3c0 0000003c 00001000 00000001 effff000
[  611.210603@0] 68f4  effffc40 ee1b1000 ee20b440 ee20b480 0000000f 00000006 00000005 00000000
[  611.218923@0] 6914  2cbed000 2cbfc000 2cc0b000 2cc1a000 2cc29000 2cc38000 00000000 00000000
[  611.227243@0] 6934  00000001 00000000 000bd800 00000002 0002fff7 00010000 000ed7ff 00000000
[  611.235563@0] 6954  00000010 00000001 ed801e00 edb4cc10 00000000 00000000 ed801980 ee12d000
[  611.243883@0] 6974  00000011 ed801280 0001ffff ed801b80 00000064 00000010 ee0ed000 0000ffff
[  611.252204@0] Process kworker/u12:21 (pid: 4847, stack limit = 0xbc7dc000)
[  611.259051@0] Stack: (0xbc7ddb90 to 0xbc7de000)
[  611.263559@0] db80:                                     bc7ddbb4 ec550970 ff7b5400 00000000
[  611.271880@0] dba0: 00000000 ec550500 c16055ec ecb72404 c16055ec c05c8778 c05c8170 bc7ddc50
[  611.280200@0] dbc0: bc7ddbe4 bc7ddbd0 c05c5ec0 c05c5c68 ec550500 ecb72448 bc7ddc14 bc7ddbe8
[  611.288520@0] dbe0: c05c7c40 c05c5e90 ecb72404 ecb724c4 ec63b680 00000001 00000000 00000000
[  611.296840@0] dc00: ecb72400 bc7ddc50 bc7ddcbc bc7ddc18 c06fb894 c05c7b6c bc7ddc50 00000000
[  611.305160@0] dc20: bc7ddc4c bc7ddc30 c165d83c 00000000 ecb72548 60000013 00000008 00000020
[  611.313480@0] dc40: 00000001 ecb72400 c16065b8 00000001 00000001 00000000 00000000 00000000
[  611.321800@0] dc60: 00000000 00000000 bcc70000 00000000 00000000 00000000 03ff0001 00010005
[  611.330120@0] dc80: 00000000 00000000 00000000 00000000 ecb724c4 ecb724c4 e7871e80 ed82a800
[  611.338440@0] dca0: ed2fe000 00000000 00000000 ed82a800 bc7ddcfc bc7ddcc0 c0245e34 c06fabd4
[  611.346760@0] dcc0: c0257df0 c0310c28 ed82a800 ed82a800 ed82a800 e7871e80 ed82a800 e7871e98
[  611.355080@0] dce0: 00000088 c1603d00 ed82a818 ed82a800 bc7ddd3c bc7ddd00 c0246e2c c0245c40
[  611.363400@0] dd00: c0257f50 c1619988 bc7ddde8 bc7dc000 ea2af580 00000000 bc7dd000 ea2af580
[  611.371720@0] dd20: e7871e80 c0246dd4 00000000 00000000 bc7ddd94 bc7ddd40 c024c628 c0246de0
[  611.380040@0] dd40: 00000000 00000000 bc7ddd74 e7871e80 00000000 00000000 bc7ddd58 bc7ddd58
[  611.388360@0] dd60: 00000000 00000000 bc7ddd68 bc7ddd68 c025cfb0 ea2af580 c024c500 00000000
[  611.396680@0] dd80: 00000000 00000000 00000000 bc7ddd98 c020885c c024c50c 00000000 00000000
[  611.404999@0] dda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.413319@0] ddc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000013 00000000
[  611.421639@0] dde0: 00000000 00000000 00000000 00000000 00000000 e7f2c200 00000000 00000000
[  611.429960@0] de00: ee1b80c0 ebe09080 00000000 e94b01c0 e7f2c200 00000000 ffffe000 bc7dd85c
[  611.438279@0] de20: bc7dd7f0 c0fc10e0 00000000 00000000 00000000 00000000 00000000 00000000
[  611.446599@0] de40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.454919@0] de60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.463239@0] de80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.471559@0] dea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.479879@0] dec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.488199@0] dee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.496519@0] df00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.504839@0] df20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.513159@0] df40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.521479@0] df60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.529799@0] df80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.538119@0] dfa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.546439@0] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  611.554759@0] dfe0: 00000000 00000000 00000000 00000000 00000008 00000000 00000000 00000000
[  611.563086@0] [bc7ddbcc+  64][<c05c5d50>] blk_mq_map_swqueue+0xf4/0x228
[  611.569671@0] [bc7ddbe4+  24][<c05c5ec0>] blk_mq_queue_reinit+0x3c/0x78
[  611.576256@0] [bc7ddc14+  48][<c05c7c40>] blk_mq_update_nr_hw_queues+0xe0/0x130
[  611.583538@0] [bc7ddcbc+ 168][<c06fb894>] nvme_reset_work+0xccc/0x1118
[  611.590039@0] [bc7ddcfc+  64][<c0245e34>] process_one_work+0x200/0x620
[  611.596537@0] [bc7ddd3c+  64][<c0246e2c>] worker_thread+0x58/0x5c4
[  611.602688@0] [bc7ddd94+  88][<c024c628>] kthread+0x128/0x144
[  611.608411@0] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38
[  611.614474@0] Code: e1a002a0 e0811100 f591f000 e1a03312 (e1912f9f) 
[  611.621150@3] ---[ end trace 8cb2f656cc5cacf4 ]---
[  611.624683@0] USB RESET
[  611.633046@3] Kernel panic - not syncing: Fatal exception
[  611.633432@0] CPU0: stopping
[  611.636142@0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D W  O    4.9.113 #1
[  611.643503@0] Hardware name: Generic DT based system
[  611.648459@0] [c18a1d64+  16][<c020e39c>] show_stack+0x20/0x24
[  611.654259@0] [c18a1d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  611.660064@0] [c18a1db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  611.666042@0] [c18a1ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  611.672196@0] [c1601d3c+   0][<c020f108>] __irq_svc+0x88/0xcc
[  611.677917@0] [c1601d3c+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  611.683986@0] [c1601d4c+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  611.690397@0] [c1601d7c+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  611.696983@0] [c1601d94+  24][<c0fbdfd8>] rest_init+0x98/0x9c
[  611.702700@1] CPU1: stopping
[  611.705558@1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W  O    4.9.113 #1
[  611.712923@1] Hardware name: Generic DT based system
[  611.717870@1] [ed8f3d64+  16][<c020e39c>] show_stack+0x20/0x24
[  611.723676@1] [ed8f3d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  611.729481@1] [ed8f3db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  611.735461@1] [ed8f3ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  611.741615@1] [bc019d84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  611.747336@1] [bc019d84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  611.753403@1] [bc019d94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  611.759815@1] [bc019dc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  611.766402@1] [bc019ddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  611.773420@5] CPU5: stopping
[  611.776279@5] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G      D W  O    4.9.113 #1
[  611.783642@5] Hardware name: Generic DT based system
[  611.788591@5] [ed9d3d64+  16][<c020e39c>] show_stack+0x20/0x24
[  611.794394@5] [ed9d3d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  611.800200@5] [ed9d3db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  611.806179@5] [ed9d3ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  611.812332@5] [bc021d84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  611.818054@5] [bc021d84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  611.824121@5] [bc021d94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  611.830533@5] [bc021dc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  611.837119@5] [bc021ddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  611.844138@4] CPU4: stopping
[  611.846997@4] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G      D W  O    4.9.113 #1
[  611.854362@4] Hardware name: Generic DT based system
[  611.859307@4] [ed9c3d64+  16][<c020e39c>] show_stack+0x20/0x24
[  611.865114@4] [ed9c3d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  611.870919@4] [ed9c3db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  611.876899@4] [ed9c3ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  611.883052@4] [bc01fd84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  611.888773@4] [bc01fd84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  611.894840@4] [bc01fd94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  611.901252@4] [bc01fdc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  611.907839@4] [bc01fddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  611.914857@2] CPU2: stopping
[  611.917717@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D W  O    4.9.113 #1
[  611.925082@2] Hardware name: Generic DT based system
[  611.930027@2] [ed983d64+  16][<c020e39c>] show_stack+0x20/0x24
[  611.935833@2] [ed983d8c+  40][<c05df694>] dump_stack+0xb8/0xf4
[  611.941639@2] [ed983db4+  40][<c021233c>] handle_IPI+0x390/0x3c8
[  611.947618@2] [ed983ddc+  40][<c0201634>] gic_handle_irq+0x80/0x84
[  611.953772@2] [bc01bd84+   0][<c020f108>] __irq_svc+0x88/0xcc
[  611.959493@2] [bc01bd84+  16][<c0209620>] arch_cpu_idle+0x3c/0x54
[  611.965560@2] [bc01bd94+  16][<c0fc6040>] default_idle_call+0x38/0x54
[  611.971972@2] [bc01bdc4+  48][<c0282d54>] cpu_startup_entry+0x1d0/0x274
[  611.978559@2] [bc01bddc+  24][<c0211d38>] secondary_start_kernel+0x174/0x180
[  611.990587@3] Rebooting in 5 seconds..
[  616.990564@3] reboot reason 12
bl31 reboot reason: 0xd
bl31 reboot reason: 0xc
system cmd  1.

ERROR:   gxbb System RG12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

@ElDrako yes,i am debugging the bug,and try to fix it

Good news, looking forward to it.

@jasonl,
Please tell me how is the progress of fixing the bug? Can I hope to fix it?

@ElDrako you can modify as above then confirm it

@jasonl, it didn’t work.
The second time VIM3 does not wake up.

Console out:

It was normal when I tested,i will check again later

Last time I changed only the bootloader, since the edits were only in its code. Today I decided to check the whole new firmware again - it got even worse. Now the error occurs immediately when you press the power button.