Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2372708ybz; Sat, 18 Apr 2020 23:34:20 -0700 (PDT) X-Google-Smtp-Source: APiQypKuQZMO5/0Lor7vD8XEazCSsqu+NAmcKBbdnyQKOQOSnpI7ihAolMmwERgtqRlNF0SrOC1N X-Received: by 2002:aa7:cd7c:: with SMTP id ca28mr2767510edb.181.1587278059942; Sat, 18 Apr 2020 23:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587278059; cv=none; d=google.com; s=arc-20160816; b=lv6JBRuE74fe5jKYD/2ckwNxA8Sawf7SRS6P5jLGvWkOxp6S75gKV+SvFHN8DuU0pi ZwT2Q7G4Or+AZCtE6ePLfdCR8kWZNjm8MiWds374gmEujWcI4ZFUhUuUMZz0Wxn7qove G4bn5kzqLslabi13OoddUEW8TEEApOA/ige9hKe8G5dNeP5EMz6Wsrl2movKOjLnxg+8 P0RO7IQZlT63v6rK4L4KtLVodWEzIlPcScHFg4DjWXgFytcPKLTXyAs06AADU5U67szg qeg3kR+J8EaWm0qouZXPyj/JCATti7SzFp6eQhbDo8t033UisZNRIJiTeIkpzULo3H7f AFEA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=olj6unh6IYZuJdIs2F04EMuJOg0rJtmlozehjb/ljo4=; b=tydwI4R08uD83ZhI/vviL05F+Djt03fsLOMxhSWgdAD48zrLe9Gk7AvRhEqh34V0uH 37ZoBSoWjE4NEEMhA9jZqStsx2E6e1x0Zp2xdK2NWpzpTm40CImE8Q8NMr3n+Rzd/r/e 7QHjjj9Neln1vXfSJf6ROHjfUNHJJPr8JMfmn8rshx7M41mwaweUOGnnbZ0N9dRXEc+Y oeH+xIIvMZM1OZRRGiNKflFzmCqXrzsHJAidTm9pVnY2xmZgpUdlRqQ/gMA/CxgEg+lZ DuTtAbIMRFjAzqmpBWkLcwIck58x3Jp35r4cJMyFtkuFXlLDtycabuW5WwwDokBz3nL0 HemA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=qakdRyWA; 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 y24si16629725ejr.132.2020.04.18.23.33.41; Sat, 18 Apr 2020 23:34:19 -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=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=qakdRyWA; 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 S1725963AbgDSGdk (ORCPT + 99 others); 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-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!