public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Enable CAAM on i.MX7s fix TrustZone issues
@ 2018-02-22 14:22 Rui Miguel Silva
  2018-02-22 14:22 ` [PATCH v4 1/4] crypto: caam - Fix null dereference at error path Rui Miguel Silva
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Rui Miguel Silva @ 2018-02-22 14:22 UTC (permalink / raw)
  To: horia.geanta, aymen.sghaier, Herbert Xu
  Cc: linux-crypto, linux-kernel, Ryan Harkin, Bryan O'Donoghue,
	Rui Miguel Silva

For v4 I am taking over this patch series as all the left over patches were
implemented by me.

V4:
- removed patch: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is
already initialized from the series since Horia presented a better fix for the
 endless loop in case of fail to acquire DECO:
 225ece3e7dad4 crypto: caam - fix endless loop when DECO acquire fails
- add Fabio Estevam reviewed by tag in PATCH 3/3.
- removed CAAM ERA from dts since bootloader will add it - Horia.

V3:
- Added Cc: clk driver maintainers - Fabio Estevam
- Added Cc: i.MX arch maintainers - Fabio Estevam
- Removed bouncing email address for Herbert Xu

V2-resend:
- Patch 0005 lost in the ether - resending

V2:
- Endian detection is ok with TrustZone enabled Horia.
  Endian detection logic tested with TrustZone enabled. The register that
  this relies on though isn't affected by the lock-down in the first page.
  Assuming set of affected registers is actually just the 'deco' registers
  though there is no formal statement of that, that I am aware of.

- Moving of TrustZone work-around into u-boot
  This set actually doesn't need to deal with TrustZone at all now but, for
  the sake of consistency keeping thread title

  https://patchwork.ozlabs.org/patch/866460/
  https://patchwork.ozlabs.org/patch/866462/
  https://patchwork.ozlabs.org/patch/865890/

- Reworded endless loop fix to read a bit better

- Fixes to DTS additions - Rui

- Fixes to number of clocks declared - Rui

V1:
This patch-set enables CAAM on the i.MX7s and fixes a number of issues
identified with the CAAM driver and hardware when TrustZone mode is
enabled.

The first block of patches are simple bug-fixes, followed by a second block
of patches which are simple enabling patches for the i.MX7Solo - note we
aren't enabling for the i.MX7Dual since we don't have hardware to test that
out but it should be a 1:1 mapping for others to enable when appropriate.

Cheers,
    Rui

Rui Miguel Silva (4):
  crypto: caam - Fix null dereference at error path
  crypto: caam - do not use mem and emi_slow clock for imx7x
  clk: imx7d: add CAAM clock
  ARM: dts: imx7s: add CAAM device node

 arch/arm/boot/dts/imx7s.dtsi            | 30 +++++++++++++++++++++++
 drivers/clk/imx/clk-imx7d.c             |  1 +
 drivers/crypto/caam/ctrl.c              | 42 +++++++++++++++++++--------------
 include/dt-bindings/clock/imx7d-clock.h |  3 ++-
 4 files changed, 57 insertions(+), 19 deletions(-)

-- 
2.16.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-02 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22 14:22 [PATCH v4 0/4] Enable CAAM on i.MX7s fix TrustZone issues Rui Miguel Silva
2018-02-22 14:22 ` [PATCH v4 1/4] crypto: caam - Fix null dereference at error path Rui Miguel Silva
2018-02-22 14:22 ` [PATCH v4 2/4] crypto: caam - do not use mem and emi_slow clock for imx7x Rui Miguel Silva
2018-02-22 14:22 ` [PATCH v4 3/4] clk: imx7d: add CAAM clock Rui Miguel Silva
2018-02-22 14:22 ` [PATCH v4 4/4] ARM: dts: imx7s: add CAAM device node Rui Miguel Silva
2018-02-28  1:41   ` Shawn Guo
2018-03-02 16:44 ` [PATCH v4 0/4] Enable CAAM on i.MX7s fix TrustZone issues Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox