]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powernv: Port OPAL asynchronous framework to use the new message framework
authorjhibbits <jhibbits@FreeBSD.org>
Tue, 2 Apr 2019 04:02:57 +0000 (04:02 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Tue, 2 Apr 2019 04:02:57 +0000 (04:02 +0000)
commit4fcf68bc124c9b3083db4c5e9aa362cf72b061ef
tree30f796228788c8139555f548ed3ae50ba2926b32
parentedd7da69005d7856b94f0ae30a7612f02505ac76
powernv: Port OPAL asynchronous framework to use the new message framework

Since OPAL_GET_MSG does not discriminate between message types, asynchronous
completion events may be received in the OPAL_GET_MSG call, which dequeues
them from the list, thus preventing OPAL_CHECK_ASYNC_COMPLETION from
succeeding.  Handle this case by integrating with the messaging framework.
sys/powerpc/powernv/opal_async.c