Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5251095imm; Tue, 19 Jun 2018 07:30:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLmvE9e4Kn6Zf0ThKOvesf9KLnEJFo44fsVCE9PJfaInAlI65HB1UcxMMcxnGdZ9VVMtXrf X-Received: by 2002:a63:6882:: with SMTP id d124-v6mr14858138pgc.83.1529418617805; Tue, 19 Jun 2018 07:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529418617; cv=none; d=google.com; s=arc-20160816; b=SlVUoZb/enewSjiqqZCY8e1hwAeUFe9l1jjtOcd3Bpr6z3Wj3wmz493Bp8rRI0ut5A kiU5mzj0/FxEjy6EFOuH1up0SUEx14YSmGrj9TTvb6E4+zBlMrp/lbbDxAEqd5bngnER qBPk4rUaZmWiT1AVNgNagj9PrEix3zYybWvpoWxieU470hMioRneGDzc+tjIA0jz7Q2J Hw4ij0yibS/lL5zSP96pIAsfJD+EWrO5kyGhMVsIdJdkafEZqgy9UL5JxcpaZ/vjcuk8 tEOv3Go3namp6Jnuu7/ddt03cE38Cor/CtVIefP3Y/AxHvUnPJzmmdetEL83U6crslVr ZzXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=TyMw1zrZzy5HeedejMRiohFpSXLAuojEOYtDng7v5FI=; b=ruYgvwkuzWsMCWRL/j0rVzBz+tgF46m8HZTzaC+qt2jQnwsufY/lUzhjsEAlHZZ6Xp jhO5Vx4KfmsLj9f6wDytlMQ7QLrS1dXuIQKDde324tbb5kQbscRhqQyes2Ztr6/i3VKn AQKmSQYYqaNfTO7voU18/SkSzEyQSeJKrM/qF7i3npTXgmosR5fj3LJXuT517q5OBv8g xuGoWWiUjfXA03o6L4ED/PUrmzCaIWTxcrITNHriRZ4ppOwbyxxr95s7k9Lz8u91p01+ zgqHvIQqU8/+0Z6psKDAk6Ksy7sa6fH7RHlbM6ANzkyBkN2PF18U1skf/9lnnIwLaaH/ iQRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17-v6si17073055plo.355.2018.06.19.07.30.03; Tue, 19 Jun 2018 07:30:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757263AbeFSO3M (ORCPT + 99 others); Tue, 19 Jun 2018 10:29:12 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:34854 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757224AbeFSO3L (ORCPT ); Tue, 19 Jun 2018 10:29:11 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1fVHcv-0005nG-OZ; Tue, 19 Jun 2018 22:28:57 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1fVHcr-0007E7-U1; Tue, 19 Jun 2018 22:28:53 +0800 Date: Tue, 19 Jun 2018 22:28:53 +0800 From: Herbert Xu To: Vinod Koul Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Matt Mackall , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Vinod Koul Subject: Re: [PATCH 3/3] hwrng: msm - Add support for prng v2 Message-ID: <20180619142853.wgi5easw4zv6ttrb@gondor.apana.org.au> References: <20180618141259.23141-1-vkoul@kernel.org> <20180618141259.23141-4-vkoul@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180618141259.23141-4-vkoul@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 18, 2018 at 07:42:59PM +0530, Vinod Koul wrote: > Qcom 8996 and later chips support prng v2 where we need to only > implement .read callback for hwrng. > > Add a new table for v2 which supports this and get version required for > driver data. > > Signed-off-by: Vinod Koul Is this really a pseudo-RNG? If so it needs to be moved over to the algif_rng interface. hwrng is for true hardware RNGs only, because it may be directly fed into /dev/random. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt