Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp711566imm; Wed, 4 Jul 2018 04:46:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeEKRboVQJFuvho84o3frT6aVg57ZjDhTZcUjtVpQczabLO5NcDZiVC5K6FjaYlPuUgAuAG X-Received: by 2002:a63:1063:: with SMTP id 35-v6mr521800pgq.249.1530704784112; Wed, 04 Jul 2018 04:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530704784; cv=none; d=google.com; s=arc-20160816; b=FVwU49aDbk9nRoBkqBjy1HNbCjDRPnDQS/3sVKxCwVI8E3NZmC0/HRTD31fgmPooCm MM0lOLy5N5G1k+3XyO/Oca3GPEIcqGHqaGKM1dg1dS2fqvh1RaoK+hAeKdeNNaEDRsDe Lcr5L1O8C1YNO1X1fDpc84ea+P4HPnIgQDAE8vKF0+u4cxM5kLCqHP6jYFssl6UJJEuI 3x7jLvCRvd8nzMY+xxwkklU9Ge1tBokLrx0t8LlYSbgrQCAtAvj0NcEw7IGYaOq/f/TX Y/FgPPxVKZ59YCrr8Q8xDiG85ViQMRMVWRoIKPzxhaoGmXPYb8vK9MqT9a1Z5YeEJaaq hJCA== 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 w23-v6si1946602pgl.282.2018.07.04.04.46.09; Wed, 04 Jul 2018 04:46:24 -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 S934038AbeGDLpK (ORCPT + 99 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