soc: qcom: ice: Support IP version beyond v3
PATCH 1/1 soc: qcom: ice: Support IP version beyond v3
From: Manivannan Sadhasivam <[email protected]>
This driver currently supports Inline Crypto Engine (ICE) IP version 3 and
4. But this driver fully supports v5 and should support upcoming versions as well. So extend the version check to support versions 3 and beyond.
--- drivers/soc/qcom/ice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soc/qcom/ice.c +2 -2
@@ -121,8 +121,8 @@ static bool qcom_ice_check_supported(struct qcom_ice *ice)int minor =FIELD_GET (GENMASK (23 ,16 ), regval);int step =FIELD_GET (GENMASK (15 ,0 ), regval); -/* For now this driver only supports ICE version 3 and 4. */ -if (major !=3 && major !=4 ) { +/* Support ICE version 3 and above. */ +if (major <3 ) {dev_warn (dev,"Unsupported ICE version: v%d.%d.%d\n" , major, minor, step);return false;
Signature · 1 line
2.43.0
Quoted 8 lines · Manivannan Sadhasivam
From: Manivannan Sadhasivam <[email protected]>
This driver currently supports Inline Crypto Engine (ICE) IP version 3 and
4. But this driver fully supports v5 and should support upcoming versions as well. So extend the version check to support versions 3 and beyond.Signed-off-by Manivannan Sadhasivam <[email protected]>---
Konrad
Quoted 5 lines · Manivannan Sadhasivam
This driver currently supports Inline Crypto Engine (ICE) IP version 3 and
4. But this driver fully supports v5 and should support upcoming versions as well. So extend the version check to support versions 3 and beyond.
Applied, thanks!
[1/1] soc: qcom: ice: Support IP version beyond v3
commit: c709c76f4cf1d8646362f5a00ce8da1bd8ed58d7
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>