]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipmi: Fixes for ipmi_opal(powernv)
authorjhibbits <jhibbits@FreeBSD.org>
Tue, 2 Apr 2019 04:12:06 +0000 (04:12 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Tue, 2 Apr 2019 04:12:06 +0000 (04:12 +0000)
commit3fd37b6c9ae16092622df853ec9f5899b34cd39c
treeb33d796007c8f09f62f52d9157b09ae6fc756873
parent4fcf68bc124c9b3083db4c5e9aa362cf72b061ef
ipmi: Fixes for ipmi_opal(powernv)

* Crank the OPAL state machine during the receive loop, to make sure the
  pollers are executed
* Add a proper detach function, so the module can be unloaded and reloaded
  at runtime.

It still doesn't reliably work 100% of the time on POWER9, and it appears
timing and/or cache related.  It may work on POWER8 now.

MFC after: 2 weeks
sys/dev/ipmi/ipmi_opal.c