]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r278321
authorscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 16 Feb 2015 22:33:44 +0000 (22:33 +0000)
committerscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 16 Feb 2015 22:33:44 +0000 (22:33 +0000)
commitfe721aac89d025d95d0f795e04f772270f69c69f
tree270a75d924d5aa725ef290fc14eccd9125036373
parentea2cec64ebd5540554485171e338d9476d422471
MFC r278321

Use direct hardware access for internal requests for KCS and SMIC.  In
particular, updates to the watchdog should no longer sleep.
- Add a new IPMI_IO_LOCK for low-level I/O access.  Use this for
  kcs_polled_request() and smic_polled_request().
- Add a new backend callback "ipmi_driver_request" to handle a driver
  request.  The new callback performs the request sychronously for KCS
  and SMIC.  SSIF still defers the work to the worker thread since the
  worker thread sleeps during request processing anyway.
- Allocate driver requests on the stack rather than using malloc().

Submitted by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/10@278872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ipmi/ipmi.c
sys/dev/ipmi/ipmi_kcs.c
sys/dev/ipmi/ipmi_smic.c
sys/dev/ipmi/ipmi_ssif.c
sys/dev/ipmi/ipmivars.h