linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: tegra: GPU WPR region support
@ 2015-10-19  4:57 Alexandre Courbot
       [not found] ` <1445230624-30314-1-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: Alexandre Courbot @ 2015-10-19  4:57 UTC (permalink / raw)
  To: Tom Warren, Stephen Warren, Thierry Reding
  Cc: u-boot-0aAXYlwwYIKGBzrmiIFOJg, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w, Alexandre Courbot

This series makes U-boot program the write-protected (WPR) region of T210 chips,
allowing the kernel to perform GPU secure firmware loading.

Tegra 210's GPU requires its firmware to be loaded though a write-protected
region. An area of physical memory is carved-out, programmed into the
corresponding memory controller registers, and locked such as only the GPU can
write into it. This area needs to be set up by the bootloader since it cannot
be re-claimed for normal use after being locked.

The first 3 patches of this series are cleanup patches. Patch 2 implements a
suggestion made by Stephen, patch 3 renames GPU-related functions to sound less
generic.

The last patch adds support for the GPU WPR region. The top 256KB of memory are
removed from the available memory, and the corresponding MC registers are
programmed to point to it, which allows the kernel to initiate secure firmware
loading.

Alexandre Courbot (4):
  ARM: tegra: remove vpr_configured() function
  ARM: tegra: simplify GPU setup
  ARM: tegra: rename GPU functions
  ARM: tegra210: gpu: configure WPR region

 arch/arm/include/asm/arch-tegra/gpu.h   | 14 +++------
 arch/arm/include/asm/arch-tegra210/mc.h | 12 ++++++++
 arch/arm/mach-tegra/board.c             |  4 +++
 arch/arm/mach-tegra/board2.c            | 22 +++++++++++++-
 arch/arm/mach-tegra/gpu.c               | 52 +++++++++++++++++++++++++++++----
 board/nvidia/jetson-tk1/jetson-tk1.c    |  8 -----
 board/nvidia/p2571/p2571.c              |  7 -----
 board/nvidia/venice2/venice2.c          |  8 -----
 include/configs/jetson-tk1.h            |  2 --
 include/configs/p2571.h                 |  2 --
 include/configs/tegra-common.h          |  2 ++
 include/configs/venice2.h               |  2 --
 12 files changed, 89 insertions(+), 46 deletions(-)

-- 
2.6.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-11-09 16:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19  4:57 [PATCH 0/4] ARM: tegra: GPU WPR region support 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   ` [PATCH 2/4] ARM: tegra: simplify GPU setup Alexandre Courbot
2015-10-19  4:57   ` [PATCH 3/4] ARM: tegra: rename GPU functions Alexandre Courbot
     [not found]     ` <1445230624-30314-4-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-28 17:57       ` [U-Boot] " Stephen Warren
2015-10-19  4:57   ` [PATCH 4/4] ARM: tegra210: gpu: configure WPR region Alexandre Courbot
     [not found]     ` <1445230624-30314-5-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-28 17:59       ` [U-Boot] " Stephen Warren
     [not found]         ` <56310CE8.3050107-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-10-28 23:55           ` Alexandre Courbot
     [not found]             ` <5631605B.4020800-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2015-10-29  3:47               ` Stephen Warren
2015-11-09 14:36           ` Thierry Reding
     [not found]             ` <20151109143654.GB11362-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-11-09 15:19               ` Stephen Warren
     [not found]                 ` <5640B994.7050307-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-11-09 15:48                   ` Thierry Reding
     [not found]                     ` <20151109154742.GE11362-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2015-11-09 16:18                       ` Stephen Warren
2015-10-26  5:50   ` [PATCH 0/4] ARM: tegra: GPU WPR region support Alexandre Courbot
     [not found]     ` <CAAVeFuLENPfjy1k2ZTUArTph_6wbAxXninZ2Tmp6-MV4zVgaHw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-27 15:57       ` Tom Warren
     [not found]         ` <caa39e0a12454046a1638aae190f0161-wO81nVYWzR66sJks/06JalaTQe2KTcn/@public.gmane.org>
2015-10-28  9:13           ` Alexandre Courbot
2015-10-28 15:44             ` Tom Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).