Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CTU CAN FD IP Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canbus
CTU CAN FD IP Core
Commits
79dedb90
Commit
79dedb90
authored
Sep 07, 2018
by
Martin Jeřábek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a TODO and warning about possible HW pipelining problem
parent
e8165763
Pipeline
#2047
passed with stages
in 5 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
driver/ctu_can_fd.c
driver/ctu_can_fd.c
+9
-3
No files found.
driver/ctu_can_fd.c
View file @
79dedb90
...
...
@@ -452,9 +452,15 @@ err_warning:
/* Clear Data Overrun */
ctu_can_fd_clr_overrun_flag
(
&
priv
->
p
);
// TODO: this still sometimes fails without the print (maybe)
// -> test it
netdev_info
(
ndev
,
" DOS=%d after COMMAND[CDR]"
,
ctu_can_get_status
(
&
priv
->
p
).
s
.
dos
);
/* TODO: this still sometimes fails without the dummy read
* Theoretically it is possible for the 2 bus accesses (flg
* clear, irq clear) to become tightly adjacent and the
* pipelining effects will cause that the IRQ clear request
* is ignored.
* The dummy read would prevent this.
* We still have to write a feature test for this.
*/
//netdev_info(ndev, " DOS=%d after COMMAND[CDR]", ctu_can_get_status(&priv->p).s.dos);
/* And clear the DOI flag again */
icr
.
u32
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment