Page MenuHomeFreeBSD

Use direct hardware access for internal requests for KCS and SMIC.
ClosedPublic

Authored by jhb on Jan 29 2015, 5:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 6 2024, 2:06 AM
Unknown Object (File)
Nov 1 2024, 4:03 PM
Unknown Object (File)
Oct 7 2024, 3:27 AM
Unknown Object (File)
Sep 18 2024, 8:25 PM
Unknown Object (File)
Sep 8 2024, 7:19 AM
Unknown Object (File)
Sep 7 2024, 10:44 PM
Unknown Object (File)
Sep 7 2024, 11:47 AM
Unknown Object (File)
Aug 28 2024, 8:56 AM
Subscribers

Details

Reviewers
scottl
jhb
Summary
  • 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().
Test Plan

Have not yet run this anywhere. We should probably not enable the
watchdog when using SSIF.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

jhb retitled this revision from to Use direct hardware access for internal requests for KCS and SMIC..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: scottl.
  • Zero a driver request structure when it is reused.
  • Merge branch 'master' into ipmi_kernel_direct
jhb added a reviewer: jhb.
This revision is now accepted and ready to land.Feb 6 2015, 5:17 PM