Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1355681pxb; Fri, 6 Nov 2020 07:37:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrd0wgiwFCbsgEKi0c1jH0w6K1cxnAlcbK5qAFGD5LrG/sc38Rm5/6RVqrHluFQFqv1ZFn X-Received: by 2002:a50:d615:: with SMTP id x21mr2690417edi.200.1604677062306; Fri, 06 Nov 2020 07:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604677062; cv=none; d=google.com; s=arc-20160816; b=tS4AU0yj53Gx3DfoVQaO0zrGxAN3m5COm/XB20q55rP9KH4SbSPhFUDCou9Ezz+mit EstYKu8jSi9AA/x8z7kkUi/4UBf2crZGbIK60mjGNxesQAfOpNxWfrsDOumkgkR0u94s k0cf8yyF32hGHq7Mt3AB7K6Zfl3+33Yyd+9S0blUPW7+P+bPeIQt38UlFTesxfr2Whf2 p1DvVWJBMYWBLhWHsI2MKTwkF+uDQ1AgX6DYgnarU1ATzo1K+I9v1Ry4Km5fxkjby/zb +AjU9gCDZ19WcmdN3+UQSwb4iUEXP6Vf8WzAlZ0TW/j3BRFNWCQD4eE3xggU7Pj7LcFY P3hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=GNHToXlTP6Ylb9e+jVB+H2ooHcifPsqtay3X6HIdFb8=; b=XInz6/0tnB4R7mdwPrXoM4Fu5M2CuO4AjwZDlq67xRtlomlyiq81t/GAsgxo+M5DxN llnSbzoXceBcweVKy+4lBpO9O/fX+MQENEFnP3GFAzeecAp8IDVi4iDuPDnb464gEurd XKj95x8Q8maXTu4pTSjf+Tqe0dhyZ/MBtESq8Z5sXyDXmcyOL/a+g+wkN4gMBv6R3EeX 7uFc6Bz/zsZLdAKYXfPJiIt+rH3OApHf6owjWr0Nk9A0PX+p8rh5JCLFTT+NvEGmivMi H+Q5GzkonXxgAssGN48lLAAkjikRvt9LTOe2Y+lKm8tBxx6KdMWxBX3JJAi+ZX/Pet+0 fXUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="C/vLytVC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si1174421ejf.73.2020.11.06.07.37.17; Fri, 06 Nov 2020 07:37:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b="C/vLytVC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbgKFPfP (ORCPT + 99 others); Fri, 6 Nov 2020 10:35:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:51764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbgKFPfP (ORCPT ); Fri, 6 Nov 2020 10:35:15 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7CB2208C7; Fri, 6 Nov 2020 15:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604676914; bh=paZN7AmMflubbnBs/ZRVSzsc+RrX8RA/W7ofJ5ThUB4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=C/vLytVCM05e1EYByu8kmhzsDIqP+J60oRAVf5w8r/c+cO4NuYXpPOrI9VBJuwAPv NxpwfRGFFH9zfC7W+h6pzbrx6TGo2RMsVwoPPFO51fmX1iygQvk7L/B5nZtEsepCaI qxWEvsSRPSSfVAsVGIsKsB+FAQ/gkVJsHZbLtTBs= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kb3lg-008Ej3-NW; Fri, 06 Nov 2020 15:35:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 06 Nov 2020 15:35:12 +0000 From: Marc Zyngier To: Ard Biesheuvel Cc: Andre Przywara , Will Deacon , Catalin Marinas , Russell King , Lorenzo Pieralisi , Linus Walleij , Linux Kernel Mailing List , Mark Brown , Sudeep Holla , kvmarm , Linux ARM Subject: Re: [PATCH v2 3/5] ARM: implement support for SMCCC TRNG entropy source In-Reply-To: References: <20201105125656.25259-1-andre.przywara@arm.com> <20201105125656.25259-4-andre.przywara@arm.com> <7b36daa49c78d60dc788bbb3c9c1bdaa@misterjones.org> User-Agent: Roundcube Webmail/1.4.9 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: ardb@kernel.org, andre.przywara@arm.com, will@kernel.org, catalin.marinas@arm.com, linux@armlinux.org.uk, lorenzo.pieralisi@arm.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, broonie@kernel.org, sudeep.holla@arm.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-11-06 15:30, Ard Biesheuvel wrote: > On Fri, 6 Nov 2020 at 16:30, Marc Zyngier wrote: [...] >> I don't think this cast is safe. At least not on 64bit. > > True, but this is arch/arm I think the glasses theme becomes recurrent. Apologies for the noise. M. -- Jazz is not dead. It just smells funny...