Rework cpacf_kma() function
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 7 repliesSuperseded
Changelog from the cover letter
v1: initial version
v2: Added Holger's RB - no code changes.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390/cpacf: Rework cpacf_kma() to return condition codearch/ | +18 | 0 replies | |
| 2/2 | s390/crypto: Handle cpacf_kma() return codearch/ | +7 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Holger Dengler |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Rework cpacf_kma() function
The CPACF inline function cpacf_kma() has return type void thus indicating no direct information about success or failure. The majori of the other CPACF inline functions do return either failure/success or the number of bytes processed.
Rework the CPACF inline function cpacf_kma() and the only caller - the AES GCM implementation in arch/s390/crypto/aes_s390.c to return the value of the condition code set on completion of the instruction.
@Herbert Xu, @Heiko Carstens: As the main change is in cpacf.h and the slight rework in aes_s390.c is petty simple I would go with delivering this patches via s390 subsystem.
Changelog:
v1: initial version
v2: Added Holger's RB - no code changes.
Harald Freudenberger (2):
s390/cpacf: Rework cpacf_kma() to return condition code s390/crypto: Handle cpacf_kma() return code
arch/s390/crypto/aes_s390.c | 11 +++++++---- arch/s390/include/asm/cpacf.h | 24 ++++++++++++++++++------ 2 files changed, 25 insertions(+), 10 deletions(-)
base-commit: df2908090cda368b01ff43709f51890076c56157 --
2.43.0