[U-Boot] [PATCH v2 00/12] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix
Jan Kiszka
jan.kiszka at siemens.com
Mon Feb 16 13:54:37 CET 2015
Version 2 introduces CPU-local target PC (power-up vector), as pointed
out by Chen-Yu. It also includes a new patch to properly set CNTFRQ on
all Tegra124 CPUs, not only CPU0. This finally allows to run KVM guests
on TK1. The series was tested on the Banana Pi as well.
The patches are also available here:
https://github.com/siemens/u-boot/tree/jetson-tk1-v2
Jan
CC: Ian Campbell <ijc at hellion.org.uk>
Ian Campbell (4):
tegra124: Add more registers to struct mc_ctlr
virt-dt: Allow reservation of the secure region when it is in a RAM
carveout.
jetson-tk1: Add PSCI configuration options and reserve secure code
tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0
Jan Kiszka (8):
ARM: Factor out reusable psci_cpu_off_common
ARM: Factor out reusable psci_cpu_entry
ARM: Factor out reusable psci_get_cpu_stack_top
ARM: Put target PC for PSCI CPU_ON on per-CPU stack
tegra: Make tegra_powergate_power_on public
tegra: Add ap_pm_init hook
tegra124: Add PSCI support for Tegra124
tegra: Set CNTFRQ for secondary CPUs
arch/arm/cpu/armv7/Makefile | 1 +
arch/arm/cpu/armv7/psci.S | 100 ++++++++++++++++++++++++
arch/arm/cpu/armv7/sunxi/psci.S | 108 ++++----------------------
arch/arm/cpu/armv7/tegra-common/Makefile | 1 +
arch/arm/cpu/armv7/tegra-common/psci.S | 114 ++++++++++++++++++++++++++++
arch/arm/cpu/armv7/tegra124/Kconfig | 2 +
arch/arm/cpu/armv7/tegra124/Makefile | 7 ++
arch/arm/cpu/armv7/tegra124/ap.c | 44 +++++++++++
arch/arm/cpu/armv7/virt-dt.c | 5 ++
arch/arm/cpu/armv7/virt-v7.c | 5 ++
arch/arm/cpu/tegra-common/ap.c | 15 ++++
arch/arm/cpu/tegra-common/powergate.c | 2 +-
arch/arm/include/asm/arch-tegra/ap.h | 5 ++
arch/arm/include/asm/arch-tegra/powergate.h | 1 +
arch/arm/include/asm/arch-tegra124/flow.h | 5 ++
arch/arm/include/asm/arch-tegra124/mc.h | 35 ++++++++-
arch/arm/include/asm/system.h | 1 +
board/nvidia/common/board.c | 4 +
include/configs/jetson-tk1.h | 5 ++
19 files changed, 364 insertions(+), 96 deletions(-)
create mode 100644 arch/arm/cpu/armv7/tegra-common/psci.S
create mode 100644 arch/arm/cpu/armv7/tegra124/Makefile
create mode 100644 arch/arm/cpu/armv7/tegra124/ap.c
--
2.1.4
More information about the U-Boot
mailing list