mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
s390/zcrypt: Rework zcrypt request and reply trace event definition
This is a slight rework of the s390_zcrypt_req and s390_zcrypt_rep trace event: - the psmid has been added to the s390_zcrypt_rep - "dev" renamed to "card" - "domain" renamed to "dom" The motivation of these changes is to make these traces more aligned to new upcoming traces for AP bus related trace events. Additionally the psmid is needed to match the reply (and thus indirect the request) to AP bus related trace events where only the psmid is unique identifying AP messages. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Anthony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
215231deea
commit
507cff242a
@@ -740,7 +740,8 @@ out:
|
||||
tr->last_qid = qid;
|
||||
}
|
||||
trace_s390_zcrypt_rep(mex, func_code, rc,
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid),
|
||||
ap_msg.psmid);
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -845,7 +846,8 @@ out:
|
||||
tr->last_qid = qid;
|
||||
}
|
||||
trace_s390_zcrypt_rep(crt, func_code, rc,
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid),
|
||||
ap_msg.psmid);
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -980,7 +982,8 @@ out:
|
||||
tr->last_qid = qid;
|
||||
}
|
||||
trace_s390_zcrypt_rep(xcrb, func_code, rc,
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid),
|
||||
ap_msg.psmid);
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -1182,7 +1185,8 @@ out:
|
||||
tr->last_qid = qid;
|
||||
}
|
||||
trace_s390_zcrypt_rep(xcrb, func_code, rc,
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid),
|
||||
ap_msg.psmid);
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -1274,7 +1278,8 @@ static long zcrypt_rng(char *buffer)
|
||||
out:
|
||||
ap_release_apmsg(&ap_msg);
|
||||
trace_s390_zcrypt_rep(buffer, func_code, rc,
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
AP_QID_CARD(qid), AP_QID_QUEUE(qid),
|
||||
ap_msg.psmid);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user