On Mon, Jan 25, 2021 at 10:38:04AM -0800, Eric Biggers wrote:
From: Eric Biggers <redacted>
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 <redacted>
Reviewed-and-tested-by: Peng Zhou [off-list ref]
Signed-off-by: Eric Biggers <redacted>
Apparently only patches 3 and 8 made it to the list. No idea why; all sends
were successful. If they don't show up soon, I'll resend the patchset again...
- Eric