From: Linus Walleij <linus.walleij@linaro.org>
To: linux-crypto@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>
Cc: phone-devel@vger.kernel.org, Stefan Hansson <newbyte@disroot.org>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH v3 00/16] Ux500 hash cleanup
Date: Tue, 16 Aug 2022 16:00:33 +0200 [thread overview]
Message-ID: <20220816140049.102306-1-linus.walleij@linaro.org> (raw)
This has been very sparingly maintained the last few years,
but as it happens an active user appeared and sent me a
bug report, so here is a series cleaning up the driver
so we can maintain it going forward.
Most patches are modernizations, using new frameworks and
helpers.
The expensive self tests are passing fine after this series.
I think it is a bit too big to backport to stable :/
But please put it in as non-urgent fix.
If this goes well the plan is to do the same for the crypto
driver which has all the same problems.
ChangeLog v2->v3:
- Rebase on v6.0-rc1
- Use accelerated noinc regmap MMIO
ChangeLog v1->v2:
- Iron out some minor runtime bugs.
- Fix a regmap initialization error.
- Fix up to use runtime PM and drop custom power states.
Linus Walleij (16):
crypto: ux500/hash: Pass ctx to hash_setconfiguration()
crypto: ux500/hash: Get rid of custom device list
crypto: ux500/hash: Pass context to zero message digest
crypto: ux500/hash: Drop custom state save/restore
crypto: ux500/hash: Drop bit index
crypto: ux500/hash: Break while/do instead of if/else
crypto: ux500/hash: Rename and switch type of member
crypto: ux500/hash: Stop saving/restoring compulsively
crypto: ux500/hash: Get rid of state from request context
crypto: ux500/hash: Implement .export and .import
crypto: ux500/hash: Drop custom uint64 type
crypto: ux500/hash: Drop regulator handling
crypto: ux500/hash: Convert to regmap MMIO
crypto: ux500/hash: Use AMBA core primecell IDs
crypto: ux500/hash: Implement runtime PM
crypto: ux500/hash: Use accelerated noinc MMIO
drivers/crypto/ux500/Kconfig | 1 +
drivers/crypto/ux500/hash/hash_alg.h | 262 ++----
drivers/crypto/ux500/hash/hash_core.c | 1152 ++++++++++---------------
3 files changed, 533 insertions(+), 882 deletions(-)
--
2.37.2
next reply other threads:[~2022-08-16 14:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 14:00 Linus Walleij [this message]
2022-08-16 14:00 ` [PATCH v3 01/16] crypto: ux500/hash: Pass ctx to hash_setconfiguration() Linus Walleij
2022-08-16 14:00 ` [PATCH v3 02/16] crypto: ux500/hash: Get rid of custom device list Linus Walleij
2022-08-16 14:00 ` [PATCH v3 03/16] crypto: ux500/hash: Pass context to zero message digest Linus Walleij
2022-08-16 14:00 ` [PATCH v3 04/16] crypto: ux500/hash: Drop custom state save/restore Linus Walleij
2022-08-16 14:00 ` [PATCH v3 05/16] crypto: ux500/hash: Drop bit index Linus Walleij
2022-08-16 14:00 ` [PATCH v3 06/16] crypto: ux500/hash: Break while/do instead of if/else Linus Walleij
2022-08-16 14:00 ` [PATCH v3 07/16] crypto: ux500/hash: Rename and switch type of member Linus Walleij
2022-08-16 14:00 ` [PATCH v3 08/16] crypto: ux500/hash: Stop saving/restoring compulsively Linus Walleij
2022-08-16 14:00 ` [PATCH v3 09/16] crypto: ux500/hash: Get rid of state from request context Linus Walleij
2022-08-16 14:00 ` [PATCH v3 10/16] crypto: ux500/hash: Implement .export and .import Linus Walleij
2022-08-25 9:30 ` Herbert Xu
2022-09-13 19:14 ` Linus Walleij
2022-09-18 3:16 ` Herbert Xu
2022-08-16 14:00 ` [PATCH v3 11/16] crypto: ux500/hash: Drop custom uint64 type Linus Walleij
2022-08-16 14:00 ` [PATCH v3 12/16] crypto: ux500/hash: Drop regulator handling Linus Walleij
2022-08-16 14:00 ` [PATCH v3 13/16] crypto: ux500/hash: Convert to regmap MMIO Linus Walleij
2022-08-16 14:00 ` [PATCH v3 14/16] crypto: ux500/hash: Use AMBA core primecell IDs Linus Walleij
2022-08-16 14:00 ` [PATCH v3 15/16] crypto: ux500/hash: Implement runtime PM Linus Walleij
2022-08-16 14:00 ` [PATCH v3 16/16] crypto: ux500/hash: Use accelerated noinc MMIO Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220816140049.102306-1-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=newbyte@disroot.org \
--cc=phone-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).