From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 798662008319E for ; Tue, 19 Feb 2019 06:44:13 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id y15so3090157wma.0 for ; Tue, 19 Feb 2019 06:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2IefCIG5GeW99VuqJirDdyHijrfxx7+y8iicy66bt/Y=; b=Y6liTpfyTS0yV3iYRGguiPUxRt3YpgzZKvm4qD1DHa5ViASjq8/QfvXI0ld8pI29hk t5dzS0RadlvGIJ4si/N6Hr4L9IoVQAk6PSDIOJsjdbTbgrRSzvEz2OTvkZ1Gv2szYwyA XuxqtUMzMVUOwvXv/UtFu22o7GjYFQsuq/lPs1fRh6rrI1Qo14m9xdz7oB/kv0WO/lRg Y3f+fNm9W97fgtnivhP/VnCY+PdFGYestRNcjOLDSSxd0RKqMlCWkdqXZLv2LDjS7A+J xwLcUnatsh8LZ4XHlRcGpR7wBXFBmaU5PfZMG7hrh7hjPOqN9i131sBbmGcc18tkXv8/ cYQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2IefCIG5GeW99VuqJirDdyHijrfxx7+y8iicy66bt/Y=; b=FimjQQj4udT9bjx+P7l1dBp7FrV4hjUPJrreUleSioFIqvPVm0FAoNLk1ZRop6BjSo rrZr6zPhfLyv7DAxe9KD9D/AE1rLgc5K2JoAZer+xyYL4jFFtYV97aJZjDY0Qj7fPKxd ROVV/z/ewCWNpt45oapyCwu1lMyM6Ewp56mQwmURtGSGz6AHwEqBK0PZzYWxpLk21ebZ 6i7Sx7+Cgjb516zuqVqjk7DyJgoV853cJ09zLmi5cH8tpEHrXTUyIYnsNWPlPrv8li2O dyuf+wFxHsCsDvB7r4ZybPYr/rPVsh3nGoBlRxBhZDwQUkZ6GvW+jrFuHq3L81H0Svaq 8kIA== X-Gm-Message-State: AHQUAuYAeZcth8M6wJalfPLHMFVEVxgZ/xRWpGAuZc+/EHCMSt6ckzOa Qz8q5Edn7OYwaYNSwYUjZmOGFQ== X-Google-Smtp-Source: AHgI3IZQYP2XQ5/9RPABOywygl+FKMo/ERjRQEp6RRUnBlRAYwt51TeiPszS55IreM76K7NIQ/ZNug== X-Received: by 2002:a1c:5546:: with SMTP id j67mr2125608wmb.95.1550587451550; Tue, 19 Feb 2019 06:44:11 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id f134sm3770224wme.31.2019.02.19.06.44.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 06:44:10 -0800 (PST) Date: Tue, 19 Feb 2019 14:44:08 +0000 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, Pete Batard , Jeremy Linton Message-ID: <20190219144408.vrlo6fwijyiabrtj@bivouac.eciton.net> References: <20190216103422.10907-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20190216103422.10907-1-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms 0/2] Platform/RaspberryPi3: add RNG support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 14:44:13 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Feb 16, 2019 at 11:34:20AM +0100, Ard Biesheuvel wrote: > Add a RNG driver for the BCM283x and wire it up for the Raspberry Pi 3 > platform so that the random number generator is accessible to the OS > loader via the EFI_RNG_PROTOCOL. This is used by the KASLR implementation > in the arm64 Linux kernel to randomize the placement of various parts of > the kernel. > > Changes since v2: > - move the RNG specific SoC definitions into the Bcm2836.h common header > - add patch that wires up the driver into the RPi3 platform > > Cc: Pete Batard > Cc: Jeremy Linton > Cc: Leif Lindholm For the series: Reviewed-by: Leif Lindholm > Ard Biesheuvel (2): > Silicon/Bcm2836: add random number generator driver > Platform/RaspberryPi3: add RNG driver > > Platform/RaspberryPi/RPi3/RPi3.dsc | 5 + > Platform/RaspberryPi/RPi3/RPi3.fdf | 5 + > Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.c | 203 ++++++++++++++++++++ > Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf | 45 +++++ > Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h | 9 + > 5 files changed, 267 insertions(+) > create mode 100644 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.c > create mode 100644 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf > > -- > 2.20.1 >