| b6ea86b1 | 07-Jan-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: implement prepare_system_reset handler
This patch implements the 'prepare_system_reset' handler to issue the 'system reset' command to the MCE.
Change-Id: I83d8d0b4167aac5963d640fe77d5754
Tegra186: implement prepare_system_reset handler
This patch implements the 'prepare_system_reset' handler to issue the 'system reset' command to the MCE.
Change-Id: I83d8d0b4167aac5963d640fe77d5754dc7ef05b1 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 348619f2 | 05-Jan-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: implement CPU_OFF handler
This patch implements the CPU_OFF handler for powering down a CPU using the MCE driver.
Change-Id: I8d455005d0b547cc61cc7778bfe9eb84b7e5480c Signed-off-by: Varun
Tegra186: implement CPU_OFF handler
This patch implements the CPU_OFF handler for powering down a CPU using the MCE driver.
Change-Id: I8d455005d0b547cc61cc7778bfe9eb84b7e5480c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 5d74d68e | 04-Jan-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: update SYSCNT_FREQ to 31.25MHz
The System Counter Frequency has been updated to 31.25MHz after some experiments as the previous value was too high.
Change-Id: I79986ee1c0c88700a3a2b1dbff2
Tegra186: update SYSCNT_FREQ to 31.25MHz
The System Counter Frequency has been updated to 31.25MHz after some experiments as the previous value was too high.
Change-Id: I79986ee1c0c88700a3a2b1dbff2d3f00c0c412b9 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| b5ef9569 | 30-Nov-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: relocate bl31.bin to the SYSRAM
Tegra186 has an on-die, 320KB, "System RAM" memory. Out of the total size, 256KB are allocated for the CPU TrustZone binaries - EL3 monitor and Trusted OS.
Tegra186: relocate bl31.bin to the SYSRAM
Tegra186 has an on-die, 320KB, "System RAM" memory. Out of the total size, 256KB are allocated for the CPU TrustZone binaries - EL3 monitor and Trusted OS.
This patch changes the base address for bl31.bin to the SysRAM base address. The carveout is too small for the Trusted OS, so we relocate only the monitor binary.
Change-Id: Ib4b667ff2a7a619589851338f9d0bfb02078c575 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| c7ec0892 | 14-Mar-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: implement prepare_system_off handler
This patch issues the 'System Off' ARI to power off the entire system from the 'prepare_system_off' handler.
Signed-off-by: Varun Wadekar <vwadekar@nv
Tegra186: implement prepare_system_off handler
This patch issues the 'System Off' ARI to power off the entire system from the 'prepare_system_off' handler.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| b47d97b3 | 14-Sep-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: power on/off secondary CPUs
This patch add code to power on/off the secondary CPUs on the Tegra186 chip. The MCE block is the actual hardware that takes care of the power on/off sequence.
Tegra186: power on/off secondary CPUs
This patch add code to power on/off the secondary CPUs on the Tegra186 chip. The MCE block is the actual hardware that takes care of the power on/off sequence. We pass the constructed CPU #, depending on the MIDR_IMPL field, to the MCE CPU handlers.
This patch also programs the reset vector addresses to allow the CPUs to power on through the monitor and then jump to the linux world.
Change-Id: Idc164586cda91c2009d66f3e09bf4464de9662db Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| bb844c1f | 09-Sep-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: SiP calls to interact with the MCE driver
This patch adds the new SiP SMC calls to allow the NS world to interact with the MCE hardware block on Tegra186 chips.
Change-Id: I79c6b9f76d68a8
Tegra186: SiP calls to interact with the MCE driver
This patch adds the new SiP SMC calls to allow the NS world to interact with the MCE hardware block on Tegra186 chips.
Change-Id: I79c6b9f76d68a87abd57a940613ec070562d2eac Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 7808b06b | 14-Mar-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: mce: driver for the CPU complex power manager block
The CPU Complex (CCPLEX) Power Manager (Denver MCE, or DMCE) is an offload engine for BPMP to do voltage related sequencing and for hard
Tegra186: mce: driver for the CPU complex power manager block
The CPU Complex (CCPLEX) Power Manager (Denver MCE, or DMCE) is an offload engine for BPMP to do voltage related sequencing and for hardware requests to be handled in a better latency than BPMP-firmware.
There are two interfaces to the MCEs - Abstract Request Interface (ARI) and the traditional NVGINDEX/NVGDATA interface.
MCE supports various commands which can be used by CPUs - ARM as well as Denver, for power management and reset functionality. Since the linux kernel is the master for all these scenarios, each MCE command can be issued by a corresponding SMC. These SMCs have been moved to SiP SMC space as they are specific to the Tegra186 SoC.
Change-Id: I67bee83d2289a8ab63bc5556e5744e5043803e51 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 3cf3183f | 25-Aug-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: platform support for Tegra "T186" SoC
Tegra186 is the newest SoC in the Tegra family which consists of two CPU clusters - Denver and A57. The Denver cluster hosts two next gen Denver15 CPU
Tegra186: platform support for Tegra "T186" SoC
Tegra186 is the newest SoC in the Tegra family which consists of two CPU clusters - Denver and A57. The Denver cluster hosts two next gen Denver15 CPUs while the A57 cluster hosts four ARM Cortex-A57 CPUs. Unlike previous Tegra generations, all the six cores on this SoC would be available to the system at the same time and individual clusters can be powered down to conserve power.
Change-Id: Id0c9919dbf5186d2938603e0b11e821b5892985e Signed-off-by: Wayne Lin <wlin@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 412dd5c5 | 20-Sep-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: Memory Controller Driver (v2)
This patch adds driver for the Memory Controller (v2) in the newer Tegra SoCs. The newer hardware uses ARM's SMMU hardware instead of the proprietary
Tegra: memctrl_v2: Memory Controller Driver (v2)
This patch adds driver for the Memory Controller (v2) in the newer Tegra SoCs. The newer hardware uses ARM's SMMU hardware instead of the proprietary block in the past.
Change-Id: I78359da780dc840213b6e99954e45e34428d4fff Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ea6dec5d | 10-Mar-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: public interfaces to get the chip's major/minor versions
This patch opens up the interfaces to read the chip's major/minor versions for all Tegra drivers to use.
Signed-off-by: Varun Wadekar
Tegra: public interfaces to get the chip's major/minor versions
This patch opens up the interfaces to read the chip's major/minor versions for all Tegra drivers to use.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 75311203 | 07-Mar-2017 |
dp-arm <dimitris.papastamos@arm.com> |
Move plat/common source file definitions to generic Makefiles
These source file definitions should be defined in generic Makefiles so that all platforms can benefit. Ensure that the symbols are prop
Move plat/common source file definitions to generic Makefiles
These source file definitions should be defined in generic Makefiles so that all platforms can benefit. Ensure that the symbols are properly marked as weak so they can be overridden by platforms.
NOTE: This change is a potential compatibility break for non-upstream platforms.
Change-Id: I7b892efa9f2d6d216931360dc6c436e1d10cffed Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
show more ...
|
| baac5dd4 | 07-Nov-2016 |
Andre Przywara <andre.przywara@arm.com> |
plat/tegra: Enable Cortex-A53 erratum 855873 workaround
The NVidia Tegra 210 SoC contains Cortex-A53 CPUs which are affected by erratum 855873.
Enable the workaround that TF provides to fix this er
plat/tegra: Enable Cortex-A53 erratum 855873 workaround
The NVidia Tegra 210 SoC contains Cortex-A53 CPUs which are affected by erratum 855873.
Enable the workaround that TF provides to fix this erratum.
Change-Id: I6cef4ac60ae745e9ce299ee22c93b9d2c4f6c5f2 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| 1f38d3c9 | 06-Mar-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: enable errata for Cortex-A57 and Cortex-A53 CPUs
This patch enables the following erratas for the Tegra210 SoC:
* Cortex-A57 ============= - A57_DISABLE_NON_TEMPORAL_HINT - ERRATA_A57_826
Tegra210: enable errata for Cortex-A57 and Cortex-A53 CPUs
This patch enables the following erratas for the Tegra210 SoC:
* Cortex-A57 ============= - A57_DISABLE_NON_TEMPORAL_HINT - ERRATA_A57_826974 - ERRATA_A57_826977 - ERRATA_A57_828024 - ERRATA_A57_829520 - ERRATA_A57_833471
* Cortex-A53 ============= - A53_DISABLE_NON_TEMPORAL_HINT - ERRATA_A53_826319 - ERRATA_A53_836870
Tegra210 uses Cortex-A57 revision: r1p1 and Cortex-A53 revision: r0p2.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| bc0a0bea | 28-Feb-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: enable SEPARATE_CODE_AND_RODATA build flag
This patch enables the SEPARATE_CODE_AND_RODATA build flag for all Tegra platforms, to allow setting proper MMU attributes for the RO data and the c
Tegra: enable SEPARATE_CODE_AND_RODATA build flag
This patch enables the SEPARATE_CODE_AND_RODATA build flag for all Tegra platforms, to allow setting proper MMU attributes for the RO data and the code.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 7d72bd98 | 28-Dec-2016 |
Harvey Hsieh <hhsieh@nvidia.com> |
Tegra210: assert if afflvl0/1 have incorrect state-ids
The linux kernel v3.10 does not use System Suspend function ID, whereas v4.4 uses it. This means affinity levels 0/1 will have different state
Tegra210: assert if afflvl0/1 have incorrect state-ids
The linux kernel v3.10 does not use System Suspend function ID, whereas v4.4 uses it. This means affinity levels 0/1 will have different state id values during System Suspend entry. This patch updates the assert criteria to check both the state id values.
Change-Id: I07fcaf99501cc9622e40d0a2c1eb4a4a160be10a Signed-off-by: Harvey Hsieh <hhsieh@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 6b51766c | 11-Oct-2016 |
Harvey Hsieh <hhsieh@nvidia.com> |
Tegra: SiP: 64-bit address for Video Memory base
This patch allows the NS world to pass 64-bit base address for the Video Memory carveout region.
Change-Id: I7e47cc1f5425bd39c6763755b801517013e1e0c
Tegra: SiP: 64-bit address for Video Memory base
This patch allows the NS world to pass 64-bit base address for the Video Memory carveout region.
Change-Id: I7e47cc1f5425bd39c6763755b801517013e1e0cd Signed-off-by: Harvey Hsieh <hhsieh@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| b5903dfc | 24-Nov-2016 |
Steven Kao <skao@nvidia.com> |
Tegra: increase ADDR_SPACE_SIZE to 35 bits
This patch increases the ADDR_SPACE_SIZE macro (virtual address) to 35 bits, to support max memory of 32G, for all Tegra platforms.
Change-Id: I8e6861601d
Tegra: increase ADDR_SPACE_SIZE to 35 bits
This patch increases the ADDR_SPACE_SIZE macro (virtual address) to 35 bits, to support max memory of 32G, for all Tegra platforms.
Change-Id: I8e6861601d3a667d7428988c7596b0adebfa0548 Signed-off-by: Steven kao <skao@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 9b514f83 | 07-Nov-2016 |
Damon Duan <danield@nvidia.com> |
Tegra: init the console only if the platform supports it
Some platforms might want to keep the uart console disabled during boot. This patch checks if the platform supports a console, before calling
Tegra: init the console only if the platform supports it
Some platforms might want to keep the uart console disabled during boot. This patch checks if the platform supports a console, before calling console_init().
Change-Id: Icc9c59cb979d91fd0a72e4732403b3284bdd2dfc Signed-off-by: Damon Duan <danield@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 8d8d8d09 | 01-Sep-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: new TZDRAM base address
This patch modifies the TZDRAM base address to the new aperture allocated by the bootloader.
Change-Id: Id158d15b1ec9aa681136d258e90fbba930aebf92 Signed-off-by: Va
Tegra210: new TZDRAM base address
This patch modifies the TZDRAM base address to the new aperture allocated by the bootloader.
Change-Id: Id158d15b1ec9aa681136d258e90fbba930aebf92 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 2f6f7206 | 01-Sep-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: set core power state during cluster power down
This patch sets the core power state during cluster power down, so that the 'get_target_pwr_state' handler can calculate the proper states fo
Tegra210: set core power state during cluster power down
This patch sets the core power state during cluster power down, so that the 'get_target_pwr_state' handler can calculate the proper states for all the affinity levels.
Change-Id: If4adb001011208916427ee1623c6c923bed99985 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 8539f45d | 01-Sep-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: calculate proper power state for affinity levels
This patch fixes the 'tegra_soc_get_target_pwr_state' handler used to calculate the proper state for each of the affinity levels.
Change-Id:
Tegra: calculate proper power state for affinity levels
This patch fixes the 'tegra_soc_get_target_pwr_state' handler used to calculate the proper state for each of the affinity levels.
Change-Id: Id16bd15b96f0fc633ffeac2d7a390592fbd0454b Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 23cd470f | 23-Aug-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: fix logic to calculate GICD_ISPENDR register address
This patch uses GICD_BASE to calculate the GICD_ISPENDR regsiter address in the platform's 'plat_crash_print_regs' routine.
Reported by:
Tegra: fix logic to calculate GICD_ISPENDR register address
This patch uses GICD_BASE to calculate the GICD_ISPENDR regsiter address in the platform's 'plat_crash_print_regs' routine.
Reported by: Seth Eatinger <seatinger@nvidia.com>
Change-Id: Ic7be29abc781f475ad25b59582ae60a0a2497377 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 5b5928e8 | 02-Aug-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: uninit and re-init console across System Suspend
This patch removes the console_init() from runtime_setup() as we already initialize it earlier and disables/enables it across "System Suspend"
Tegra: uninit and re-init console across System Suspend
This patch removes the console_init() from runtime_setup() as we already initialize it earlier and disables/enables it across "System Suspend".
Change-Id: I992d3ca56ff4797faf83e8d7fa52c0ef3e1c3367 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e954ab8f | 20-Jul-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: support for silicon/simulation platforms
This patch adds support to identify the underlying platform on which we are running. The currently supported platforms are actual silicon and simulati
Tegra: support for silicon/simulation platforms
This patch adds support to identify the underlying platform on which we are running. The currently supported platforms are actual silicon and simulation platforms.
Change-Id: Iadf96e79ec663b3dbd1a18e9bb95ffcdb82fc8af Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|