Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp194598imm; Sun, 8 Jul 2018 23:21:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfZNhv7i4GmIRKhEfkmYruwoYr8jNKQ+tmsxw8/BoXhk+HCl2Nsft65y+7yXsRjIjdQfYIl X-Received: by 2002:a65:62cd:: with SMTP id m13-v6mr17649787pgv.280.1531117269249; Sun, 08 Jul 2018 23:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531117269; cv=none; d=google.com; s=arc-20160816; b=dPMme5HmzvtuNlvhfPOBSr8IbHoWDyVVCIeuE4VQSgFkLMu3LHrTaz3Gkm/8o9s0qI t5RGTiOYEcg9Kvlx9sfVfQtcTNdWPpEPj+2WM0glekE11nvbO/eIb4arnWxyX3Dk4rYT ZJHouqDU28vScn4YcjkjTzSSwhgS1SrK1AlUCy55ovofQRkubr2AXxJsY6I/pXeYt7Ef c/LKK6R51b7d5Z+ScL5RleWp6sQKO2KbWAQqi9mrwW7jXA1uZNOBjV+5tpG+5pdFhwdI tRZLaICwC0TaV06GJuGcDl1NOWQfnqZYXy1/jyApjfHT4DCeSCcZ5P1b9rb0G99RHBhJ V72A== 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=z2B7Ca9iciD2zauhGOJLqybt/hZqnoCac0VtM5DzR/U=; b=O9f0oKqaV+nrvO1RvJ7CqJ6dGi8kqEzRFGUkZ2jkGtjkEtZq7s8SI3TdMcuI8zuRLd tcazrFEe1a2YtmFI+8r/FMFmOGUTyKmTedp7wL73KBHIx/ssAGZOgDxXYmr7cxE8upsW 5HOrYoKCJvZp/qQNYpWcQD9BUJJOZngj2l3WSi8cPMcbJTNmoHCOn6KhFLF2k34nPslF LH9hOtNXFn9KKoZZa6LnyJYuh+0m0XnyW2SfAD2Zu8DH7NWvQuCFxSHwVHzxyb5p3diU LKXPfpvOmrlOWNcvRGq03+qaBUdGzszchFgkSxLfHAvFhvhFarLB69kD9SdX3sTia/+v xxMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gKm/a8Of"; 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 j190-v6si13715872pfb.211.2018.07.08.23.20.54; Sun, 08 Jul 2018 23:21:09 -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="gKm/a8Of"; 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 S1754523AbeGIGUF (ORCPT + 99 others); Mon, 9 Jul 2018 02:20:05 -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-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 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