Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp304952ybg; Wed, 3 Jun 2020 01:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyModtpLlYT/x9oFDoYvZ7Axe4wVbuK/4Ir+sZz/AI1NeoS3+VFEPRiSJsxKFpSZXApO6xQ X-Received: by 2002:a50:be8f:: with SMTP id b15mr29148520edk.182.1591171318501; Wed, 03 Jun 2020 01:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591171318; cv=none; d=google.com; s=arc-20160816; b=fH1qfQnW6o+3QowxCbE+D3ZR4JnzseOEvQCeQ2SZOlLL+OQe6flMI0IDTTL8tkd/Az OLsfsKulVH/D+OXm4pC0bc5z4LIWi0+OLEMEPM24hhrGLQCP0TyDv2qymGWzAlDVZMz1 +dc+YVDwPDV1+sHdWWsNcFcmy3CTnaAUzn/i0GUYGFp4z9AN8uixzrEgGHp3SQxkh2w0 61ofxbp9wlflMCiKbyDkZWeUkFw87aFPcc7vOnbhQW9A/U3NS0wOXbzoGwhfes1yFNJw ZLwsJiiTLfv1pS7p7UrD5ul0tMQevoSU9SiVFbJ9/m21W3J3JmGdRC6jTaDWeSXovWW1 GZkw== 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=07Kpr56aB3PFy6IWckMxSvdLdNklg9y3xgmgR9sXxKc=; b=Qzo5RItzy6l0DLG2CArQioc9cbKlJQg4so2nQOwjGCVAil//9WSTQMlXcPZs8CNKWu L1H09dZBKXCd7KrIijAPEneCFSQSyfV5+3W0mDr2fL1376UEsXmuCUZmyW6uvR7qr57C gEysivXz46g/XdfC5BMKL0YxXgznRlt4HLzrMuNFbvV20j04sKmwiYR4A6D50381k4yB Be4u9l2SCdTbTvDW5w1fQtphjy642hsnn7aC5EuR2YOYutCIwJDeCjcZ+nbVO1s3iNdO EQFYHGrNEW6YzYoIc0nOImPa0PzSaOt7Y0BO1wkkzP7zzx7Kipop/Wb3rLCX0RQq7gG5 oLsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BnoTwQqr; 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 gh7si727972ejb.81.2020.06.03.01.01.28; Wed, 03 Jun 2020 01:01:58 -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=BnoTwQqr; 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 S1725876AbgFCIBR (ORCPT + 99 others); Wed, 3 Jun 2020 04:01:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:62375 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725275AbgFCIBQ (ORCPT ); Wed, 3 Jun 2020 04:01:16 -0400 X-UUID: 4ca35eb9f2224bd58242cb8ba52937b9-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=07Kpr56aB3PFy6IWckMxSvdLdNklg9y3xgmgR9sXxKc=; b=BnoTwQqrI6c5pqUfBu6bW3IvXyHAyvA2720ByQBW2kMzuPTryV1OGWaGW6EPN/d+JDnayq5Aq++yoKmI5BFbYVhUO3hzR4KoXB9ig3nXUowlX/lB/GGbYbOOpPbvfTXCkU4HuBmzJu/JXrzBmjs763u2UubjwrzS2u0vValEcJk=; X-UUID: 4ca35eb9f2224bd58242cb8ba52937b9-20200603 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 172606472; Wed, 03 Jun 2020 15:54:18 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 15:54:16 +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:54:16 +0800 Message-ID: <1591170857.19414.5.camel@mtkswgap22> Subject: Re: Security Random Number Generator support From: Neal Liu To: Marc Zyngier CC: Neal Liu , Julius Werner , Ard Biesheuvel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Herbert Xu , Arnd Bergmann , "Greg Kroah-Hartman" , Sean Wang , , lkml , wsd_upstream , Rob Herring , Linux Crypto Mailing List , Matt Mackall , "Matthias Brugger" , Crystal Guo =?UTF-8?Q?=28=E9=83=AD=E6=99=B6=29?= , Linux ARM Date: Wed, 3 Jun 2020 15:54:17 +0800 In-Reply-To: References: <1591085678-22764-1-git-send-email-neal.liu@mediatek.com> <85dfc0142d3879d50c0ba18bcc71e199@misterjones.org> <1591169342.4878.9.camel@mtkswgap22> 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: X-Mailing-List: linux-crypto@vger.kernel.org T24g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