crypto:starfive: Switch CSR polling instead of interrupt for HMAC.
authorjiajie.ho <jiajie.ho@starfivetech.com>
Wed, 20 Jul 2022 03:20:55 +0000 (11:20 +0800)
committerjiajie.ho <jiajie.ho@starfivetech.com>
Wed, 20 Jul 2022 03:28:03 +0000 (11:28 +0800)
commit1f763da925c0a6e2ceac4bea7b27bacc774fe5ce
tree19833ac4238d063db3ecec747b396c8d6ece50c7
parent752096c0a136ab3cf1bbeca824ae10cf93bbf0d3
crypto:starfive: Switch CSR polling instead of interrupt for HMAC.

Observed interrupt signal goes HIGH before HMAC calculations
has been completed. Switching to use CSR polling to check for
HMAC_DONE instead.

Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
drivers/crypto/starfive/jh7110/jh7110-regs.h
drivers/crypto/starfive/jh7110/jh7110-sha.c
drivers/crypto/starfive/jh7110/jh7110-str.h