[U-Boot] [PATCH v7 00/17] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

Jan Kiszka jan.kiszka at siemens.com
Tue Apr 21 07:18:23 CEST 2015


Changes in v7:
 - rebased over master
 - fixed issue that prevented secure boot with all cores
   => replace ap_pm_init with psci_board_init hook
 - enable CONFIG_ARMV7_BOOT_SEC_DEFAULT for tegra to avoid problems with
   default config of current Linux
 - add cleanup patch for CONFIG_ARMV7_NONSEC/VIRT/PSCI

Note that I've removed reviewed and tested tags from modified patches.

Jan

CC: Andre Przywara <andre.przywara at linaro.org>
CC: Ian Campbell <ijc at hellion.org.uk>
CC: Marc Zyngier <marc.zyngier at arm.com>
CC: Steve Rae <srae at broadcom.com>
CC: Tang Yuantian <Yuantian.Tang at freescale.com>
CC: Thierry Reding <treding at nvidia.com>
CC: York Sun <yorksun at freescale.com>

Ian Campbell (3):
  tegra124: Add more registers to struct mc_ctlr
  tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0
  jetson-tk1: Add PSCI configuration options and reserve secure code

Jan Kiszka (13):
  ARM: Clean up CONFIG_ARMV7_NONSEC/VIRT/PSCI conditions
  sun7i: Remove duplicate call to psci_arch_init
  ARM: Factor out common psci_get_cpu_id
  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
  virt-dt: Allow reservation of secure region when in a RAM carveout
  tegra: Make tegra_powergate_power_on public
  ARM: Add board-specific initialization hook for PSCI
  tegra124: Add PSCI support for Tegra124
  tegra: Set CNTFRQ for secondary CPUs
  tegra: Boot in non-secure mode by default

Thierry Reding (1):
  ARM: tegra: Enable SMMU when going non-secure

 arch/arm/cpu/armv7/Kconfig                  |   2 +-
 arch/arm/cpu/armv7/Makefile                 |   2 +-
 arch/arm/cpu/armv7/ls102xa/cpu.c            |   2 +-
 arch/arm/cpu/armv7/psci.S                   | 121 ++++++++++++++++++++++++++++
 arch/arm/cpu/armv7/sunxi/psci.S             | 112 ++++---------------------
 arch/arm/cpu/armv7/virt-dt.c                |  31 ++++++-
 arch/arm/cpu/armv7/virt-v7.c                |  11 +++
 arch/arm/cpu/u-boot.lds                     |   2 +-
 arch/arm/include/asm/arch-tegra/powergate.h |   1 +
 arch/arm/include/asm/arch-tegra124/flow.h   |   6 ++
 arch/arm/include/asm/arch-tegra124/mc.h     |  37 ++++++++-
 arch/arm/include/asm/armv7.h                |   5 +-
 arch/arm/include/asm/psci.h                 |   1 +
 arch/arm/include/asm/system.h               |   1 +
 arch/arm/lib/bootm-fdt.c                    |   8 +-
 arch/arm/lib/bootm.c                        |   6 +-
 arch/arm/mach-tegra/Makefile                |   4 +
 arch/arm/mach-tegra/ap.c                    |  55 +++++++++++++
 arch/arm/mach-tegra/powergate.c             |   2 +-
 arch/arm/mach-tegra/psci.S                  | 114 ++++++++++++++++++++++++++
 arch/arm/mach-tegra/tegra124/Kconfig        |   2 +
 arch/arm/mach-tegra/tegra124/Makefile       |   4 +
 arch/arm/mach-tegra/tegra124/psci.c         |  59 ++++++++++++++
 board/armltd/vexpress/vexpress_common.c     |   2 +-
 board/broadcom/bcm_ep/board.c               |   2 +-
 board/freescale/common/arm_sleep.c          |   2 +-
 include/configs/jetson-tk1.h                |   5 ++
 27 files changed, 487 insertions(+), 112 deletions(-)
 create mode 100644 arch/arm/mach-tegra/psci.S
 create mode 100644 arch/arm/mach-tegra/tegra124/psci.c

-- 
2.1.4



More information about the U-Boot mailing list