All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Alexandre Courbot
	<acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Tom Warren <twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region
Date: Wed, 28 Oct 2015 21:47:50 -0600	[thread overview]
Message-ID: <563196E6.8040106@wwwdotorg.org> (raw)
In-Reply-To: <5631605B.4020800-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 10/28/2015 05:55 PM, Alexandre Courbot wrote:
> On 10/29/2015 02:59 AM, 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.
> 
> Ok, I was running from Thierry's miniloader which did not program or
> lock these registers.
> 
> The question then is: do we have an official nvtboot binary available
> for upstream support? AFAICT Thierry's miniloader solution is the only
> solution available to the public, and without this setup one cannot use
> the GPU on T210.

Once L4T for T210 has been released, it'll contain a full set of nvtboot
binaries and flashing support. You an easily acquire this internally
already; send me an email if you need a link. I'd expect a public SW
release by the time any T210 boards capable of running upstream are
available.

WARNING: multiple messages have this Message-ID (diff)
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: Wed, 28 Oct 2015 21:47:50 -0600	[thread overview]
Message-ID: <563196E6.8040106@wwwdotorg.org> (raw)
In-Reply-To: <5631605B.4020800@nvidia.com>

On 10/28/2015 05:55 PM, Alexandre Courbot wrote:
> On 10/29/2015 02:59 AM, 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.
> 
> Ok, I was running from Thierry's miniloader which did not program or
> lock these registers.
> 
> The question then is: do we have an official nvtboot binary available
> for upstream support? AFAICT Thierry's miniloader solution is the only
> solution available to the public, and without this setup one cannot use
> the GPU on T210.

Once L4T for T210 has been released, it'll contain a full set of nvtboot
binaries and flashing support. You an easily acquire this internally
already; send me an email if you need a link. I'd expect a public SW
release by the time any T210 boards capable of running upstream are
available.

  parent reply	other threads:[~2015-10-29  3:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19  4:57 [PATCH 0/4] ARM: tegra: GPU WPR region support Alexandre Courbot
2015-10-19  4:57 ` [U-Boot] " Alexandre Courbot
     [not found] ` <1445230624-30314-1-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-19  4:57   ` [PATCH 1/4] ARM: tegra: remove vpr_configured() function Alexandre Courbot
2015-10-19  4:57     ` [U-Boot] " Alexandre Courbot
2015-10-19  4:57   ` [PATCH 2/4] ARM: tegra: simplify GPU setup Alexandre Courbot
2015-10-19  4:57     ` [U-Boot] " Alexandre Courbot
2015-10-19  4:57   ` [PATCH 3/4] ARM: tegra: rename GPU functions Alexandre Courbot
2015-10-19  4:57     ` [U-Boot] " Alexandre Courbot
     [not found]     ` <1445230624-30314-4-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-28 17:57       ` Stephen Warren
2015-10-28 17:57         ` Stephen Warren
2015-10-19  4:57   ` [PATCH 4/4] ARM: tegra210: gpu: configure WPR region Alexandre Courbot
2015-10-19  4:57     ` [U-Boot] " Alexandre Courbot
     [not found]     ` <1445230624-30314-5-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-28 17:59       ` Stephen Warren
2015-10-28 17:59         ` Stephen Warren
     [not found]         ` <56310CE8.3050107-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-10-28 23:55           ` Alexandre Courbot
2015-10-28 23:55             ` Alexandre Courbot
     [not found]             ` <5631605B.4020800-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-29  3:47               ` Stephen Warren [this message]
2015-10-29  3:47                 ` Stephen Warren
2015-11-09 14:36           ` Thierry Reding
2015-11-09 14:36             ` Thierry Reding
     [not found]             ` <20151109143654.GB11362-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-11-09 15:19               ` Stephen Warren
2015-11-09 15:19                 ` Stephen Warren
     [not found]                 ` <5640B994.7050307-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-11-09 15:48                   ` Thierry Reding
2015-11-09 15:48                     ` Thierry Reding
     [not found]                     ` <20151109154742.GE11362-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-11-09 16:18                       ` Stephen Warren
2015-11-09 16:18                         ` Stephen Warren
2015-10-26  5:50   ` [PATCH 0/4] ARM: tegra: GPU WPR region support Alexandre Courbot
2015-10-26  5:50     ` [U-Boot] " Alexandre Courbot
     [not found]     ` <CAAVeFuLENPfjy1k2ZTUArTph_6wbAxXninZ2Tmp6-MV4zVgaHw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-27 15:57       ` Tom Warren
2015-10-27 15:57         ` [U-Boot] " Tom Warren
     [not found]         ` <caa39e0a12454046a1638aae190f0161-wO81nVYWzR66sJks/06JalaTQe2KTcn/@public.gmane.org>
2015-10-28  9:13           ` Alexandre Courbot
2015-10-28  9:13             ` [U-Boot] " Alexandre Courbot
2015-10-28 15:44             ` Tom Warren
2015-10-28 15:44               ` [U-Boot] " 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=563196E6.8040106@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.