forked from ibm-power-utilities/librtas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
529 lines (355 loc) · 18.2 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
Changelog for librtas-2.0.2
=======================================
commit 26970c42bc017ad68b864e7134cf941c07443aa8
Author: Chris Engel <cengel@linux.vnet.ibm.com>
Date: Tue Aug 22 14:59:06 2017 -0500
Interface for ibm,physical-attestation rtas call
The physical attestation interfaces are provided to allow a
trusted 3rd party client to retrieve information about the
trusted boot state of the target PowerVM system. This makes
use of the systems physical TPM(s). These TPM(s) are used
by system firmware to extend measurements during the
boot process.
Signed-off-by: Chris Engel <cengel@linux.vnet.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Changelog for librtas-2.0.1
=======================================
commit 7f841902eb50ca77c3aa884e3fd924c2bbd817ca
Author: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Date: Mon Jun 13 09:33:57 2016 -0400
librtas: Fix endianess issue in errinjct rtas call
Unlike other RTAS calls, first output parameter of "ibm,open-errinjct"
is "open token", not status value.
With commit ee457b1c, we endedup calling be32toh twice for otoken and
didn't convert status from BE to host format.
This patch fixes above issue.
Fixes: ee457b1c (librtas: consolidate common actions in making a rtas call)
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
commit e6f35aaee6ad1d674a1b0498e7144340f4abe926
Author: Michael Bringmann <mwb@linux.vnet.ibm.com>
Date: Mon Jun 13 09:29:59 2016 -0400
librtas/configure.ac: Fix for builds on older distros
Fix problem generating configure script / Makefile on platforms/distros
that have versions of 'automake' older than 1.11.1.
Signed-off-by: Michael Bringmann <mwb@linux.vnelibrtas/configure.ac: Fix for
Fix problem generating configure script / Makefile on platforms/distros
that have versions of 'automake' older than 1.11.1.
Signed-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
commit ac6330c17bcbc955b9cb13d7073d89d3d87a3a50
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Wed May 18 16:43:14 2016 -0400
Correcting to add files that should have been added as part of
commit e0582a6af7c33e867edca.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit e0582a6af7c33e867edca882b28a1544d2ef08b4
Author: Stewart Smith <stewart@linux.vnet.ibm.com>
Date: Wed May 11 13:26:51 2016 -0400
From: Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Switch to modern autotools based build system
The patch removes the custom Makefiles and replaces them with a modern
autotools based build system.
In the process, several bugs are fixed and enhancements made:
- build dependencies are sorted out okay
- the makefiles are now much smaller
- make dist works
- make distcheck works
- out of source builds work
- autogenerating of version in spec file is much simpler
- configure script checks for needed functions, header files and types
- we now build with hardening gcc flags (if available)
- libraries are now properly .so versioned
- build+install is good for multiarch
- some rpmlint warnings fixed
- split rpm into librtas and librtas-devel
- provide pkg-config foo
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Changelog for librtas-2.0.0
=======================================
commit da9f484ab2429525101432d57176f376576c3dac
Author: Adam Conrad <adconrad@0c3.net>
Date: Tue Apr 5 04:11:23 2016 -0600
Modernize and parameterize the RPM specfile slightly.
Signed-off-by: Adam Conrad <adconrad@0c3.net>
commit 9c1591cd262116290b5a651bc09192b6c34da9ce
Author: Adam Conrad <adconrad@0c3.net>
Date: Tue Apr 5 01:38:33 2016 -0600
librtasevent: Fix build failure with -Wformat -Werror=format-security
Signed-off-by: Adam Conrad <adconrad@0c3.net>
commit 2644f9d269be8b852aa024f1364a5199aac268db
Author: Adam Conrad <adconrad@0c3.net>
Date: Tue Apr 5 01:35:51 2016 -0600
librtas*/Makefile: install/uninstall static libs
Signed-off-by: Adam Conrad <adconrad@0c3.net>
commit f9bb81502e5fa3894caa1761292ec69580dc087e
Author: Adam Conrad <adconrad@0c3.net>
Date: Tue Apr 5 01:30:41 2016 -0600
librtasevent: Generate static library.
Signed-off-by: Adam Conrad <adconrad@0c3.net>
commit 2b43240db6fe721288bf09a6f2c75743ae4f8855
Author: Adam Conrad <adconrad@0c3.net>
Date: Fri Apr 1 08:34:16 2016 -0600
Use MAJOR_NO to define the SONAME symlinks, instead of hardcoding "1"
Signed-off-by: Adam Conrad <adconrad@0c3.net>
Changelog for librtas-1.4.1
=======================================
commit af07fde662985cb574fe56497847c4c6cdf1d1a8
Author: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Date: Thu Mar 17 18:53:48 2016 -0400
librtas: Do not enable debug message by default
Commit eae18de3 removed dbg1 macro. But accidently enabled logging debug
message by default. This is confusing end users. Hence remove logging
debug message by default.
Fixes: eae18de3 (librtas: Update the dbg() macro)
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
CC: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit c5e9dcf993e9e20bbe14bc06fb0ec6dd5031f935
Author: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Date: Mon Feb 15 07:33:14 2016 -0500
librtas: Release lock in error path
Release RMO buffer lock in error path. Otherwise we will continue to hold
the lock and subsequent RMO buffer allocation request fails.
Reported-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
commit 9683c7b393d48922a14b09a898fbe3cf698cd71a
Author: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Date: Wed Feb 10 16:15:19 2016 -0500
librtas: Fix Makefile
Commit 90f24679 switched package license from CPL to LGPL. But we forgot
to update Makefile. So creating tarball from source fails. This patch
replaces COPYRIGHT with COPYING.LESSER in Makefile.
Also updated Makefile header with proper license text.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Changelog for librtas-1.4.0
=======================================
commit 2a279559111e4f68ed270f28e21a042a97ad41cd
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Thu Jan 7 11:55:47 2016 -0500
Update README for correct contact information.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 90f24679c795ea8224ba836994366dec31529663
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Thu Jan 7 11:19:33 2016 -0500
Switch librtas package to LGPL License.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 5bbe4e9382b2e298227af13d1b600c59a5f1768b
Author: Rafael Fonseca <rdossant@redhat.com>
Date: Tue Dec 15 15:06:10 2015 -0500
From: Rafael Fonseca <rdossant@redhat.com>
Fix print formats for width-based types.
Signed-off-by: NAthan Fontenot <nfont@linux.vnet.ibm.com>
commit 9d930daa58c3c6f2fc2fb6e82c005726d22ef8b5
Author: Rafael Fonseca <rdossant@redhat.com>
Date: Tue Dec 15 14:58:20 2015 -0500
From: Rafael Fonseca <rdossant@redhat.com>
Fix potential memory leaks
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 1d0ec08104077bcc4dd8f76524cb2493aaf04a60
Author: Sam Bobroff <sam.bobroff@au1.ibm.com>
Date: Tue Dec 15 14:53:55 2015 -0500
librtasevent: correct files left after uninstall
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
commit 22b418b8758c60c9e250f495e2d58db2394ee3c4
Author: Sam Bobroff <sam.bobroff@au1.ibm.com>
Date: Tue Dec 15 14:52:49 2015 -0500
librtas: correct files left after uninstall
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
commit 9c1403ab4da25db47fcdfa7cfa26c0b465e0a5ed
Author: Sam Bobroff <sam.bobroff@au1.ibm.com>
Date: Tue Dec 15 14:50:02 2015 -0500
librtas: install librtas.so.1 symlink
Add a line to the librtas Makefile to create librtas.so.1 when
performing "make install". This matches the librtasevent.so.1 that is
already created.
This allows systems that rely on the existance of that link to
successfully build programs using librtas when it is installed
directly from the source.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
commit 0afce7b27cc5e1581f7ec6c0acf3d7b3b6419b5b
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:46:54 2015 -0500
librtas: Correct multiple build warnings
Correct the warnings produced during the build of librtas.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit bb77762b4f3310854bdf07ef3fcebc01ddd0d798
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:37:17 2015 -0500
librtas: deprecate libofdt
The libofdt library is a project that was started a long time ago in
the hopes of providing a common infrastructure for accessing the device
tree. The code is mostly complete andd I really don't think there are
any users of it so I am proposing to deprecate the library.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 015c0f95fc10e595cd1a90634ac831d93d9ba4e2
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:30:13 2015 -0500
librtas: coding style updates
Correct a few style issues to give the code a more consistant look.
No functional changes.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 21de2c69433e23450d4fad4f9c48fbf8d2f5d04a
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:27:56 2015 -0500
librtas: Make SANITY_CHECKS() a real function
Make the SANITY_CHECKS() macro a regular function.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit e5451d028d6981728840e1960f2d1de90e994f60
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:24:53 2015 -0500
librtas: Move rtas_token() declaration to internal header
Move rtas_token decalration to internal header file.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit f06f03493a3f4c8e8cc5a96db857f0ba01a66e6c
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:23:41 2015 -0500
librtas: Remove declaration of open_proc_rtas_file()
Make the open_proc_rtas_file() routine static and remove its
declaration from librtas.h.
Signed-off-by: Nathan Fotnenot <nfont@linux.vnet.ibm.com>
commit c01583d8bde5dd4c3e1ce7d0b4d5ced4008bffd4
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:21:45 2015 -0500
librtas: Move declaration of read_entire_file()
Move declaration of read_entire_file() to an internal header.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 52222bf6c8fb1d3ce6fdf5ba7e97653771ea9843
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:19:14 2015 -0500
librtas: Break up the librtas_config struct
Break up the librtas_config struct into its two pieces and remove
the definitions from the public header.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit eae18de31155d109a0160485ee7d93bbdb32d2e0
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Tue Dec 15 14:14:26 2015 -0500
librtas: Update the dbg() macro
Remove the useless indirect of dbg1() macro and move the definition
to an internal .h file.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit ee457b1c21bd913913243e54c5a7dca63d3545a4
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Tue Dec 15 14:11:16 2015 -0500
librtas: consolidate common actions in making a rtas call
Consolidate common actions, such as getting the rtas token and
handling extended delays, when making a rtas call into a routine.
This change presents to new ways to make a rtas call;
rtas_call() - Which handles any delays
rtas_call_no_delay() - Which does not handle any delays
The no delay variant was needed for the few instances where some work
needs to be done in between rtas calls when a delay occurs.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
commit 4b18e100dcf1672590aee49b2c1bbc15debee4a7
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Tue Dec 15 13:54:45 2015 -0500
librtas: rtas calls fully implemented in syscalls
Since the procfs and common interfaces are being removed,
all rtas calls will be fully implemented in the syscall_calls.c
and syscall_rmo.c files.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
commit 94efe8cb14637820af35bba555997d5bd5f92704
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Tue Dec 15 13:25:40 2015 -0500
librtas: common.h merged into librtas.h
Code in common.h was added to librtas.h
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
commit 3bc2d9277c6ac6679f7ee308127f90255453d76e
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Tue Dec 15 13:23:51 2015 -0500
librtas: removal of common code
The common files are being removed with the removal of procfs
in order to simplify librtas.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
commit b8ad1ec918230379f612a4e976e74600660cebdc
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Tue Dec 15 13:20:06 2015 -0500
librtas: removing procfs interface
The procfs interface is no longer used. As a result, it is being
removed to simplify librtas.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Changelog for librtas-1.3.14
=======================================
commit 4e46c718f42bf05e797c7fcfdd6cfc2a21fb4c91
Author: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Date: Wed Jan 7 14:26:15 2015 -0500
PAPR requires that the status word is the first parameter in the return
buffer for rtas calls. Due to this requirement the librtas sc_rtas_call
function always performs a be32toh operation on the first parameter in the
return buffer. However, the ibm,open-errinjct rtas is special in that its
return buffer is switched. The "Open Token" is the first return parameter
while the "Status" word is second.
This patch fixes this special case in the sc_errinjct_open function such
that the byteswapping of "status" and "otoken" are handled correctly.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Changelog for librtas-1.3.13
=======================================
commit 1d54a4a346f9111e1326dfdec756fd78360add42
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
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 <suzuki@in.ibm.com>
commit e5541e1a5c83ce47cc492abcd7343d65763dcefe
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Fri Oct 17 10:17:28 2014 -0400
Use rpm macros for standard paths
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
commit 8ef7f827e28e3cd284f6be5686a987786be7502d
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
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 <suzuki@in.ibm.com>
commit 52263814c46210b51e564748050299620726dfd1
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Fri Oct 17 10:12:54 2014 -0400
Fix LE parsing of SRC/FRU events
Signed-off-by: Thomas L Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
commit ac0a91d2730740cd279d80ccd4c83b0a04827d1d
Author: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Date: Fri Oct 17 10:10:29 2014 -0400
LE Support for SRC/FRU events
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Changelog for librtas-1.3.12
=======================================
commit 1f045d8df135cfdc232a49f0992ab60913c0b043
Author: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Date: Wed Aug 13 13:04:29 2014 -0500
get_sensor, set_sensor: Handle big endian data in little endian
This patch handles big endian location code length data in little endian
platform. This enables the tools to work on little endian platform after
having passed big endian buffer data.
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
commit 18f353d3477fb137e9773bcda0c1f60fb071d5b7
Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Wed Aug 13 13:02:17 2014 -0500
librtas: fix for sc_platform_dump endian handling
Some mistakes were made in adding little endian support for the
sc_platform_dump function. As the values being handled are 64-bit integers,
it makes much more sense to use the 64-bit byteswap function. The
endianness of seq_next also needs to be handled.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>