Page MenuHomeFreeBSD

ipmi: fix runtime on powerpc64le
ClosedPublic

Authored by pkubaj on Mar 27 2025, 11:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 30, 6:57 AM
Unknown Object (File)
Sun, Apr 27, 7:34 AM
Unknown Object (File)
Mon, Apr 21, 12:20 PM
Unknown Object (File)
Fri, Apr 18, 5:43 PM
Unknown Object (File)
Wed, Apr 16, 4:27 AM
Unknown Object (File)
Wed, Apr 9, 1:54 PM
Unknown Object (File)
Wed, Apr 9, 1:54 PM
Unknown Object (File)
Wed, Apr 9, 1:54 PM
Subscribers

Details

Summary

OPAL runs in big-endian mode, so we need to byteswap msg_len on little-endian.

MFC after: 1 week

Test Plan

ipmitool lan print

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhibbits added a subscriber: jhibbits.

Slightly cleaner would be to use a local variable for msg_len, and write it out at the end, but this is fine.

This revision is now accepted and ready to land.Mar 27 2025, 1:10 PM
This revision was automatically updated to reflect the committed changes.