From patchwork Mon Jul 9 06:19:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141546 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2284284ljj; Sun, 8 Jul 2018 23:20:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdKP6O3QbV2FGia3XdaxIdzJvP0lD5DUUMZoesEIyd6rnYZlgJ4PQknfZM3aJI9854zO3PZ X-Received: by 2002:a17:902:b28c:: with SMTP id u12-v6mr18967693plr.16.1531117206097; Sun, 08 Jul 2018 23:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531117206; cv=none; d=google.com; s=arc-20160816; b=tVByhvM3OGCgVYOp64MFb0WSAq5atcGwsthz5E3EYCJZc04V5+hjWiVfLfu0QtthNN xCEbNutzVrrQWKtpxlvN7gNuy2n9cOGYVreGw4K0f4M419oalyyF96BsHLRVOUqfoRUN 6zVnl6eCwaApEl/23UigiQFqFk8RAJs1tNZITENx5zQ39M54WXwUuSYdoJm5V2VJq2lh ot32uL+8LzS5k53w7j/2n+monX2EnttQH2A/7EWM6+EyNmU9GFYHi9layStmVdnQvfq9 hfvCc7KrjQju6WWeXcBGoXPC9F0hc+ZfwwCxhVwHIWDGnjwdGM4e6lOGapTPYEtRIX/K D9Bg== 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 :dkim-signature:arc-authentication-results; bh=6xHc94dMyAoRPDpeZsXXT9+3bXGOW+2VQu3TfuWiQik=; b=p6UvmSaJ7Rro6zO1RMVLgrfLl90pEID41KGGrGBqBHAucBLqIwO+qTPDGnMYH5XF1m odz8oh94Rzg8KL90FSBcNa+Lhr+3/EcPQORjGw8jEUI/cVH2kw/EjHsCoDchqkzY+U6B EpKzLkS6yVQJX4+w2gxp0yOT/mK2VD10tKGwrdWHPMiGx60xJiNd0uQOEMSeaCeZh3Fi FwbtdndCbelH15aqQGjL83V9XM+XHk3gpbFO+FjI7l/T8FJyU6czhsoOBRvhnKM1C2RB wpQn01LUf5z6B5L7sB+u+x7QH8z5Z23/3VS1AjXPIzuPJDPfsNL8ZA7MeWQsToRAvyt6 Xf0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="gKm/a8Of"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a36-v6si13804542pla.207.2018.07.08.23.20.05; Sun, 08 Jul 2018 23:20:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="gKm/a8Of"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754200AbeGIGUE (ORCPT + 13 others); Mon, 9 Jul 2018 02:20:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:45366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbeGIGUE (ORCPT ); Mon, 9 Jul 2018 02:20:04 -0400 Received: from localhost.localdomain (unknown [106.201.46.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8FC74208AF; Mon, 9 Jul 2018 06:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531117203; bh=dq/aBqrRZK0ztleYdXJD/4A7IoGqTeVpT7o6G/ns3PQ=; h=From:To:Cc:Subject:Date:From; b=gKm/a8OfMEnhbdvElXVGtlU6U9PFdhfdxSjzvGZ+pZaTzko8+fjvD9oNwfiYTImSE kITFCo+dHjIjjxDUmdXgr8wb4jRZJzlVvI3QHVnPLcYQCYc5E+TjDNjWe13ObQPgGf TTBR00/vg94P6qsb/49h5CFEkVGLVyvpI2g/AsdA= From: Vinod Koul To: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Matt Mackall , Herbert Xu , Arnd Bergmann , linux-arm-msm@vger.kernel.org, Stephen Boyd , Timur Tabi , Jeffrey Hugo , Vinod Koul Subject: [PATCH v5 0/6] crypto: Add Qcom PRNG support Date: Mon, 9 Jul 2018 11:49:19 +0530 Message-Id: <20180709061925.20276-1-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series removes the hwrng qcom driver and replaces it with crypto qcom driver and then adds support for Execution Environment (EE) found in v2 version of the hardware and ACPI support for these Changes in v5: - Update ACPI check and use generic driver data API Changes in v4: - Use memcpy for data copy - Fix trailing bytes copy - Fix ACPI ID table name Timur Tabi (1): crypto: qcom: Add ACPI support Vinod Koul (5): hwrng: remove msm hw_random driver dt-bindings: crypto: Move prng binding to crypto crypto: Add Qcom prng driver dt-bindings: crypto: Add new compatible qcom,prng-ee crypto: qcom: Add support for prng-ee .../bindings/{rng => crypto}/qcom,prng.txt | 4 +- drivers/char/hw_random/Kconfig | 13 -- drivers/char/hw_random/Makefile | 1 - drivers/char/hw_random/msm-rng.c | 183 ---------------- drivers/crypto/Kconfig | 11 + drivers/crypto/Makefile | 1 + drivers/crypto/qcom-rng.c | 229 +++++++++++++++++++++ 7 files changed, 244 insertions(+), 198 deletions(-) rename Documentation/devicetree/bindings/{rng => crypto}/qcom,prng.txt (73%) delete mode 100644 drivers/char/hw_random/msm-rng.c create mode 100644 drivers/crypto/qcom-rng.c -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html