projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b276b5
)
firmware: arm_scmi: Use new trace event scmi_xfer_response_wait
author
Cristian Marussi
<cristian.marussi@arm.com>
Mon, 29 Nov 2021 19:11:45 +0000
(19:11 +0000)
committer
Sudeep Holla
<sudeep.holla@arm.com>
Mon, 13 Dec 2021 17:45:36 +0000
(17:45 +0000)
Use new trace event to mark start of waiting for response section.
Link:
https://lore.kernel.org/r/20211129191156.29322-6-cristian.marussi@arm.com
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/arm_scmi/driver.c
b/drivers/firmware/arm_scmi/driver.c
index 9a8d6bfd4ebb553af1dd2f792c0d5bbaf2872dbb..476b91845e40044da2120310b354c243a0e95da5 100644
(file)
--- a/
drivers/firmware/arm_scmi/driver.c
+++ b/
drivers/firmware/arm_scmi/driver.c
@@
-757,6
+757,11
@@
static int scmi_wait_for_message_response(struct scmi_chan_info *cinfo,
struct device *dev = info->dev;
int ret = 0, timeout_ms = info->desc->max_rx_timeout_ms;
+ trace_scmi_xfer_response_wait(xfer->transfer_id, xfer->hdr.id,
+ xfer->hdr.protocol_id, xfer->hdr.seq,
+ timeout_ms,
+ xfer->hdr.poll_completion);
+
if (xfer->hdr.poll_completion) {
ktime_t stop = ktime_add_ms(ktime_get(), timeout_ms);