]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 14 Mar 2018 10:41:31 +0000 (11:41 +0100)
commit8f67c86f3aeb05547c6b53322b51758e37d4c64e
tree577cd7375a77179e213d5e2ae1a0c3bd87ef309a
parent7c3b2ff34cd6be06a92d5e1b6c3b30d0314c7766
staging: ccree: fix 64 bit scatter/gather DMA ops

BugLink: http://bugs.launchpad.net/bugs/1744212
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>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/staging/ccree/cc_lli_defs.h