Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
dma_ip_drivers
Commits
83d50bf8
Commit
83d50bf8
authored
Jan 21, 2020
by
Cyril RUSSO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for removal of mmiowb() in linux 5.2 and above (done in spinlock_unlock now)
parent
3c7bcfe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
XDMA/linux-kernel/libxdma/libxdma.c
XDMA/linux-kernel/libxdma/libxdma.c
+3
-0
XDMA/linux-kernel/xdma/cdev_xvc.c
XDMA/linux-kernel/xdma/cdev_xvc.c
+2
-0
No files found.
XDMA/linux-kernel/libxdma/libxdma.c
View file @
83d50bf8
...
@@ -715,7 +715,10 @@ static struct xdma_transfer *engine_start(struct xdma_engine *engine)
...
@@ -715,7 +715,10 @@ static struct xdma_transfer *engine_start(struct xdma_engine *engine)
dbg_tfr
(
"ioread32(0x%p) (dummy read flushes writes).
\n
"
,
dbg_tfr
(
"ioread32(0x%p) (dummy read flushes writes).
\n
"
,
&
engine
->
regs
->
status
);
&
engine
->
regs
->
status
);
#if KERNEL_VERSION(5, 1, 0) >= LINUX_VERSION_CODE
mmiowb
();
mmiowb
();
#endif
rv
=
engine_start_mode_config
(
engine
);
rv
=
engine_start_mode_config
(
engine
);
if
(
rv
<
0
)
{
if
(
rv
<
0
)
{
...
...
XDMA/linux-kernel/xdma/cdev_xvc.c
View file @
83d50bf8
...
@@ -213,7 +213,9 @@ static long xvc_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
...
@@ -213,7 +213,9 @@ static long xvc_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
pr_info
(
"copy back tdo_buf failed: %d/%u.
\n
"
,
rv
,
total_bytes
);
pr_info
(
"copy back tdo_buf failed: %d/%u.
\n
"
,
rv
,
total_bytes
);
unlock:
unlock:
#if KERNEL_VERSION(5, 1, 0) >= LINUX_VERSION_CODE
mmiowb
();
mmiowb
();
#endif
spin_unlock
(
&
xcdev
->
lock
);
spin_unlock
(
&
xcdev
->
lock
);
cleanup:
cleanup:
...
...
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