HomeFreeBSD

ipmi: correctly handle ipmb requests

Description

ipmi: correctly handle ipmb requests

Handle IPMB requests using SEND_MSG (sent as driver request as we do not
need to return anything back to userland for this) and GET_MSG (sent as
usual request so we can return the data for RECEIVE_MSG ioctl) pair.

This fixes fetching complete sensor data from boards (e.g. HP ProLiant
DL380 Gen10).

Reviewed by: philip
Differential Revision: https://reviews.freebsd.org/D35605

(cherry picked from commit 18db96dbfd4a09063a0abcefd51fa8d2aeb115d6)
(cherry picked from commit c4995b69db93fdab5fe375eae129aeff1cbca1bb)

Details

Provenance
yuri_aetern.orgAuthored on Jul 4 2022, 4:55 AM
philipCommitted on Jul 11 2022, 3:10 AM
Reviewer
philip
Differential Revision
D35605: ipmi: handle ipmb requests
Parents
rG689d65d736bb: tree.3: document RB_AUGMENT
Branches
Unknown
Tags
Unknown