[2/8] common/dpaax: change job processing mode for PDCP SDAP

Message ID 20211220102710.3083370-2-g.singh@nxp.com (mailing list archive)
State Superseded, archived
Delegated to: akhil goyal
Headers
Series [1/8] common/dpaax: caamflib: Remove code related to SEC ERA 1 to 7 |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Gagandeep Singh Dec. 20, 2021, 10:27 a.m. UTC
  For PDCP SDAP test cases, HW sec engine process the
jobs in WAIT mode.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
---
 drivers/common/dpaax/caamflib/desc/sdap.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
  

Patch

diff --git a/drivers/common/dpaax/caamflib/desc/sdap.h b/drivers/common/dpaax/caamflib/desc/sdap.h
index ee03e95990..1737e14fa6 100644
--- a/drivers/common/dpaax/caamflib/desc/sdap.h
+++ b/drivers/common/dpaax/caamflib/desc/sdap.h
@@ -895,27 +895,27 @@  cnstr_shdsc_pdcp_sdap_u_plane(uint32_t *descbuf,
 			{
 				/* NULL */
 				SHR_WAIT,   /* NULL */
-				SHR_ALWAYS, /* SNOW f9 */
-				SHR_ALWAYS, /* AES CMAC */
-				SHR_ALWAYS  /* ZUC-I */
+				SHR_WAIT, /* SNOW f9 */
+				SHR_WAIT, /* AES CMAC */
+				SHR_WAIT  /* ZUC-I */
 			},
 			{
 				/* SNOW f8 */
-				SHR_ALWAYS, /* NULL */
-				SHR_ALWAYS, /* SNOW f9 */
+				SHR_WAIT, /* NULL */
+				SHR_WAIT, /* SNOW f9 */
 				SHR_WAIT,   /* AES CMAC */
 				SHR_WAIT    /* ZUC-I */
 			},
 			{
 				/* AES CTR */
-				SHR_ALWAYS, /* NULL */
-				SHR_ALWAYS, /* SNOW f9 */
-				SHR_ALWAYS, /* AES CMAC */
+				SHR_WAIT, /* NULL */
+				SHR_WAIT, /* SNOW f9 */
+				SHR_WAIT, /* AES CMAC */
 				SHR_WAIT    /* ZUC-I */
 			},
 			{
 				/* ZUC-E */
-				SHR_ALWAYS, /* NULL */
+				SHR_WAIT, /* NULL */
 				SHR_WAIT,   /* SNOW f9 */
 				SHR_WAIT,   /* AES CMAC */
 				SHR_WAIT    /* ZUC-I */
@@ -979,7 +979,7 @@  cnstr_shdsc_pdcp_sdap_u_plane(uint32_t *descbuf,
 		SHR_HDR(p, desc_share[cipherdata->algtype][authdata->algtype],
 			0, 0);
 	else
-		SHR_HDR(p, SHR_ALWAYS, 0, 0);
+		SHR_HDR(p, SHR_WAIT, 0, 0);
 
 	/* Construct the PDB */
 	pdb_type = cnstr_pdcp_u_plane_pdb(p, sn_size, hfn, bearer, direction,