Support APMLM field with PQAP/TAPQ instruction
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v21 patch 4 repliesSuperseded
- v11 patch 1 replySuperseded
Changelog from the cover letter
v1: initial version
v2: The update of the bit mask TAPQ_CARD_HWINFO_MASK was missing. So
the new field apmlm could not shine through.
v3: Shashiko complained about that there is no upper limit but the
combination of apml and apmlm could lead to memory allocations of 960KB per AP request/reply. So introduce an upper and lower limit to crop this firmware given AP message size limit into reasonable range. By default 12KB...72KB but the upper limit can be adjusted via module parameter.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390/ap: Support new APMLM field with PQAP/TAPQ instructionarch/ drivers/ drivers/ | +5 | 0 replies | |
| 2/2 | s390/ap: Cap AP maximum message size adjustable via module parameterdrivers/ drivers/ drivers/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] Support APMLM field with PQAP/TAPQ instruction
There is a new field APMLM (AP message limit multiplier) defined within the GR2 register on successful invocation of the TAPQ subfunction for the PQAP instruction. This patch (series) covers all what's needed to support this new field within the AP bus code.
Changelog:
v1: initial version
v2: The update of the bit mask TAPQ_CARD_HWINFO_MASK was missing. So
the new field apmlm could not shine through.
v3: Shashiko complained about that there is no upper limit but the
combination of apml and apmlm could lead to memory allocations of 960KB per AP request/reply. So introduce an upper and lower limit to crop this firmware given AP message size limit into reasonable range. By default 12KB...72KB but the upper limit can be adjusted via module parameter.
Harald Freudenberger (2):
s390/ap: Support new APMLM field with PQAP/TAPQ instruction s390/ap: Cap AP maximum message size adjustable via module parameter
arch/s390/include/asm/ap.h | 4 ++-- drivers/s390/crypto/ap_bus.c | 11 +++++++++++ drivers/s390/crypto/ap_bus.h | 7 +++++-- drivers/s390/crypto/ap_card.c | 9 ++++++++- 4 files changed, 26 insertions(+), 5 deletions(-)
--
2.43.0