summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-01-26 03:14:50 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2021-02-01 14:02:33 +0300
commitee49d0321f02596a046173be16fddcdfb8ceb7c1 (patch)
treecc89636a68fb1a7015330557e964f45f95782aa6 /include/linux
parent0653300224a696719953a19efe13e1c6e9b8cceb (diff)
downloadlinux-ee49d0321f02596a046173be16fddcdfb8ceb7c1.tar.xz
mmc: cqhci: initialize upper 64 bits of 128-bit task descriptors
Move the task descriptor initialization into cqhci_prep_task_desc(). In addition, make it explicitly initialize all 128 bits of the task descriptor if the host controller is using 128-bit task descriptors, rather than relying on the implicit zeroing from dmam_alloc_coherent(). This is needed to prepare for CQHCI inline encryption support, which requires 128-bit task descriptors and uses the upper 64 bits. Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Satya Tangirala <satyat@google.com> Reviewed-and-tested-by: Peng Zhou <peng.zhou@mediatek.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20210126001456.382989-4-ebiggers@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions