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)
Sat, Oct 4, 11:29 PM
Unknown Object (File)
Sep 4 2025, 7:17 PM
Unknown Object (File)
Sep 4 2025, 7:17 PM
Unknown Object (File)
Aug 25 2025, 10:43 PM
Unknown Object (File)
Aug 25 2025, 2:57 PM
Unknown Object (File)
Aug 22 2025, 12:37 PM
Unknown Object (File)
Aug 20 2025, 9:29 PM
Unknown Object (File)
Jul 31 2025, 7:35 AM
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.