public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	 "Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [PATCH edk2-platforms v2] Silicon/Openmoko: add driver for ChaosKey RNG USB device
Date: Thu, 24 Aug 2017 19:27:24 +0100	[thread overview]
Message-ID: <CAKv+Gu8YUU4N6acbMaxFdf93kWLPCK6fVno2AywQjxkrSouXoQ@mail.gmail.com> (raw)
In-Reply-To: <20170824154549.dz4e6tuyj5vslffh@bivouac.eciton.net>

On 24 August 2017 at 16:45, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Thu, Aug 24, 2017 at 01:14:48PM +0100, Ard Biesheuvel wrote:
>> This is a continuation of the work carried out by Leif Lindholm to
>> implement a driver for the ChaosKey USB device. This driver uses the
>> UEFI driver model, which is a slightly awkward fit, due to the fact
>> that a UEFI implementation may legally only instantiate those protocols
>> that are needed to access the device path that the active Boot####
>> options refers to.
>>
>> However, it is expected that UEFI implementations typically instantiate
>> all USB I/O protocols and connect them as well, as those are required
>> for a USB keyboard to be able to control the boot sequence. This should
>> result in this driver being connected and given the opportunity to
>> produce the EFI_RNG_PROTOCOL.
>>
>> Contributed-under: TianoCore Contribution Agreement 1.1
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
> On the whole, this looks good to go, with one exception: it doesn't
> currently build on ARM.
>
> If you fold in:
>
> diff --git a/Silicon/Openmoko/Openmoko.dsc
> b/Silicon/Openmoko/Openmoko.dsc
> index 295ff6514..2b6ffe894 100644
> --- a/Silicon/Openmoko/Openmoko.dsc
> +++ b/Silicon/Openmoko/Openmoko.dsc
> @@ -35,5 +35,8 @@
>    UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
>    NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
>
> +[LibraryClasses.ARM]
> +  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
> +
>  [Components]
>    Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf
>
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
>

Pushed as 5d5ce02ebadedf9fbaa0fec610735cb64c30276e with this hunk folded in.


      reply	other threads:[~2017-08-24 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 12:14 [PATCH edk2-platforms v2] Silicon/Openmoko: add driver for ChaosKey RNG USB device Ard Biesheuvel
2017-08-24 15:45 ` Leif Lindholm
2017-08-24 18:27   ` Ard Biesheuvel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKv+Gu8YUU4N6acbMaxFdf93kWLPCK6fVno2AywQjxkrSouXoQ@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox