From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 968DFC3815B for ; Mon, 20 Apr 2020 13:45:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8294E206E9 for ; Mon, 20 Apr 2020 13:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726686AbgDTNpl (ORCPT ); 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-Google-Smtp-Source: APiQypIYWggq31kqe72PWGup1dXMLkkExcPMIqTIaghdiu2d6AzyZ3huwXP08u748n7J/APQ6LYfplz/CfuGBxsDgd0= 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