System can't shutdown with WOL enable

Hi There,

We have a shutdown failed issue on our custom carrier board with AGX Orin 32G & 64G SOM and L4T R35.3.1.

There are two Broadcom BCM5720 ethernet PHY on our carrier board using the tg3 driver.

The problem is after the system resumes from suspend, we can’t shutdown the system when BCM5720 WOL(Wake On LAN) is enabled.

Otherwise, the system is shutdown normally when WOL is disabled.

The commands we used are: (Or by UI)

# systemctl suspend

Wakeup the system by USB keyboard and then shutdown the system.

# shutdown -h now

The console log shows:

------------------------- snipped -------------------------
INFO: enter idle task.
ÿád TOS (0x4005974c)
ÿè
ÿáI> TasÿâSTATUS_R[31:0]  = 0x100
STATUS_R[63:32] = 0x0
STATUS_R[95:64] = 0x140000
ÿák: Load and authenticate registered FWs (0x4005b428)
I> Task: Disable MSS perf stats (0x40060718)
I> Task: Program display sticky bits (0x40060694)
I> Task: SMMU external bypass disable (0x40058804)
I> Task: SMMU init (0x400585e4)
I> Task: Program GICv3 registers (0x400607b8)
I> Task: Audit firewall settings (0x4005fc58)
I> MB2 finished

ÿäNOTICE:  tegra_soc_pwr_domain_on_finish: exited SC7 successfully. Entering normal world.
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world bootI/TC: Secondary CPU 5 initiaÿå[    71.394187] Camera-FW on t234-rce-safe ready SHA1=97eÿälizÿå50cbf (crt 2.957 ms, total boot 230.676 ms)
ÿäing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 inÿèDCE: FW Bÿäiÿèoot Done
ÿätializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
I/TC: Secondary CPU 8 initializing
I/TC: Secondary CPU 8 switching to normal world boot
I/TC: Secondary CPU 9 initializing
I/TC: Secondary CPU 9 switching to normal world boot
I/TC: Secondary CPU 10 initializing
I/TC: Secondary CPU 10 switching to normal world boot
I/TC: Secondary CPU 11 initializing
I/TC: Secondary CPU 11 switching to normal world boot
ÿá[   37.339739] CPU:0, Error: dce-fabric@0xde00000, irq=25
[   37.339742] **************************************
[   37.339745] CPU:0, Error:dce-fabric, Errmon:4
[   37.339753]    Error Code            : SLAVE_ERR
[   37.339762]
[   37.339764]    Error Code            : SLAVE_ERR
[   37.339766]    MASTER_ID             : DCE
[   37.339768]    Address               : 0xdc9ed80[   37.339771]    Cache                 : 0x3 -- Bufferable Modifiable
[   37.339774]    Protection            : 0x2 -- Unprivileged, Non-Secure, Data Access
[   37.339776]    Access_Type           : Read
[   37.339778]    Access_ID             : 0x0
[   37.339780]    Fabric                : dce-fabric
[   37.339782]    Slave_Id              : 0x5
[   37.339784]    Burst_length          : 0x7
[   37.339785]    Burst_type            : 0x1
[   37.339787]    Beat_size             : 0x3
[   37.339789]    VQC                   : 0x0
[   37.339791]    GRPSEC                : 0x3f
[   37.339793]    FALCONSEC             : 0x0
[   37.339796]  **************************************
[   37.437228] CPU1: shutdown
[   37.439937] CPU2: shutdown
[   37.442304] CPU3: shutdown
[   37.444374] CPU4: shutdown
[   37.446367] CPU5: shutdown
[   37.449428] CPU6: shutdown
[   37.452682] IRQ 126: no longer affine to CPU7
[   37.453011] CPU7: shutdown[   37.455735] CPU8: shutdown
[   37.458439] CPU9: shutdown
[   37.461332] CPU10: shutdown
[   37.464535] IRQ 127: no longer affine to CPU11
[   37.464898] CPU11: shutdown
[   38.400931] PM: dpm_run_callback(): platform_pm_resume+0x0/0x80 returns -110
[   38.400934] PM: Device 3ae0000.nvrng failed to resume: error -110
[   40.795421] nvethernet 6810000.ethernet lan4: ether_get_wol: phydev is null check iface up status
[   56.811709] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 7, size 0
[   57.645202] [dhd] STATIC-MSG) dhd_static_buf_exit : Enter
[   58.293344] Trying to unregister non-registered hwtime source
[   58.538696] arm-smmu 8000000.iommu: disabling translation
[   58.545253] arm-smmu 10000000.iommu: disabling translation
[   58.551684] arm-smmu 12000000.iommu: disabling translation
[   58.589179] CPU1: shutdown
[   58.620927] CPU2: shutdown
[   58.644818] CPU3: shutdown
[   58.680435] CPU4: shutdown
[   58.720342] CPU5: shutdown
[   58.756356] CPU6: shutdown
[   58.781457] IRQ 126: no longer affine to CPU7
[   58.786404] CPU7: shutdown
[   58.828348] CPU8: shutdown
ÿäUnhandled  x ept*on *n EL3.
x*0 * * *  *** **0* * R OR:   RxS Uncorrectable Error in IOB, base=0xe010000:
ERROR:          Status = 0xe4000612
ERROR:   SERR = Error response from slave: 0x12
ERROR:          IERR = CBB Interface Error: 0x6
ERROR:          MISC0 = 0xc45a0040
ERROR:          MISC1 = 0xdcc8E0ROR:   0nexpRcOe:  ffMniCy in0o s
ate.
Unh     ndlC3 E cept
onRfr:o         ELDR = 0x8000000030080082
ERROR:   **************************************
ERROR:   sdei_dispatch_event returned -1
ASSERT: bl31/ehf.c:245:pe_data->ns_pri_mask == 0u

Hi,

Please test on latest BSP version. 35.3.1 seems a little old from now.

Hi Michtw,

We are having problem bringing up BCM5720 Ether PHY. Could you please share your config, device tree changes that worked on your board? Any help is appriciated

Please open a new topic for your issue. Thanks

1 Like