Skip to content

Commit dba52ba

Browse files
yliu80wenlingz
authored andcommitted
IOC mediator: fix no CBC signals after resuming
This patch fixes an issue that CBC signal channel is inactive after SOS resuming, it leads to IOC mediator cannot transfer any signals between UOS and SOS. So IOC mediator sends the open channel command to activate CBC signal channel after resuming. Tracked-On: #1115 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
1 parent 43741ba commit dba52ba

File tree

1 file changed

+10
-0
lines changed
  • devicemodel/hw/platform

1 file changed

+10
-0
lines changed

devicemodel/hw/platform/ioc.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,16 @@ process_resume_event(struct ioc_dev *ioc)
10781078
break;
10791079
}
10801080
}
1081+
1082+
/*
1083+
* The signal channel is inactive after SOS resumed, need to send
1084+
* open channel command again to activate the signal channel.
1085+
* And it would not impact to UOS itself enter/exit S3.
1086+
*/
1087+
if (ioc_ch_xmit(IOC_NATIVE_SIGNAL, cbc_open_channel_command,
1088+
sizeof(cbc_open_channel_command)) <= 0)
1089+
DPRINTF("%s", "ioc reopen signal channel failed\r\n");
1090+
10811091
return 0;
10821092
}
10831093

0 commit comments

Comments
 (0)