Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp402420ybl; Wed, 11 Dec 2019 21:14:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzIWyZbQ8o+n6ZWfHJrjJANkyIPTp1Io4ux+8rDE9q7bneanCAvBtoyHmOviUd+yhx+i+ZU X-Received: by 2002:a05:6830:1d7b:: with SMTP id l27mr5695033oti.251.1576127659885; Wed, 11 Dec 2019 21:14:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576127659; cv=none; d=google.com; s=arc-20160816; b=aZj2injhD/k0yBKqQts1F89Wx4Ek/YF+ikucslRwzuPMGkQXT1nqfKhORDMe5AlC7n 2+7Fs4z/TtaZZVAh+tEjhjuqwMLpC61NJPH0OT4IbviqNe7Zg0RlV0hz0+vCnydyKobn hmDCuUS9O7dxD7Im5mcm0HLPqVPUTvg1Kw63kurADrksKg2X6X0NfuBsiHkbGvuYeCmp WrJcPW34thKZgeS7XkHYXXtFY7gJB9gzM+tNwW53l7E3lyfIPHBSRRc1HBpd4tG7gCLT LL6leYrlHaA7fXnUu4ltTtpdAFJm7ZoUJlNmAeVzD505HmqjgW7oTpEtArpNn80LpDp8 Y/dg== 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=RH3N4/Myeg9e4TIYQEyUEpEdg2os6y04iBsq0O3Go64=; b=vWg3cQrLK91AIzMXivORqUHCWAmhR2FNCzopuQ76G7PL3s3dO+/55+72kInlHrgera Uw1nZhnuo9fmGM+LXCBSnmfRO1nbFUNgvcSez/6BGwAUcn4xoY03hcd6JFYSW6otZyDG vOV3zx2CK9pnJYF3ZFJZR4fMXLcO2y2u65e/os+EgQyDDPputHnWYeSURoVHKxRaJIjZ vajxknG/+uXsvC/B8/09LwPjj68hLgFYsPMFf/OctVFb8+pGizXl0HNE5Up72iv7uH/a ixIyEm/ti3yOnyYzJRDfBpDR63w2LK7pN9nhPV1sL9XF9FWV4fRE6GLet1jgoKMT+AEo YLsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=YCgcz9bc; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s206si2585639oib.73.2019.12.11.21.13.57; Wed, 11 Dec 2019 21:14:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@mediatek.com header.s=dk header.b=YCgcz9bc; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 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 S1726713AbfLLFNi (ORCPT + 99 others); Thu, 12 Dec 2019 00:13:38 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:57462 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726680AbfLLFNi (ORCPT ); Thu, 12 Dec 2019 00:13:38 -0500 X-UUID: a90999917e1047b48b74d47f96834312-20191212 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=RH3N4/Myeg9e4TIYQEyUEpEdg2os6y04iBsq0O3Go64=; b=YCgcz9bc+PAVRpWHAXIyZ1NulimYwwu15Mo4Okf9w/0MVb64NiMvUGi1XmvxDZe+j7RaUXdGzUity7h2DR8Px9kzYRlPKlAHFvKFI0OqSMnhjLJc8qdgcqS2SYkz00usA/KiJCNr231jgft3wsHcS25VQhGUU3w2bcThmL3cR9o=; X-UUID: a90999917e1047b48b74d47f96834312-20191212 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 868332676; Thu, 12 Dec 2019 13:13:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 12 Dec 2019 13:13:14 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 12 Dec 2019 13:12:53 +0800 Message-ID: <1576127609.27185.8.camel@mtkswgap22> Subject: Re: [PATCH v5 3/3] hwrng: add mtk-sec-rng driver From: Neal Liu To: Marc Zyngier CC: Florian Fainelli , Ard Biesheuvel , , Mark Rutland , DTML , Herbert Xu , wsd_upstream , Catalin Marinas , Sean Wang , , "Linux Kernel Mailing List" , Rob Herring , , Matt Mackall , Matthias Brugger , Crystal Guo =?UTF-8?Q?=28=E9=83=AD=E6=99=B6=29?= , "Will Deacon" , Lars Persson , Date: Thu, 12 Dec 2019 13:13:29 +0800 In-Reply-To: References: <1574864578-467-1-git-send-email-neal.liu@mediatek.com> <1574864578-467-4-git-send-email-neal.liu@mediatek.com> <1575027046.24848.4.camel@mtkswgap22> <20191202191146.79e6368c@why> <299029b0-0689-c2c4-4656-36ced31ed513@gmail.com> 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-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