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)
Mon, Jun 1, 2:49 AM
Unknown Object (File)
Sat, May 23, 12:33 AM
Unknown Object (File)
Fri, May 22, 3:24 PM
Unknown Object (File)
Thu, May 21, 8:50 AM
Unknown Object (File)
Tue, May 19, 7:36 AM
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
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.