[Ubuntu 15.04] librtas package update

Bug #1414816 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
librtas (Ubuntu)
Fix Released
Undecided
Adam Conrad

Bug Description

Current upstream version:

http://sourceforge.net/projects/librtas/files/librtas-1.3.13.tar.gz/download

-Vasant

Changelog for librtas-1.3.13
=======================================
commit 1d54a4a346f9111e1326dfdec756fd78360add42
Author: Nathan Fontenot <email address hidden>
Date: Fri Oct 17 10:18:40 2014 -0400

When we pass _hi and _lo 32bits of a 64bit value, we
should convert the host endian value carefully.

i.e,
X_hi = htobe32(BITS32_HI(X))
X_lo = htobe32(BITS32_LO(X))

and not :
X_hi = BITS32_HI(htobe64(X))

NOTE: This patch is untested, but I believe this patch
is good to have than the current faulty conversion.

This patch fixes all such occurrences in librtas.

Signed-off-by: Suzuki K. Poulose <email address hidden>

commit e5541e1a5c83ce47cc492abcd7343d65763dcefe
Author: Nathan Fontenot <email address hidden>
Date: Fri Oct 17 10:17:28 2014 -0400

Use rpm macros for standard paths

Signed-off-by: Suzuki K. Poulose <email address hidden>

commit 8ef7f827e28e3cd284f6be5686a987786be7502d
Author: Nathan Fontenot <email address hidden>
Date: Fri Oct 17 10:16:16 2014 -0400

This patch fixes the conversion of args for paltform-dump call.
platform dump passes 64bit values as, a pair of 32bit values.
val_hi and val_lo. So when we convert a value 'X' to 32bit hi and lo
values in BE, we should follow the below approach :

X_hi = htobe32(BITS32_HI(X))
X_lo = htobe32(BITS32_LO(X))

and NOT
X_tmp = htobe64(X);
X_hi = BITS32_HI(X_tmp), X_lo = BITS32_LO(X_tmp)

This patch has been tested with rtas_errd/extract_platdump to retrieve a
dump from FSP.

Signed-off-by: Suzuki K. Poulose <email address hidden>

commit 52263814c46210b51e564748050299620726dfd1
Author: Nathan Fontenot <email address hidden>
Date: Fri Oct 17 10:12:54 2014 -0400

Fix LE parsing of SRC/FRU events

Signed-off-by: Thomas L Falcon <email address hidden>
Signed-off-by: Suzuki K. Poulose <email address hidden>

commit ac0a91d2730740cd279d80ccd4c83b0a04827d1d
Author: Nathan Fontenot <email address hidden>
Date: Fri Oct 17 10:10:29 2014 -0400

LE Support for SRC/FRU events

Signed-off-by: Nathan Fontenot <email address hidden>

Above mentioned changes are required to make rtas_errd (Platform Error Logging) daemon to work properly.

-Vasant

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-118489 severity-high targetmilestone-inin1504
Luciano Chavez (lnx1138)
affects: ubuntu → librtas (Ubuntu)
Changed in librtas (Ubuntu):
assignee: nobody → Taco Screen team (taco-screen-team)
Revision history for this message
Adam Conrad (adconrad) wrote :

Would probably make sense to check the archive before filing bugs:

 librtas | 1.3.13-1~14.04 | trusty-proposed | source
 librtas | 1.3.13-1~14.10 | utopic-proposed | source
 librtas | 1.3.13-1 | vivid | source

This was uploaded 11 days before the bug was filed.

Changed in librtas (Ubuntu):
status: New → Fix Released
assignee: Taco Screen team (taco-screen-team) → Adam Conrad (adconrad)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-01-27 08:02 EDT-------
(In reply to comment #8)
> Would probably make sense to check the archive before filing bugs:
>
> librtas | 1.3.13-1~14.04 | trusty-proposed | source
> librtas | 1.3.13-1~14.10 | utopic-proposed | source
> librtas | 1.3.13-1 | vivid | source
>
> This was uploaded 11 days before the bug was filed.

Thanks! From next time we will take care of this.

-Vasant

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.