Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3697539ybz; Mon, 20 Apr 2020 07:52:30 -0700 (PDT) X-Google-Smtp-Source: APiQypL+7mg8dzBTAKdsGKwlUqTxEbarDxtrbo0PrynwxvGCC9niECibcnAAzAsA69dZmPKXe2wx X-Received: by 2002:a05:6402:552:: with SMTP id i18mr3774833edx.378.1587394350230; Mon, 20 Apr 2020 07:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587394350; cv=none; d=google.com; s=arc-20160816; b=KTlD99pOKcvKlwXn1pc7lvDroHm3EG8sV4WdT2Iif/PeuaxW/M1ljAOwjACC7djPDs hfkHbFjYjNtG1tjZYc0Sz45O0BnLd7k7GTM3CSm1qFiAKefm67k/xGehJQkVnV1QKk5l DsyuFt4XU4TZLY45Olduyq8c8o33XQ2R5pgXZ4G1tbnNTaf2X470EMuyOdez/7bcXl1k fwkphrj0wH/oX04idedS/N6m9wdaacZ9eHGN9y2AnwP3wUQ0yMad9wP7yh+HacLJXHyX ZDIE2Hr0idpeMPyOqfC+bqUiY/5LnGwzdLmujttoJo7E/6FUnTLaWncii6nfsZZILZ2g +WFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=j2ghh1pPF1fsAsPGVZzPt9RKgESh8HbBU2W/jDg7F0c=; b=BaTv57lfaHU5nwd/jty7gPPUfnfr1uytB1hgTgpmKAn6kS8EdgpEfDDMBTsE6HNQZI Jbg79pqk+mq3mRNhh8P7I6+KAMj5MsVWMBl6res4aWGXdG4HZ/wRhtSE6gcwuvVIYjYc TLJdwJcc5262Kst9S0TT1zgclG3/kdIRG223e9iOIPaaNIRXZ9nKJmEgkjPdbDR8Y9bg d61xXyvkHBds8rbNrP/3YT/PvFgx5G+m4s1taQ0bsB16XEkjKeyE4XzHNfQv77eXxjs4 K8hWCWOM9iyen9YuNyKhJglWE5tUh2saO+D5IvFD4IwYkgey9Zsn4XYIXbQ1KYwbK/mm voZA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si739377edn.388.2020.04.20.07.52.05; Mon, 20 Apr 2020 07:52:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726686AbgDTNpl (ORCPT + 99 others); Mon, 20 Apr 2020 09:45:41 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:44888 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbgDTNpl (ORCPT ); Mon, 20 Apr 2020 09:45:41 -0400 Received: by mail-oi1-f196.google.com with SMTP id a2so4129569oia.11; Mon, 20 Apr 2020 06:45:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j2ghh1pPF1fsAsPGVZzPt9RKgESh8HbBU2W/jDg7F0c=; b=sz2E4b2PztQNahZiYkyEU0J3PMJJ/mPiaZ91IlSUJXHIGmoJw/i7KpCFwFH1KFBpXK Xyq8Q88USPJwFUui7aqCeoCpfFmurmhFI7fHPCwsejrddy0MtwQTDs/ucehHd+jI+D9b f2wKg4UNyJJPu2ha4RHXkBVETZU2anNIE8LNoeCik0cLu0u3FN6Eri2IJGV0/hdUZK2n fTV/2CeSY9c9m+e2io2e4+RA/94xHx6uHOMgYJPNIH51gKW61/zipQfZ+y0wr6r0w6W6 dKuZlqc6SOntgm32b6VKZfgumdq3SS9KXCzF+BNWOJ45VhqZeFcCLjsmvna7wrxNA95W 7spA== X-Gm-Message-State: AGi0PuaNUTyUvozxy6U0UvhjHhHRegDXPoKrQu4IpAqHdlSOaB7k4GPr zht7TsdavUSAnY++Th8/jzixirOq7MPr1jTL0JM= X-Received: by 2002:aca:f541:: with SMTP id t62mr10124295oih.148.1587390339921; Mon, 20 Apr 2020 06:45:39 -0700 (PDT) MIME-Version: 1.0 References: <1585289423-18440-1-git-send-email-hadar.gat@arm.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 20 Apr 2020 15:45:28 +0200 Message-ID: Subject: Re: [PATCH v7 0/3] hw_random: introduce Arm CryptoCell TRNG driver To: Hadar Gat Cc: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Krzysztof Kozlowski , Florian Fainelli , Alexander Sverdlin , Thomas Gleixner , Tomer Maimon , Randy Dunlap , Zaibo Xu , Daniel Thompson , Mauro Carvalho Chehab , "David S. Miller" , Jonathan Cameron , Linux Crypto Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Gilad Ben-Yossef , Ofir Drang , nd Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Hadar, On Mon, Apr 20, 2020 at 2:27 PM Hadar Gat wrote: > > From: Geert Uytterhoeven > > Sent: Monday, 20 April 2020 12:35 > > > > On Fri, Mar 27, 2020 at 7:11 AM Hadar Gat wrote: > > > The Arm CryptoCell is a hardware security engine. > > > This patch introduces driver for its TRNG (True Random Number > > > Generator) engine. > > > > Thanks for your series! > > > > I am wondering what is the relation between this and > > Documentation/devicetree/bindings/crypto/arm-cryptocell.txt? > > Arm TrustZone CryptoCell hardware contains both cryptographic engine (ccree) and true random number generator engine (cctrng). OK. > These are separate engines with some sharing in logic and interface. Do they share the same register block? > cctrng engine may not always be present. I assume that applies to e.g. the older 630p? > The devicetree documentation is in: > For ccree - Documentation/devicetree/bindings/crypto/arm-cryptocell.txt > For cctrng - Documentation/devicetree/bindings/rng/arm-cctrng.yaml Thank you, I had already read both documents. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds