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=DKIM_SIGNED,DKIM_VALID, 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 4B9EAC2BA2B for ; Sun, 19 Apr 2020 06:33:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2503A21473 for ; Sun, 19 Apr 2020 06:33:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=benyossef-com.20150623.gappssmtp.com header.i=@benyossef-com.20150623.gappssmtp.com header.b="qakdRyWA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725963AbgDSGdk (ORCPT ); Sun, 19 Apr 2020 02:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgDSGdj (ORCPT ); Sun, 19 Apr 2020 02:33:39 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42D68C061A0C for ; Sat, 18 Apr 2020 23:33:39 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id l25so1196853vso.6 for ; Sat, 18 Apr 2020 23:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=olj6unh6IYZuJdIs2F04EMuJOg0rJtmlozehjb/ljo4=; b=qakdRyWAosXa2M8Dnt6NrNgssX4Mv+jtWt0D3fs/rm0IIjaMrkMu8DOW94Vlyc4EXs HBbOWXb/ouVdhHAY97dK9AYHONKklSbOZapIi7CqYxYlHdgmanPnZ8BmJrZhJqyq9JM1 laESH5scPswVS2ZJDptWwCJeAGCOjh0MnIbEaQIfpPWMFHBBtKSl2A0rcyTUZ6aDMTs1 J+CjhOizqYKJgnCjnbHv/Fj38pHQSyuqxW9HhK/G7KTT5qZe8MiMf9XE/m6uzsHRViLQ s99hIvNmf69mF4Mt7Ikj5WHLYFUmrIO3KUZfs1e1aaYw2NYINJ5F5oDP1sE6enQU60/e zfQA== 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:content-transfer-encoding; bh=olj6unh6IYZuJdIs2F04EMuJOg0rJtmlozehjb/ljo4=; b=ZKJ2c9ykz9VKf/PzRrYHPwTj0Hsr8hoi7IW/qXzehZkGc/AkncAauT1i0E3EuzoUKX lHqPxRsGStz9jR2JqlV88bS464LxA8a2rIn4r+wCyXiS+EpsNvjZUPoTzIH6NXK/hvvi afR6BN8pFPCJ+wbxCW+t7Qz5/p37ftDhN8fsR5rTH1qlkYvr/SgH8IGCUh4Xnewfqhv3 LnHRkKtzA7l172/xsD/lqhmNrrqrAJt9JxehN3TV03Blvyz6bdnCINjxBs1PJE65k7eV 553+/34KvurDu2oLwt3E1wfbFTowafJIPQchwS/RlslTWcJr8DYXaEt1sskboiq45x2H Vx5A== X-Gm-Message-State: AGi0PuYM/IxpCQhRaSXyd7/pERllyuv3RQOl+hvt20q0n4DnlrPPbxGv 989jBfs8qy0m6SbOPaxBRclW0BHc/QHImWsPde/GIQ== X-Google-Smtp-Source: APiQypLLd9TBFMBrw30qYiOJQAHyqzFTi2q/XtAiUO90be53KPVwHYQ8gR58pUThHEtu56HBCMW5SjgyVyLbABMpJgM= X-Received: by 2002:a67:ebd6:: with SMTP id y22mr184815vso.193.1587278018514; Sat, 18 Apr 2020 23:33:38 -0700 (PDT) MIME-Version: 1.0 References: <20200418104343.GA5132@amd> In-Reply-To: From: Gilad Ben-Yossef Date: Sun, 19 Apr 2020 09:33:26 +0300 Message-ID: Subject: Re: Fw: Arm CryptoCell driver -- default Y, even on machines where it is obviously useless To: Gilad Ben Yossef , Herbert Xu , Hadar Gat Cc: kernel list , Linux Crypto Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org > > -----Original Message----- > > From: Pavel Machek > > Sent: Saturday, 18 April 2020 13:44 > > To: kernel list ; Hadar Gat > > ; herbert@gondor.apana.org.au > > Subject: Arm CryptoCell driver -- default Y, even on machines where it = is > > obviously useless > > > > Hi! > > > > I'm configuring kernel for x86, and I get offered HW_RANDOM_CCTRNG with > > default=3DY, and help text suggesting I should enable it. > > > > That's... two wrong suggestions, right? > > > > Best regards, > > Pavel ... > ________________________________________ > From: Hadar Gat > Sent: Saturday, April 18, 2020 11:31 PM > To: Pavel Machek; kernel list; herbert@gondor.apana.org.au > Cc: Ofir Drang; Gilad Ben Yossef; nd > Subject: RE: Arm CryptoCell driver -- default Y, even on machines where i= t is obviously useless > > Hi Pavel, > I think you got it right.. > Indeed, Arm CryptoCell CCTRNG driver couldn't be used and obviously usele= ss if the Arm CryptoCell HW does not exist in the system. There's a delicate point here though - CryptoCell is an independent hardware block, it is not tied to a particular CPU architecture. There are SoCs with none-Arm architecture CPU using it. So I would say whatever the answer is, it should be the same for any generic embedded style HW block. And the help text is not architecture specific anyway, is it not..? Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!