Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2025 10:21:57 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1e84a6ba21fd - stable/14 - ipmi: fix runtime on powerpc64le
Message-ID:  <202504031021.533ALvur009881@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e84a6ba21fddc77c33ad059e476a302f40cd544

commit 1e84a6ba21fddc77c33ad059e476a302f40cd544
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-03-27 11:55:48 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-04-03 10:21:38 +0000

    ipmi: fix runtime on powerpc64le
    
    Differential Revision: https://reviews.freebsd.org/D49530
    
    (cherry picked from commit 2e16618fe789f110bd8d297b1c65b166fa60c2fe)
---
 sys/dev/ipmi/ipmi_opal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/ipmi/ipmi_opal.c b/sys/dev/ipmi/ipmi_opal.c
index c69757b7d020..6f8ab50c1bd2 100644
--- a/sys/dev/ipmi/ipmi_opal.c
+++ b/sys/dev/ipmi/ipmi_opal.c
@@ -94,6 +94,7 @@ opal_ipmi_recv(struct opal_ipmi_softc *sc, uint64_t *msg_len, int timo)
 		opal_call(OPAL_POLL_EVENTS, NULL);
 		err = opal_call(OPAL_IPMI_RECV, sc->sc_interface,
 		    vtophys(sc->sc_msg), vtophys(msg_len));
+		*msg_len = be64toh(*msg_len);
 		if (err != OPAL_EMPTY)
 			break;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504031021.533ALvur009881>