From patchwork Wed Jul 4 11:44:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141562 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp705525ljj; Wed, 4 Jul 2018 04:45:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpee/8f5Tl8GgokXsQum1xE2QG8ILCilXYh8kGGlmqZeIhXM5R3SxSysZ4aCbANZ5XtN9fdZ X-Received: by 2002:a17:902:5a0c:: with SMTP id q12-v6mr1769928pli.300.1530704711735; Wed, 04 Jul 2018 04:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530704711; cv=none; d=google.com; s=arc-20160816; b=Qs5JShtNl+bXoBfXz+BuPXfb3S1ofc/0XlG9F7htwsq2h6kscUm590Bwnbvi6vciC2 9l7Eml0oJ2w1fMqs9QoptPwvilkwdIgsSsfA9hfYbDr59OqV5syUlMxFKrOFPloxL/9a T+XAOmuxaGHUB1nI7TyGvJuLGvHKE/huxtawi2ZL4Tf+s+vqgU3SMmwxA2TWwQEbQmyf XgphtJb2qOzFidvuIZ4r6S9oEBaPfhJKNNTEgVotbrx/yHz6tKAyyTq4CHGiis7Yo1Bh 5dj3BUbT5p39J8bXNeZe17WLuojYWWeGCQWA79d4RjTNA55b3w2ae5tRITS09eL9xX8o Jadw== 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=M2evVVZUyuLQFGRYiGBH+842CV6XaCeCWBxwsuDfApE=; b=AYscVcPAZ2ffnflCQxCZoEXdqVUo7hxOggWActQB/Ay3ZzgFf7B2p2tu75Pm8LQZ1D ZYIWQ0bxjBn5ZwKO3QnSNNzeWmrH7P7Ac7ySE1uG33UwaFii836aVb+U1Z0RNPAeRwiL S0mhZZzuKxKhaqqIAKweeAyjDkDmfOJlgImjGWXV8HQWdtPV9/hKhCao4FI54aVQCwFA wW3SAGDSEcS2e/SYF3mjISrZUeXmAf5x+X2JcnHwEeR59sZQThvBKs4EEZtV8Vgh82N4 vgRuVLVrSlRqSe44AI919PjDdH8929lHg0bQgcL7hrj8vPM8L4Mof+sHH1j46G1c7KBR snfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LPuVagFt; 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; dmarc=pass (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 d1-v6si3382484plj.448.2018.07.04.04.45.11; Wed, 04 Jul 2018 04:45:11 -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; dkim=pass header.i=@kernel.org header.s=default header.b=LPuVagFt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934075AbeGDLpK (ORCPT + 31 others); Wed, 4 Jul 2018 07:45:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:38546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933296AbeGDLpE (ORCPT ); Wed, 4 Jul 2018 07:45:04 -0400 Received: from localhost.localdomain (unknown [122.167.70.177]) (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 E8B7424376; Wed, 4 Jul 2018 11:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530704704; bh=l4VLYIZoXIjrkPdyhBPYhyd6MU44UigznT/mY87AzGA=; h=From:To:Cc:Subject:Date:From; b=LPuVagFt7YWr6T++suiu+gf4zWoIDbhh4UxEP7QJZMxEaYudHDZEp+okJlrVC1NMh mo0z+bsrfuIF4QaEjKlcNvHG1Ps54G7pwteII6ZxB5O0VtOFtzt+DyBbbGwbzEUUdw fNqWWDIk2i1GS31vHAg+REn0HnQnebzIDBnAzSyM= From: Vinod Koul To: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Stephen Boyd , Timur Tabi , Vinod Koul Subject: [PATCH v4 0/6] crypto: Add Qcom PRNG support Date: Wed, 4 Jul 2018 17:14:21 +0530 Message-Id: <20180704114427.29953-1-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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 | 237 +++++++++++++++++++++ 7 files changed, 252 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