There are (at least) two platforms which have SEC < 5 but the new RNG4 block. These platforms are BSC 9131 and BSC 9132 (that I know of so far). Thus the condition in the caam driver which checks for the version of the SEC block to decide if further initialization of the RNG block is needed or not is not always correct. This set of patches should fix this by adding support for retrieving the version of the RNG block and executing the intialization of it depending if it is greater or equal than 4. Alex Porosanu (2): crypto: caam - support for RNG version retrieval crypto: caam - fix RNG init for SEC with RNG version greater than 4 drivers/crypto/caam/ctrl.c | 15 +++++++++++++-- drivers/crypto/caam/regs.h | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 2 deletions(-) -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html