OSDN Git Service

staging: ccree: fix 64 bit scatter/gather DMA ops
authorGilad Ben-Yossef <gilad@benyossef.com>
Mon, 30 Oct 2017 13:38:03 +0000 (13:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Nov 2017 08:49:24 +0000 (09:49 +0100)
commit75559e0f485432202fdf3c960229d75b77069076
treed6df869ae7b64658c2f8abec4111ee9bfaef3335
parent69cf5ab217d23429056f978c70a206c1596e03be
staging: ccree: fix 64 bit scatter/gather DMA ops

commit e0b3f39092a1cff5548cbaf40096ec25e7721de6 upstream.

Fix a wrong offset used in splitting a 64 DMA address to MSB/LSB
parts needed for scatter/gather HW descriptors causing operations
relying on them to fail on 64 bit platforms.

Fixes: c6f7f2f4591f ("staging: ccree: refactor LLI access macros")
Reported-by: Stuart Yoder <stuart.yoder@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_lli_defs.h