Skip to content

crypto: inside-secure: improve clock management

Gregory CLEMENT linux-arm-kernel linux-crypto stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: dts: marvell: armada-37xx: mark the gpio controllers as irq controller+0 -00 replies
3/3arm64: dts: armada-3720-espressobin: wire up LED2+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] crypto: inside-secure: improve clock management

Hi Herbert,

Quoted 16 lines · Herbert Xu
Quoted 8 lines · Gregory CLEMENT

Hi,

This short series fixes the way the clocks are used for the SafeXcel EIP-197 controller embedded in the Marvell Armada 7K/8K SoCs. On these SoCs a second one is needed in order to clock the registers. It was not noticed until now because we relied on the bootloader and also because the clock driver was wrong.

Quoted 6 lines

Thanks to this fix, it would be possible to fix the clock driver without introducing a regression.

While I was working on the clocks I found a bug in the clock management which was fixed with the first patch and should be applied to v4.16.

Quoted 6 lines

I haven't applied it to the crypto 4.16 tree because your other patches depend on it and I don't think the issue doesn't seem to be that severe.

In future it would help if you can avoid such dependencies if you wish the patches to go in as soon as possible.

Yes sure. And I agree with you, the issue is not that severe, so it can wait for 4.17.

Quoted 13 lines
Quoted 13 lines

The second patch is a small improvement which is aim for v4.17 as well as the last patch.

Thanks,

Gregory

Gregory CLEMENT (3):
crypto: inside-secure - fix clock management
crypto: inside-secure - improve clock initialization
crypto: inside-secure - fix clock resource by adding a register clock

Quoted 6 lines
Quoted 4 lines
 .../bindings/crypto/inside-secure-safexcel.txt     |  6 ++-
 drivers/crypto/inside-secure/safexcel.c            | 47 +++++++++++++++-------
 drivers/crypto/inside-secure/safexcel.h            |  1 +
 3 files changed, 38 insertions(+), 16 deletions(-)

All applied. Thanks.

Thanks

Quoted 4 lines
Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Signature · 3 lines
Gregory Clement, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com