Repository navigation
Export ntfc fix - #2
Open
szafonimateusz-mi wants to merge 2 commits into
Open
szafonimateusz-mi wants to merge 2 commits into
szafonimateusz-mi wants to merge 2 commits into
Conversation
szafonimateusz-mi
force-pushed
the
export_ntfc_fix
branch
from
March 2, 2026 11:57
45f1508 to
051c1c0
Compare
szafonimateusz-mi
force-pushed
the
export_ntfc_fix
branch
3 times, most recently
from
March 2, 2026 12:48
bdc265b to
4c6dd2c
Compare
szafonimateusz-mi
force-pushed
the
export_ntfc_fix
branch
from
March 2, 2026 12:55
4c6dd2c to
30ded09
Compare
Don't export pytest.debug.log in CI artifacts. In case of an exception returned by ntfc, this file may not be present. A future version of ntfc will place this file in the "results" dir, so it will be exported anyway. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
update notes about NTFC Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
raiden00pl
pushed a commit
that referenced
this pull request
Nov 9, 2026
The tx thread reads EVT_CONNED and sends CONNREQ without a lock, while
the rx thread sets EVT_CONNED and replies CONNACK. A stale read lets
the tx thread send CONNREQ after CONNACK has gone out:
tx thread rx thread (process_rx_conn)
t0 read EVT_CONNED==0
<-- CONNREQ from peer
t1 set EVT_CONNED
send CONNACK --> peer registers (#1)
t2 send CONNREQ (stale) --------------> peer takes it as a
restart: unreg + reg (#2)
Take a conn_lock around the tx startup check-and-send and around the
EVT_CONNED update in rpmsg_port_uart_process_rx_conn(), so only one
side starts the handshake and the peer registers once. The lock is not
held across rpmsg_port_register()/unregister(): they can run the rx
worker again on the same thread when no tx buffer is free.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test