Commit 982fd1a
crypto: hisilicon/hpre - fix dma unmap sequence
Perform DMA unmapping operations before processing data.
Otherwise, there may be unsynchronized data accessed by
the CPU when the SWIOTLB is enabled.
Signed-off-by: Zhiqi Song <[email protected]>
Signed-off-by: Chenghai Huang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>1 parent 301eee1 commit 982fd1a
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1494 | 1497 | | |
1495 | 1498 | | |
1496 | 1499 | | |
1497 | 1500 | | |
1498 | | - | |
1499 | 1501 | | |
1500 | 1502 | | |
1501 | 1503 | | |
| |||
1808 | 1810 | | |
1809 | 1811 | | |
1810 | 1812 | | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
1811 | 1816 | | |
1812 | 1817 | | |
1813 | | - | |
1814 | 1818 | | |
1815 | 1819 | | |
1816 | 1820 | | |
| |||
0 commit comments