Re: [PATCHv2 0/5] OMAP4: crypto support

From: Tero Kristo
Date: Tue Jun 13 2017 - 10:44:22 EST


On 13/06/17 17:24, Sebastian Reichel wrote:
Hi,

On Tue, Jun 13, 2017 at 04:49:18PM +0300, Tero Kristo wrote:
On 13/06/17 12:28, Sebastian Reichel wrote:
This adds crypto support for OMAP4, which was missing for some reason.
This fixes error about missing hwmod on Droid 4. IP-Cores for AES and
DES are working according to selftest.

Changes since PATCHv1:
* remove patch adding des_fck to DT
* add patch removing aes[12]_fck from DT
* add patch renaming hwmod aes to aes1 in DT
* update hwmod patches according to feedback from Tero
* add patch for aes2 hwmod

-- Sebastian

I just posted a few extra patches on top of this series, for adding
the missing dts data for aes2 and adding sham accelerator also.

Thanks :)

The dts data should be applied first if you want to avoid any
issues with hwmod core complaining about missing DT data, so the
sequencing of this series and mine need to be done carefully.

There is also a warning printed if DT references a missing hwmod
entry (that's how I noticed this in the first place). It's less
noisy, though. Since kernel builds and boots with any order and
crypto hardware does not work at the moment there is no real
problem with bisect. I suggest to merge the DTS patches normally
through the separate dt branch.

Yeah thats actually true also. Up to Tony to decide how he wants to handle these. The huge warning is mainly an annoyance.

-Tero