* [PATCH v1 0/1] Fix MAPML calculation in ap bus code
@ 2026-08-04 10:58 Finn Callies
2026-08-04 10:58 ` [PATCH v1 1/1] s390/ap: Fix MAPML computation Finn Callies
2026-08-04 12:11 ` [PATCH v1 0/1] Fix MAPML calculation in ap bus code Heiko Carstens
0 siblings, 2 replies; 5+ messages in thread
From: Finn Callies @ 2026-08-04 10:58 UTC (permalink / raw)
To: hca, gor, agordeev; +Cc: linux-s390, fcallies, freude
Pretty self explanatory...
====== CHANGELOG ======
v1:
initial version
Finn Callies (1):
s390/ap: Fix MAPML computation
drivers/s390/crypto/ap_card.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
Finn Callies <fcallies@linux.ibm.com>
Linux on Z - crypto
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v1 1/1] s390/ap: Fix MAPML computation
2026-08-04 10:58 [PATCH v1 0/1] Fix MAPML calculation in ap bus code Finn Callies
@ 2026-08-04 10:58 ` Finn Callies
2026-08-04 11:02 ` sashiko-bot
2026-08-04 12:09 ` Heiko Carstens
2026-08-04 12:11 ` [PATCH v1 0/1] Fix MAPML calculation in ap bus code Heiko Carstens
1 sibling, 2 replies; 5+ messages in thread
From: Finn Callies @ 2026-08-04 10:58 UTC (permalink / raw)
To: hca, gor, agordeev; +Cc: linux-s390, fcallies, freude
When the TAPQ subfunction of PQAP returns a value between 0 and 3 in the
ml field the Principles of Operation states that the MAPML size is to be
12k bytes.
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
---
drivers/s390/crypto/ap_card.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/s390/crypto/ap_card.c b/drivers/s390/crypto/ap_card.c
index e827fbeb76fb..c86397f4ddcd 100644
--- a/drivers/s390/crypto/ap_card.c
+++ b/drivers/s390/crypto/ap_card.c
@@ -241,7 +241,7 @@ struct ap_card *ap_card_create(int id, struct ap_tapq_hwinfo hwinfo,
ac->ap_dev.device_type = comp_type;
ac->hwinfo = hwinfo;
ac->id = id;
- ac->maxmsgsize = hwinfo.ml > 0 ?
+ ac->maxmsgsize = hwinfo.ml > 3 ?
hwinfo.ml * AP_TAPQ_ML_FIELD_CHUNK_SIZE : AP_DEFAULT_MAX_MSG_SIZE;
return ac;
--
Finn Callies <fcallies@linux.ibm.com>
Linux on Z - crypto
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] s390/ap: Fix MAPML computation
2026-08-04 10:58 ` [PATCH v1 1/1] s390/ap: Fix MAPML computation Finn Callies
@ 2026-08-04 11:02 ` sashiko-bot
2026-08-04 12:09 ` Heiko Carstens
1 sibling, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-08-04 11:02 UTC (permalink / raw)
To: Finn Callies; +Cc: linux-s390, Vasily Gorbik, Heiko Carstens, Alexander Gordeev
> When the TAPQ subfunction of PQAP returns a value between 0 and 3 in the
> ml field the Principles of Operation states that the MAPML size is to be
> 12k bytes.
>
> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
> Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260804105811.17744-2-fcallies@linux.ibm.com?part=1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] s390/ap: Fix MAPML computation
2026-08-04 10:58 ` [PATCH v1 1/1] s390/ap: Fix MAPML computation Finn Callies
2026-08-04 11:02 ` sashiko-bot
@ 2026-08-04 12:09 ` Heiko Carstens
1 sibling, 0 replies; 5+ messages in thread
From: Heiko Carstens @ 2026-08-04 12:09 UTC (permalink / raw)
To: Finn Callies; +Cc: gor, agordeev, linux-s390, freude
On Tue, Aug 04, 2026 at 12:58:11PM +0200, Finn Callies wrote:
> When the TAPQ subfunction of PQAP returns a value between 0 and 3 in the
> ml field the Principles of Operation states that the MAPML size is to be
> 12k bytes.
What is "MAPML"?
> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
> Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
> ---
> drivers/s390/crypto/ap_card.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Why is this fix required? What does this fix?
Are there user observable bugs fixed with this?
If so, which ones?
Is a Fixes: and/or stable tag required?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 0/1] Fix MAPML calculation in ap bus code
2026-08-04 10:58 [PATCH v1 0/1] Fix MAPML calculation in ap bus code Finn Callies
2026-08-04 10:58 ` [PATCH v1 1/1] s390/ap: Fix MAPML computation Finn Callies
@ 2026-08-04 12:11 ` Heiko Carstens
1 sibling, 0 replies; 5+ messages in thread
From: Heiko Carstens @ 2026-08-04 12:11 UTC (permalink / raw)
To: Finn Callies; +Cc: gor, agordeev, linux-s390, freude
On Tue, Aug 04, 2026 at 12:58:10PM +0200, Finn Callies wrote:
> Pretty self explanatory...
>
> ====== CHANGELOG ======
>
> v1:
> initial version
You don't need to provide a cover-letter for a single patch, however
if you provide a cover-letter, then please provide meaningful text.
"Pretty self explanatory..." is not helpful at all.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-08-04 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 10:58 [PATCH v1 0/1] Fix MAPML calculation in ap bus code Finn Callies
2026-08-04 10:58 ` [PATCH v1 1/1] s390/ap: Fix MAPML computation Finn Callies
2026-08-04 11:02 ` sashiko-bot
2026-08-04 12:09 ` Heiko Carstens
2026-08-04 12:11 ` [PATCH v1 0/1] Fix MAPML calculation in ap bus code Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox