summaryrefslogtreecommitdiffstats
path: root/mboxd.h
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-11-01 14:02:17 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-11-07 17:12:29 +1030
commitfe0c9e86ddc55f4fc43b0109b439453d2475c79b (patch)
tree5ceac0d06e55be14684406c01a4f665ff6f87c55 /mboxd.h
parentf62601b848526758032aacf51341a5009547dfd3 (diff)
downloadphosphor-mboxbridge-fe0c9e86ddc55f4fc43b0109b439453d2475c79b.tar.gz
phosphor-mboxbridge-fe0c9e86ddc55f4fc43b0109b439453d2475c79b.zip
mboxd: Broadcast the daemon is ready on all transports
The code as it stood only sent the state update at startup on the active transport, which is somewhat arbitrarily chosen as an implementation detail of the mbox initialisation function. If the host firmware is using IPMI, it will not learn of the update unless it attempts to contact mboxd, which it won't do if it knows the daemon isn't there, which it may have learned of by receiving a state update from the daemon's shutdown path. In this circumstance the host firmware is now stuck. Relieve the host firmware of this problem by always sending the daemon state on all supported transports. To avoid some insanity we introduce a new callback in struct transport_ops that allows use to send the BMC's entire event state rather than just set or clear updates. Change-Id: I094ff4089eeebd8be99fbd343b94f7bbef023fb1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'mboxd.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud