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)
Thu, May 14, 11:26 AM
Unknown Object (File)
Thu, May 14, 11:26 AM
Unknown Object (File)
Wed, May 13, 10:50 AM
Unknown Object (File)
Fri, Apr 24, 1:10 AM
Unknown Object (File)
Tue, Apr 21, 2:19 AM
Unknown Object (File)
Sun, Apr 19, 9:21 PM
Unknown Object (File)
Apr 15 2026, 12:36 AM
Unknown Object (File)
Apr 5 2026, 1:45 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.