Commit 7452584
committed
dmaengine: rcar-dmac: Fix release resources after interrupt process
This patch fixes the problem that occasionally released resources
before the end of interrupt processing.
[ 58.156412] Unable to handle kernel NULL pointer dereference at virtual
address 00000000
[ 58.166155] pgd = ffff8006f78b0000
[ 58.169822] [00000000] *pgd=000000073773b003 , *pud=0000000737c70003 ,
*pmd=0000000000000000
[ 58.179738]
[ 58.181548] Internal error: Oops: 96000046 [#1] PREEMPT SMP
[ 58.187484] Modules linked in:
[ 58.190919] CPU: 0 PID: 2898 Comm: dma_ioctl Not tainted 4.9.0-00002-g501
07f2-dirty xen-troops#147
[ 58.199438] Hardware name: Renesas Salvator-X board based on r8a7795 (DT)
[ 58.206680] task: ffff8006f77b1900 task.stack: ffff8006f7bd4000
[ 58.213090] PC is at rcar_dmac_chan_prep_sg+0xa4/0x3f0
[ 58.218725] LR is at rcar_dmac_chan_prep_sg+0x6c/0x3f0
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>1 parent 94794e4 commit 7452584
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1263 | 1263 | | |
1264 | 1264 | | |
1265 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1266 | 1284 | | |
1267 | 1285 | | |
1268 | 1286 | | |
| |||
1901 | 1919 | | |
1902 | 1920 | | |
1903 | 1921 | | |
| 1922 | + | |
1904 | 1923 | | |
1905 | 1924 | | |
1906 | 1925 | | |
| |||
0 commit comments