public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region
Date: Mon, 9 Nov 2015 08:19:48 -0700	[thread overview]
Message-ID: <5640B994.7050307@wwwdotorg.org> (raw)
In-Reply-To: <20151109143654.GB11362@ulmo.nvidia.com>

On 11/09/2015 07:36 AM, Thierry Reding wrote:
> On Wed, Oct 28, 2015 at 11:59:04AM -0600, Stephen Warren wrote:
>> On 10/18/2015 10:57 PM, Alexandre Courbot wrote:
>>> T210's GPU secure firmware loading requires a write-protected region
>>> to be set up.
>>>
>>> This patch reserves the upper 256KB of RAM as the WPR region and locks
>>> it so the kernel can initiate secure firmware loading.
>>
>> On T210, it's the responsibility of nvtboot (which runs before U-Boot) to
>> set up any and all carve-outs. This code should not be necessary, and indeed
>> I expect the registers it touches can't actually be programmed from U-Boot,
>> which runs in non-secure mode after WPR is already locked.
>
> Can we document this assumption somewhere? It's entirely possible that
> someone might want to run U-Boot without nvtboot

That's not currently a supported use-case.

> , in which case nvtboot
> would still need to be responsible for setting this up.

I assume s/nvtboot/whatever other bootloader is in use/?

> Or if it isn't
> we could still point at some location where the interactions between a
> first stage bootloader and U-Boot are documented.
>
> Do we have a document of this kind already?

The L4T U-Boot source code:-)

  reply	other threads:[~2015-11-09 15:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19  4:57 [U-Boot] [PATCH 0/4] ARM: tegra: GPU WPR region support Alexandre Courbot
2015-10-19  4:57 ` [U-Boot] [PATCH 1/4] ARM: tegra: remove vpr_configured() function Alexandre Courbot
2015-10-19  4:57 ` [U-Boot] [PATCH 2/4] ARM: tegra: simplify GPU setup Alexandre Courbot
2015-10-19  4:57 ` [U-Boot] [PATCH 3/4] ARM: tegra: rename GPU functions Alexandre Courbot
2015-10-28 17:57   ` Stephen Warren
2015-10-19  4:57 ` [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region Alexandre Courbot
2015-10-28 17:59   ` Stephen Warren
2015-10-28 23:55     ` Alexandre Courbot
2015-10-29  3:47       ` Stephen Warren
2015-11-09 14:36     ` Thierry Reding
2015-11-09 15:19       ` Stephen Warren [this message]
2015-11-09 15:48         ` Thierry Reding
2015-11-09 16:18           ` Stephen Warren
2015-10-26  5:50 ` [U-Boot] [PATCH 0/4] ARM: tegra: GPU WPR region support Alexandre Courbot
2015-10-27 15:57   ` Tom Warren
2015-10-28  9:13     ` Alexandre Courbot
2015-10-28 15:44       ` Tom Warren

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-all 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=5640B994.7050307@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /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