Skip to content

XDMA: fix decs_cmpl and flush when eop reviced#161

Open
Jomit626 wants to merge 1 commit intoXilinx:masterfrom
Jomit626:eop_flush
Open

XDMA: fix decs_cmpl and flush when eop reviced#161
Jomit626 wants to merge 1 commit intoXilinx:masterfrom
Jomit626:eop_flush

Conversation

@Jomit626
Copy link

Problem:

  • Opening c2h channel with O_TRUNC option might cause the read syscall to return a random number.
  • Sometimes a read() syscall will be split into multiple transfers. When the O_TRUNC option is set, the driver flushes the results immediately after the first transfer, regardless of whether EOP is received or not.

This PR tries to fix these problems I meet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant