Commit 719d64c
committed
switchtec: Fix unintended mask of MRPC event
There exists a corner case: MRPC completion event happened
immediately after other non-MRPC event, moreover exactly right
after MRPC event occurrence check but before the mask event loop
reach to its header register in event ISR, the MRPC event would
be masked unintentionally. Since there's no chance to enable it
again except module remove and install, all the following MRPC
execution completion check will be defer to timeout.
Fix this bug by bypass the mask operation same as to LINK event
in event ISR.
This corner case was exposed by concurrently running fw-update
and event-wait commands of switchtec-user. When it happened,
firmware update speed reduce evidently.
Signed-off-by: Wesley Sheng <[email protected]>1 parent 6f2fbfa commit 719d64c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
| 1187 | + | |
| 1188 | + | |
1188 | 1189 | | |
1189 | 1190 | | |
1190 | 1191 | | |
| |||
0 commit comments