From patchwork Mon Jul 16 05:50: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: 141967 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2013021ljj; Sun, 15 Jul 2018 22:51:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfxSHCUz7YmMsYBN2GJzXX15syDU6fZRi6bPMPuu6fZ3FZ4MOTINWXEcVNovEqO6qPb4EIW X-Received: by 2002:a65:6143:: with SMTP id o3-v6mr14756132pgv.52.1531720270336; Sun, 15 Jul 2018 22:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531720270; cv=none; d=google.com; s=arc-20160816; b=OAymdMIhZof5CVOd2/32iXIaQS9gMqFHvrELXvJy8CWTyf7bCjFkj4W/8epQpnXIB4 oc4QtsSqXy857xPWBNn4VI6qU8vXTXiW55FvqwANxCcEykKu1tXBpQXJhp2V2A6cSJG/ FX84a1Z3XtDQJuSkPn9zWI+gxx225d/J1Psz5VsR3luMOHZzfzMJ62xSB+ier0uR9LM2 1xLK5tAr+qB9APW3fbX1pXng021OfVCc3nCZhyxyFn6OJglrcGdYTJavCI9AawxmsvFu f/vQebzwPRZDEdIQVUs37XZ/NaeCk7NclIes26uWK6tbPFu62FDvI4yS6Kq761Kz0h1o J03g== 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=TaLN/3gNvCV7i0bQIyuT3lq2mrcF7zXfE4z1fRkfHUw=; b=EwoSCHziNYp3CYA1ea41FozI6eurftsCD8qW59NZOCFUIoJNZ7+B2jTP4w8QFZfo1c LE3gAOXiUlGBtQendsWwINBtNqnB4LRZ5Z077BkQNjt/NMmOGhfgnkrsNgkVE9vaOCDY GGC0mbBDcuyYgA0pkf099xJPZi6MmP3WQBKgauYr2Z6NY9lTBoYFKAtQtbsvRpHgzkWp 256m+XbyViBs6wbZ+98ilIxG5rFgKWrgZ+IETbHzxBE7WN4bUscIC6R1vee8DC4v9ntf NHwzplTDxdwhBl020oAwlqDodHGAg2nrETO/kVNxAfpFn3VA3DYXK86Wm5E08D33YnCp mBwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="mgZV/h3f"; 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 a20-v6si6589657pls.237.2018.07.15.22.51.09; Sun, 15 Jul 2018 22:51:10 -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="mgZV/h3f"; 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 S1727144AbeGPGQt (ORCPT + 13 others); Mon, 16 Jul 2018 02:16:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:37084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbeGPGQt (ORCPT ); Mon, 16 Jul 2018 02:16:49 -0400 Received: from localhost.localdomain (unknown [122.178.242.94]) (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 626902086E; Mon, 16 Jul 2018 05:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531720268; bh=ztikrcWxt3P3ew0I7dgTEW37dce9JeGEg+HIoxyeRiE=; h=From:To:Cc:Subject:Date:From; b=mgZV/h3fEolgUUQiBkW/XSIUMCiXlP+B2qJ3KXCX/hoUg8eyB4VZOKPMCBMyK0Tg2 iU+IIXfUyIQymXSp4JnIayjyb3rFleSZa35f17aYNpRJhvODjLa9nWFrNrydYJFiRu jaeRrgBQ4lsZCvOH5+dQaddw6CzmcZaHWHA9Yv0c= From: Vinod Koul To: linux-crypto@vger.kernel.org Cc: Bjorn Andersson , Matt Mackall , Herbert Xu , linux-arm-msm@vger.kernel.org, Stephen Boyd , Timur Tabi , Jeffrey Hugo , Vinod Koul Subject: [PATCH v6 0/6] crypto: Add Qcom PRNG support Date: Mon, 16 Jul 2018 11:20:21 +0530 Message-Id: <20180716055027.3048-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 v6: - Fix a typo in kconfig. Remove of_device.h and add of.h header - Add review and tested tags 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