Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp289151ybg; Wed, 3 Jun 2020 00:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0L1SVWHPGx4uFt+exnE4zbTpKClP2WzXtuXMt002pdfMzpNjWZHHNXjoG6l5XvSEb1eaH X-Received: by 2002:aa7:c986:: with SMTP id c6mr26713541edt.335.1591169384114; Wed, 03 Jun 2020 00:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591169384; cv=none; d=google.com; s=arc-20160816; b=qw8wFWk/ppUBfu8hXWaoa5tQZUd3M3wnjAjrTjqCo/Qoc4d+oqSQnnJTYsOG1DIFlH 5siXUz2xfWY01tSBJ7wi6vN1Ni1WBs7PVaTnHAz7+gU6ZN8wAnoL5kZeOGZQRIMczvQN p3fBr8KoOenqijQAgcMEzQTvEXiQ9tVFpBpITv7OcPFY8hrFUba726TOjcS+UQwdXBGB j0Epv3p7bRYWdBMIj2AhKR/aubl0RV6zFuX5vlm/zA0SncGP+NrEXvTVigXUrglYx2te Q6RhDX02P2JoPkgk2ekRg2S0EtFQ88pMro/3e4cPc6vTojPkP01oFE4b/rLNOjxRh/D7 P0vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=uxJ/OyZIhvn8jO7euhdxxdoo6BqLiSJM0zglxbBqOos=; b=bGSzJaOJpg05eHK1hLA40V7TT7tWP4yDP5pjDsR3wjf4x5cgi9RK5JNa/gS1BMbknF z0vW5CcwqT7J11C9sXtqQ1UT917R1wLOB5V1tdvmoas6Hwv7snEA385sKy1kULl247q/ 0fAVg8bMWHAXlVYfNDTOGwSqLa3J4gUUunVf8KB9qR/emdTHEG24/v+2AWBxrO+Z1N2Q 4BH+A8e+WPUfV3Qwyc8GmMC0MYjWBxoSs4jg6e/nzXphquQbkRVHQXSJcEoUMDSEemf5 wnmI7la5nid5TYzsJ+srhztkw0I3bn9a/jVhLzSj4gX97lhiNtROrs+r+490uLtQza4C sXFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rsiYpbdr; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m27si642243ejd.630.2020.06.03.00.29.11; Wed, 03 Jun 2020 00:29:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rsiYpbdr; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725828AbgFCH3H (ORCPT + 99 others); Wed, 3 Jun 2020 03:29:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:6641 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725810AbgFCH3H (ORCPT ); Wed, 3 Jun 2020 03:29:07 -0400 X-UUID: 46bdbf9e4142415ea62346d624dd87a7-20200603 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=uxJ/OyZIhvn8jO7euhdxxdoo6BqLiSJM0zglxbBqOos=; b=rsiYpbdrvrTKk8pW+Ygso90z2A10JD7TpaJ9wdg6yWauTg7OT4Hw6IgcOEpu9vtFhCjL64pw7yMgy2sMrsE8tK5quGWduMsZI+iGlpkM0KyiC0grLkG+7Aq2sOQ2Dqodeo/S/GdP4dGfcFQZX2HhNDZkkobZQerRHTMBp+aW4Ik=; X-UUID: 46bdbf9e4142415ea62346d624dd87a7-20200603 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 526761993; Wed, 03 Jun 2020 15:29:03 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 15:29:02 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 3 Jun 2020 15:29:01 +0800 Message-ID: <1591169342.4878.9.camel@mtkswgap22> Subject: Re: Security Random Number Generator support From: Neal Liu To: Marc Zyngier , Julius Werner , Ard Biesheuvel CC: Neal Liu , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Herbert Xu , Arnd Bergmann , "Greg Kroah-Hartman" , Sean Wang , lkml , wsd_upstream , Crystal Guo =?UTF-8?Q?=28=E9=83=AD=E6=99=B6=29?= , "Rob Herring" , Linux Crypto Mailing List , Matt Mackall , "Matthias Brugger" , "linux-mediatek@lists.infradead.org" , Linux ARM Date: Wed, 3 Jun 2020 15:29:02 +0800 In-Reply-To: <85dfc0142d3879d50c0ba18bcc71e199@misterjones.org> References: <1591085678-22764-1-git-send-email-neal.liu@mediatek.com> <85dfc0142d3879d50c0ba18bcc71e199@misterjones.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID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