Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
38866d82
Commit
38866d82
authored
Mar 28, 2019
by
Jaco Hofmann
Committed by
Jaco A. Hofmann
May 08, 2019
Browse files
Add 16 slot buffer to interrupt handler
parent
56c0c2e9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
common/ip/MSIXIntrCtrl/component.xml
View file @
38866d82
...
...
@@ -336,7 +336,7 @@
<spirit:parameters>
<spirit:parameter>
<spirit:name>
viewChecksum
</spirit:name>
<spirit:value>
09ee8702
</spirit:value>
<spirit:value>
801496ed
</spirit:value>
</spirit:parameter>
</spirit:parameters>
</spirit:view>
...
...
@@ -352,7 +352,7 @@
<spirit:parameters>
<spirit:parameter>
<spirit:name>
viewChecksum
</spirit:name>
<spirit:value>
a
1f70f90
</spirit:value>
<spirit:value>
a
ec5ed73
</spirit:value>
</spirit:parameter>
</spirit:parameters>
</spirit:view>
...
...
@@ -903,7 +903,7 @@
<spirit:file>
<spirit:name>
src/mkMSIXIntrCtrl.v
</spirit:name>
<spirit:fileType>
verilogSource
</spirit:fileType>
<spirit:userFileType>
CHECKSUM_
f42c23cf
</spirit:userFileType>
<spirit:userFileType>
CHECKSUM_
a851cb3a
</spirit:userFileType>
</spirit:file>
</spirit:fileSet>
<spirit:fileSet>
...
...
@@ -975,7 +975,7 @@
<xilinx:displayName>
MSIXIntrCtrl
</xilinx:displayName>
<xilinx:definitionSource>
package_project
</xilinx:definitionSource>
<xilinx:coreRevision>
1
</xilinx:coreRevision>
<xilinx:coreCreationDateTime>
2019-03-27T1
3
:2
2
:4
8
Z
</xilinx:coreCreationDateTime>
<xilinx:coreCreationDateTime>
2019-03-27T1
6
:2
8
:4
0
Z
</xilinx:coreCreationDateTime>
<xilinx:tags>
<xilinx:tag
xilinx:name=
"nopcore"
/>
</xilinx:tags>
...
...
@@ -984,7 +984,7 @@
<xilinx:xilinxVersion>
2018.3
</xilinx:xilinxVersion>
<xilinx:checksum
xilinx:scope=
"busInterfaces"
xilinx:value=
"005537d1"
/>
<xilinx:checksum
xilinx:scope=
"memoryMaps"
xilinx:value=
"ce939530"
/>
<xilinx:checksum
xilinx:scope=
"fileGroups"
xilinx:value=
"
628e2b97
"
/>
<xilinx:checksum
xilinx:scope=
"fileGroups"
xilinx:value=
"
06ce6604
"
/>
<xilinx:checksum
xilinx:scope=
"ports"
xilinx:value=
"9334f89d"
/>
<xilinx:checksum
xilinx:scope=
"parameters"
xilinx:value=
"4ff74fe2"
/>
</xilinx:packagingInfo>
...
...
common/ip/MSIXIntrCtrl/src/mkMSIXIntrCtrl.v
View file @
38866d82
This diff is collapsed.
Click to expand it.
tlkm/dma/blue_dma.c
View file @
38866d82
...
...
@@ -39,16 +39,22 @@
irqreturn_t
blue_dma_intr_handler_read
(
int
irq
,
void
*
dev_id
)
{
struct
dma_engine
*
dma
=
(
struct
dma_engine
*
)
dev_id
;
struct
platform
*
p
=
&
dma
->
dev
->
cls
->
platform
;
volatile
uint32_t
*
msix_ack
=
(
volatile
uint32_t
*
)
(
dma
->
dev
->
mmap
.
plat
+
((
0x500000
+
0x8120
)
-
p
->
plat
.
base
));
atomic64_inc
(
&
dma
->
rq_processed
);
wake_up_interruptible
(
&
dma
->
rq
);
msix_ack
[
0
]
=
0
;
return
IRQ_HANDLED
;
}
irqreturn_t
blue_dma_intr_handler_write
(
int
irq
,
void
*
dev_id
)
{
struct
dma_engine
*
dma
=
(
struct
dma_engine
*
)
dev_id
;
struct
platform
*
p
=
&
dma
->
dev
->
cls
->
platform
;
volatile
uint32_t
*
msix_ack
=
(
volatile
uint32_t
*
)
(
dma
->
dev
->
mmap
.
plat
+
((
0x500000
+
0x8120
)
-
p
->
plat
.
base
));
atomic64_inc
(
&
dma
->
wq_processed
);
wake_up_interruptible
(
&
dma
->
wq
);
msix_ack
[
0
]
=
1
;
return
IRQ_HANDLED
;
}
...
...
tlkm/dma/tlkm_dma.h
View file @
38866d82
...
...
@@ -40,8 +40,8 @@ struct dma_operations {
};
// Currently any chunk size smaller than 2 MB will result in failures due to missing interrupts
#define TLKM_DMA_CHUNK_SZ (size_t)(2
* 1024
* 1024) // 2 MiB
#define TLKM_DMA_CHUNKS (
4
)
#define TLKM_DMA_CHUNK_SZ (size_t)(2
56
* 1024) // 2 MiB
#define TLKM_DMA_CHUNKS (
16
)
struct
dma_engine
{
dev_id_t
dev_id
;
...
...
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