[PATCH V2 2/2] mailbox: imx: support RST channel

Liu Ying victor.liu at nxp.com
Wed Aug 24 02:36:01 PDT 2022


Hi,

On Wed, 2022-06-15 at 21:00 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> i.MX generic MU supports MU-A/B reset feature.
> 
> When stop/start remotecore, MU is not reset. So when Linux stop
> remotecore, the MU-B side BCR may contain valid configuration,
> because MU-B is not reset. So when linux start Mcore
> again and notify Mcore, Mcore is not ready to handle MU interrupt
> and cause issues. So need reset MU when stop Mcore.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

It looks like this patch causes i.MX8qxp MEK boot failure with v6.0-
rc1. After reverting commit 82ab513baed5895c8b0e991557a12fd38d5f25f0,
it boots ok.

There are a lot imx_mu and imx-scu error logs:

----------------------------8<------------------------------------
[    1.166567] imx-scu system-controller: RPC send msg timeout
[    1.171843] imx_scu_soc_id: get soc info failed, ret -110
[    1.177221] imx-scu system-controller: failed to initialize SoC
info: -22
[    1.184019] imx-scu system-controller: NXP i.MX SCU Initialized
[    1.230605] imx-scu system-controller: RPC send msg timeout
[    1.270559] imx-scu system-controller: RPC send msg timeout
[    1.310561] imx-scu system-controller: RPC send msg timeout
[    1.350560] imx-scu system-controller: RPC send msg timeout
[    1.390560] imx-scu system-controller: RPC send msg timeout
[    1.430561] imx-scu system-controller: RPC send msg timeout
[    1.470559] imx-scu system-controller: RPC send msg timeout
[    1.510559] imx-scu system-controller: RPC send msg timeout
[    1.550559] imx-scu system-controller: RPC send msg timeout
[    1.590559] imx-scu system-controller: RPC send msg timeout
[    1.630561] imx-scu system-controller: RPC send msg timeout
[    1.670558] imx-scu system-controller: RPC send msg timeout
[    1.710559] imx-scu system-controller: RPC send msg timeout
[    1.750558] imx-scu system-controller: RPC send msg timeout
[    1.790559] imx-scu system-controller: RPC send msg timeout
[    1.830562] imx-scu system-controller: RPC send msg timeout
[    1.870559] imx-scu system-controller: RPC send msg timeout
[    1.910559] imx-scu system-controller: RPC send msg timeout
[    1.950561] imx-scu system-controller: RPC send msg timeout
[    1.990592] imx-scu system-controller: RPC send msg timeout
[    1.995838] imx_mu 5d1c0000.mailbox: Try increasing
MBOX_TX_QUEUE_LEN
[    2.002262] imx-scu system-controller: RPC send msg failed: -105
[    2.008260] imx_mu 5d1c0000.mailbox: Try increasing
MBOX_TX_QUEUE_LEN
[    2.014682] imx-scu system-controller: RPC send msg failed: -105
[    2.020681] imx_mu 5d1c0000.mailbox: Try increasing
MBOX_TX_QUEUE_LEN
[    2.027103] imx-scu system-controller: RPC send msg failed: -105
[    2.033105] imx_mu 5d1c0000.mailbox: Try increasing
MBOX_TX_QUEUE_LEN
[    2.039526] imx-scu system-controller: RPC send msg failed: -105
[    2.045526] imx_mu 5d1c0000.mailbox: Try increasing
MBOX_TX_QUEUE_LEN
[    2.051949] imx-scu system-controller: RPC send msg failed: -105
----------------------------8<------------------------------------

Regards,
Liu Ying




More information about the linux-arm-kernel mailing list