Received: by 10.223.176.5 with SMTP id f5csp706612wra; Fri, 2 Feb 2018 04:55:59 -0800 (PST) X-Google-Smtp-Source: AH8x22525jz2r088BzWjcHlrpKuyWPuCxyL7lEMb4+TOJIuhdvfGN0UcJVtSu/0qDF3+PaDcE7Ls X-Received: by 10.98.253.5 with SMTP id p5mr40351739pfh.132.1517576159161; Fri, 02 Feb 2018 04:55:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517576159; cv=none; d=google.com; s=arc-20160816; b=ORbmeDHbJq8eS78qvMOeP5TOXVCwh4kxVfaGFMRYUFwz8HKLDHuNSalMTgTQOTrIG8 MkTEIcEqkXdoIlFJmda/VKsh8vhSU/DDY0FFve8tC0k39JTnuSc4Tjt8FSH5YyQE7BG/ u5+pkgB3OpgXsRHlg5ISK6kcxYMQTrMRR8adzmioGYMxsVvnW+tMLj2EUXvKyJTMAr8X ZpRHp95eMQTYBYkwUo1saUBhLfFwxsqq/YNt/Jqzl6eh/WxuTHjnNU/9QNJ/rHntNa1Y 2TacE1vMNGoMBc8kTNrLrD5cuqsXRe+vBGylvfu/DX1IuIwMbBKeXet/ZqsxFGTGuyX5 bBsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=nXjE45WXI96cgXI9k/yuES4L5Qlfo2hdosia/SItlw4=; b=OKbgUv3yXMq3El4Qc6pOxal8XM+HtCLLQXYf81u4t7UkgcawgHQ5OEOo6EcfqiTV9C JAvlhNsyLEMAh95kKf0BGNZu+wH3/sdHOQoEWbJ9m7XEbOahFH49FhtFUQaJobmsdbY2 ltyrXjKqMWcUvLQpAYkQWfZc8viHdEPcdc7vnIVeKy/2BQb/aqrVY+Vxuegwvod5qtbB 1WzFq1GtRxlfWxpex0jXY1koD8xZmxc8jwgirRwF9GzjfROKG/0l6Eptz+8fCGOtHCp7 Yt1RY0KcgkJnAHMyB5cfADc55S4bsZhbAgpKg+nQDNBDiGQV2jMsC6fce97xqEiB8EiK xpYQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11-v6si1752357plm.734.2018.02.02.04.55.44; Fri, 02 Feb 2018 04:55:59 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751992AbeBBMyf (ORCPT + 99 others); Fri, 2 Feb 2018 07:54:35 -0500 Received: from mail-edgeka24.fraunhofer.de ([153.96.1.24]:43233 "EHLO mail-edgeKA24.fraunhofer.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbeBBMya (ORCPT ); Fri, 2 Feb 2018 07:54:30 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GiAAAuXnRa/xoBYJldGQEBAQEBAQEBA?= =?us-ascii?q?QEBAQcBAQEBAYNRZnAyg1uKJHSNOoICl0iCGAojhRgCGoIeVBgBAQEBAQEBAQI?= =?us-ascii?q?DaCiCa3gBAQEBAQEBAQFMAg1eAQUjEUUQAgEIGAICJgICAjAVEAIEAQ2KOQEQr?= =?us-ascii?q?zCCJ4QWAQGEXYF9AQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWBD4NagQ6BB4FYhRW?= =?us-ascii?q?FOYMAgmUFil+JW49kBgKBHYZ6jVeCHoYlg2yIBY1qigeBPB86gVBxgxiDCYEyA?= =?us-ascii?q?TqMDoEXAQEB?= X-IPAS-Result: =?us-ascii?q?A2GiAAAuXnRa/xoBYJldGQEBAQEBAQEBAQEBAQcBAQEBAYN?= =?us-ascii?q?RZnAyg1uKJHSNOoICl0iCGAojhRgCGoIeVBgBAQEBAQEBAQIDaCiCa3gBAQEBA?= =?us-ascii?q?QEBAQFMAg1eAQUjEUUQAgEIGAICJgICAjAVEAIEAQ2KOQEQrzCCJ4QWAQGEXYF?= =?us-ascii?q?9AQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWBD4NagQ6BB4FYhRWFOYMAgmUFil+JW?= =?us-ascii?q?49kBgKBHYZ6jVeCHoYlg2yIBY1qigeBPB86gVBxgxiDCYEyATqMDoEXAQEB?= X-IronPort-AV: E=Sophos;i="5.46,448,1511823600"; d="scan'208";a="4684562" Received: from mail-mtaka26.fraunhofer.de ([153.96.1.26]) by mail-edgeKA24.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2018 13:54:26 +0100 X-IronPort-AV: E=Sophos;i="5.46,448,1511823600"; d="scan'208";a="8930245" Received: from fgdemucivp01ltm.xch.fraunhofer.de (HELO FGDEMUCIMP11EXC.ads.fraunhofer.de) ([192.88.97.16]) by mail-mtaKA26.fraunhofer.de with ESMTP/TLS/AES256-SHA; 02 Feb 2018 13:54:25 +0100 Received: from FGDEMUCIMP01EXC.ads.fraunhofer.de ([10.80.232.40]) by FGDEMUCIMP11EXC.ads.fraunhofer.de ([10.80.232.42]) with mapi id 14.03.0339.000; Fri, 2 Feb 2018 13:54:25 +0100 From: "Auer, Lukas" To: "linux-kernel@vger.kernel.org" , "aymen.sghaier@nxp.com" , "horia.geanta@nxp.com" , "pure.logic@nexus-software.ie" , "linux-crypto@vger.kernel.org" CC: "peng.fan@nxp.com" , "davem@davemloft.net" , "ryan.harkin@linaro.org" , "fabio.estevam@nxp.com" , "rui.silva@linaro.org" , "herbert@gondor.apana.org.au" Subject: Re: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is already initialized Thread-Topic: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is already initialized Thread-Index: AQHTmjdPDFt5DoJeZkev9KNOEKfDKqOQ6pcAgAAaHIA= Date: Fri, 2 Feb 2018 12:54:24 +0000 Message-ID: <1517576063.2002.19.camel@aisec.fraunhofer.de> References: <1517364040-27607-1-git-send-email-pure.logic@nexus-software.ie> <1517364040-27607-3-git-send-email-pure.logic@nexus-software.ie> <78ad6a62-190c-e4fe-dd23-e1d058f9bbb2@nexus-software.ie> In-Reply-To: <78ad6a62-190c-e4fe-dd23-e1d058f9bbb2@nexus-software.ie> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.80.233.51] x-tm-as-product-ver: SMEX-11.0.0.4179-8.200.1013-23636.006 x-tm-as-result: No--13.628400-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="utf-8" Content-ID: <319A159D028DB7489AE7EEE5F58C047B@xch.fraunhofer.de> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTAyLTAyIGF0IDExOjIwICswMDAwLCBCcnlhbiBPJ0Rvbm9naHVlIHdyb3Rl Og0KPiBPbiAwMS8wMi8xOCAxMjoxNiwgSG9yaWEgR2VhbnTEgyB3cm90ZToNCj4gPiBJZiB0aGUg bG9vcCBjYW5ub3QgZXhpdCBiYXNlZCBvbiB2YWx1ZSBvZiAicmV0IiAhPSAtRUFHQUlOLCB0aGVu IGl0DQo+ID4gbWVhbnMNCj4gPiBjYWFtX3Byb2JlKCkgd2lsbCBldmVudHVhbGx5IGZhaWwgZHVl IHRvIHJldCA9PSAtRUFHQUlOOg0KPiA+IAlpZiAocmV0KSB7DQo+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