Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7949418imm; Thu, 28 Jun 2018 11:55:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIJt0sMgUsALcUWK0VxWgD9wr5m11asMtpwpoxhitbTE9djteVdeARx5b4c6XsturvKohul X-Received: by 2002:a17:902:b907:: with SMTP id bf7-v6mr11812220plb.331.1530212143382; Thu, 28 Jun 2018 11:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530212143; cv=none; d=google.com; s=arc-20160816; b=u/ZhQGu28/Lc7haZ/sj6gamk2Mj3PPgJjro98F0lPhffXktzQpnj3R2bCAGRKQloky UUW1VTz3rL6gLIwnUnmpJJJHXLMkwu7ygaCrwrJyWkZmEalyriYXeaKYB/AoCSE46PEn aK+4Jzil/Rs4RZTYwm/8xKwWf+YsbAOOcM8M7b0QDDWYvNV8Pho4JN1rBCqyariCuD0H J3SECDPZnK7A9ZbaavhHzYBfvNSsKuOIpkbcQtTxih7kuiw2gYkYwxKnc+IvtKKU630g J+3DswNVee0vC/NeEYK+knX5fhvSCJBDM66koLWo5KFU/nZ1RXRyWy5jduFp42q55obb mWqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZeNI7q/Z32gMtgjX8HPQLrMuUv5rFoY5a48Jm0KTTic=; b=UI2bBEo2fhX3XOeHxq+SB/v2E9yews6o5fUUKZpfQmmBE+Oh+pThKe7WOY7Tqfi9K7 7/zWb6PPxWFo72l/ixhheq3J7aBItamBWepfAwRZj4HlNsBAogtkMhq0jVg2h2VI6c8v vtlCpG6PNg8gs40XWVwBb08vgiBFZ+3RYctwjYeNpNfwtvUXyuqjCHe/yqQo0M5NjiOX WjG+SeTKUJyrgLbGjQpxPr6/hpTJTvICDJvhb68yNG1hiNQ9vDX/thEP1Wa2CtQ5wiqd RtF4I/b569vIAEzJTBDxST8aQwr8ftV+zV8NR4hLlO3Av3mrg9oU/Vzc0bBm+7BmIXkR dDqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si7132401plf.383.2018.06.28.11.55.28; Thu, 28 Jun 2018 11:55:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967039AbeF1PUE (ORCPT + 99 others); Thu, 28 Jun 2018 11:20:04 -0400 Received: from mail.bootlin.com ([62.4.15.54]:53295 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964967AbeF1PUD (ORCPT ); Thu, 28 Jun 2018 11:20:03 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id E7D5C203B4; Thu, 28 Jun 2018 17:20:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (nat.foo.tf [163.172.35.26]) by mail.bootlin.com (Postfix) with ESMTPSA id BC60D203B4; Thu, 28 Jun 2018 17:20:00 +0200 (CEST) From: Antoine Tenart To: herbert@gondor.apana.org.au, davem@davemloft.net, gregory.clement@bootlin.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com Cc: Antoine Tenart , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, maxime.chevallier@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, oferh@marvell.com, igall@marvell.com Subject: [PATCH 00/14] crypto: inside-secure - EIP197d support Date: Thu, 28 Jun 2018 17:15:30 +0200 Message-Id: <20180628151544.22134-1-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This series introduces the EIP197d engine support to the Inside Secure SafeXcel cryptographic engine driver. In order to support this new engine, the driver has to be reworked in some ways: - The firmwares are specific to a given version of an EIP engine: they must be stored in a version specific folder. - The compatibles have to be reworked, to denote the exact version of the engine being used. Note that we kept the backward compatibility. - Not all algorithms are supported by all versions of the EIP engine. Some improvements were also made to the driver, to fully embrace the capabilities of this new EIP197d engine, and to improve the existing support. Please note the DT patches (13/14 and 14/14) should go through the mvebu tree. Thanks! Antoine Antoine Tenart (9): crypto: inside-secure - move the firmware to a better location crypto: inside-secure - use precise compatibles Documentation/bindings: crypto: inside-secure: update the compatibles crypto: inside-secure - filter out the algorithms by engine crypto: inside-secure - add an invalidation flag crypto: inside-secure - eip197d support Documentation/bindings: crypto: inside-secure: eip197d support arm64: dts: marvell: armada-cp110: update the crypto engine compatible arm64: dts: marvell: armada-37xx: update the crypto engine compatible Ofer Heifetz (5): crypto: inside-secure - dynamic ring configuration allocation crypto: inside-secure - add multiple processing engine support crypto: inside-secure - adjust the TRC configuration for EIP197D crypto: inside-secure - reset CDR and RDR rings on module removal crypto: inside-secure - set tx_max_cmd_queue to 32 .../crypto/inside-secure-safexcel.txt | 15 +- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 2 +- drivers/crypto/inside-secure/safexcel.c | 363 ++++++++++++------ drivers/crypto/inside-secure/safexcel.h | 136 ++++--- .../crypto/inside-secure/safexcel_cipher.c | 23 +- drivers/crypto/inside-secure/safexcel_hash.c | 18 +- drivers/crypto/inside-secure/safexcel_ring.c | 10 +- 8 files changed, 370 insertions(+), 199 deletions(-) -- 2.17.1