]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/powernv: Fix issues in opal_async
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 6 Apr 2019 02:31:01 +0000 (02:31 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sat, 6 Apr 2019 02:31:01 +0000 (02:31 +0000)
commit947079ebeebe0e280ac3f467af96c560ff43da89
treefd61cbb12847a9aeab4ce0f163e10e92b33ae7bf
parent734b726d8090e36e19fc578e600edefc93c52ebb
powerpc/powernv: Fix issues in opal_async

* Properly return the full opal_msg from an async completion.
* Don't keep bugging OPAL, wait 100us or so.  With some minor changes to
  DELAY() to drop to very low priority, the thread won't hog the CPU while
  polling for the async completion.
sys/powerpc/powernv/opal.h
sys/powerpc/powernv/opal_async.c