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)
Fri, Mar 29, 9:58 PM
Unknown Object (File)
Mar 7 2024, 9:17 PM
Unknown Object (File)
Mar 7 2024, 8:20 PM
Unknown Object (File)
Nov 24 2023, 4:03 PM
Unknown Object (File)
Nov 12 2023, 5:27 AM
Unknown Object (File)
Nov 6 2023, 1:44 PM
Unknown Object (File)
Nov 5 2023, 10:43 PM
Unknown Object (File)
Oct 23 2023, 2:58 PM
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