s390/ctcm: Use info level for handshake UC_RCRESET
Subsystems (4)
Aswin Karuvally
maintainerPATCH 1/1 s390/ctcm: Use info level for handshake UC_RCRESET
CTC adapter throws CTC_EVENT_UC_RCRESET (Unit check remote reset event) during initial handshake, if the peer is not ready yet. This causes the ctcm driver to re-attempt the handshake.
As it is normal for the event to occur during initialization, use info instead of warn level in kernel log and NOTICE instead of ERROR level in s390 debug feature. Also reword the log message for clarity.
--- drivers/s390/net/ctcm_fsms.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/s390/net/ctcm_fsms.c +14 -0
@@ -882,6 +882,13 @@ static void ctcm_chx_rxiniterr(fsm_instance *fi, int event, void *arg)fsm_newstate (fi,CTC_STATE_RXERR );fsm_event (priv->fsm,DEV_EVENT_RXDOWN , dev); } + }else if (event ==CTC_EVENT_UC_RCRESET ) { +CTCM_DBF_TEXT_ (TRACE ,CTC_DBF_NOTICE , +"%s(%s): %s in %s" ,CTCM_FUNTAIL , ch->id, + ctc_ch_event_names[event],fsm_getstate_str (fi)); + +dev_info (&dev->dev, +"Init handshake not received, peer not ready yet\n" ); }else { CTCM_DBF_TEXT_(ERROR, CTC_DBF_ERROR, "%s(%s): %s in %s", CTCM_FUNTAIL, ch->id,
@@ -967,6 +974,13 @@ static void ctcm_chx_txiniterr(fsm_instance *fi, int event, void *arg)fsm_newstate (fi,CTC_STATE_TXERR );fsm_event (priv->fsm,DEV_EVENT_TXDOWN , dev); } + }else if (event ==CTC_EVENT_UC_RCRESET ) { +CTCM_DBF_TEXT_ (TRACE ,CTC_DBF_NOTICE , +"%s(%s): %s in %s" ,CTCM_FUNTAIL , ch->id, + ctc_ch_event_names[event],fsm_getstate_str (fi)); + +dev_info (&dev->dev, +"Init handshake not sent, peer not ready yet\n" ); }else { CTCM_DBF_TEXT_(ERROR, CTC_DBF_ERROR, "%s(%s): %s in %s", CTCM_FUNTAIL, ch->id,
Signature · 1 line
2.48.1
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 9 lines · On Mon, 3 Nov 2025 11:16:52 +0100 you wrote:
CTC adapter throws
CTC_EVENT_UC_RCRESET(Unit check remote reset event) during initial handshake, if the peer is not ready yet. This causes the ctcm driver to re-attempt the handshake.As it is normal for the event to occur during initialization, use info instead of warn level in kernel log and NOTICE instead of ERROR level in s390 debug feature. Also reword the log message for clarity.
[...]
Here is the summary with links:
- [net-next] s390/ctcm: Use info level for handshake UC_RCRESET
https://git.kernel.org/netdev/net-next/c/0cc4b8461591
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html