| bf75a371 | 23-Feb-2017 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
ARM platforms: Enable xlat tables lib v2
Modify ARM common makefile to use version 2 of the translation tables library and include the new header in C files.
Simplify header dependencies related to
ARM platforms: Enable xlat tables lib v2
Modify ARM common makefile to use version 2 of the translation tables library and include the new header in C files.
Simplify header dependencies related to this library to simplify the change.
The following table contains information about the size increase in bytes for BL1 after applying this patch. The code has been compiled for different configurations of FVP in AArch64 mode with compiler GCC 4.9.3 20150413. The sizes have been calculated with the output of `nm` by adding the size of all regions and comparing the total size before and after the change. They are sumarized in the table below:
text bss data total Release +660 -20 +88 +728 Debug +740 -20 +242 +962 Debug (LOG_LEVEL=50) +1120 -20 +317 +1417
Change-Id: I539e307f158ab71e3a8b771640001fc1bf431b29 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| ccbec91c | 24-Feb-2017 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Apply workaround for errata 813419 of Cortex-A57
TLBI instructions for EL3 won't have the desired effect under specific circumstances in Cortex-A57 r0p0. The workaround is to execute DSB and TLBI tw
Apply workaround for errata 813419 of Cortex-A57
TLBI instructions for EL3 won't have the desired effect under specific circumstances in Cortex-A57 r0p0. The workaround is to execute DSB and TLBI twice each time.
Even though this errata is only needed in r0p0, the current errata framework is not prepared to apply run-time workarounds. The current one is always applied if compiled in, regardless of the CPU or its revision.
This errata has been enabled for Juno.
The `DSB` instruction used when initializing the translation tables has been changed to `DSB ISH` as an optimization and to be consistent with the barriers used for the workaround.
Change-Id: Ifc1d70b79cb5e0d87e90d88d376a59385667d338 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| d50ece03 | 20-Feb-2017 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Simplify translation tables headers dependencies
The files affected by this patch don't really depend on `xlat_tables.h`. By changing the included file it becomes easier to switch between the two ve
Simplify translation tables headers dependencies
The files affected by this patch don't really depend on `xlat_tables.h`. By changing the included file it becomes easier to switch between the two versions of the translation tables library.
Change-Id: Idae9171c490e0865cb55883b19eaf942457c4ccc Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@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 ...
|
| 32bf0e29 | 04-Mar-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #863 from vwadekar/tegra-changes-from-downstream-v4
Tegra changes from downstream v4 |
| 08ba8c6e | 03-Mar-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #854 from rockchip-linux/pm_plat
rockchip: plat_pm.c: Change callbacks implement for our SOCs. |
| 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 ...
|
| ad2c0567 | 03-Mar-2017 |
tony.xie <tony.xie@rock-chips.com> |
rockchip: Change the callback implement of power domain for rk3368
Change-Id: I6d39b4cac9b34b1f841e9bbddaf9c49785ba0c5e Signed-off-by: tony.xie <tony.xie@rock-chips.com> |
| 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 ...
|
| a6b3954b | 14-Feb-2017 |
Soby Mathew <soby.mathew@arm.com> |
AArch32: Enable override of plat_set_my_stack/plat_get_my_stack
This patch makes the default MP definitions of plat_get_my_stack() and plat_set_my_stack() as weak so that they can be overridden by t
AArch32: Enable override of plat_set_my_stack/plat_get_my_stack
This patch makes the default MP definitions of plat_get_my_stack() and plat_set_my_stack() as weak so that they can be overridden by the AArch32 Secure Payload if it requires.
Change-Id: I3b6ddff5750443a776505e3023ff2934227592b6 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
show more ...
|
| f32ab444 | 01-Mar-2017 |
tony.xie <tony.xie@rock-chips.com> |
rockchip: plat_pm.c: Change callbacks implement for our SOCs.
Remove struct rockchip_pm_ops_cb and instead of using weak functions implement; in this way we want the codes look clear and simple;
Ch
rockchip: plat_pm.c: Change callbacks implement for our SOCs.
Remove struct rockchip_pm_ops_cb and instead of using weak functions implement; in this way we want the codes look clear and simple;
Change-Id: Ib9e8a5e932fdfc2b3e6a1ec502c40dfe720ac400 Signed-off-by: tony.xie <tony.xie@rock-chips.com>
show more ...
|
| a7cd0953 | 07-Jun-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: per-soc `get_target_pwr_state` handler
This patch implements a per-soc handler to calculate the target power state for the cluster/system. A weak implementation of the handler is provided for
Tegra: per-soc `get_target_pwr_state` handler
This patch implements a per-soc handler to calculate the target power state for the cluster/system. A weak implementation of the handler is provided for platforms to use by default.
For SoCs with multiple CPU clusters, this handler would provide the individual cluster/system state, allowing the PSCI service to flush caches during cluster/system power down.
Change-Id: I568cdb42204f9841a8430bd9105bd694f71cf91d Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| da3849ec | 23-May-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: relocate BL32 image to TZDRAM memory
This patch adds support to relocate the BL32 image from the NS memory to TZDRAM during cold boot. The NS memory buffer is cleared out after the process co
Tegra: relocate BL32 image to TZDRAM memory
This patch adds support to relocate the BL32 image from the NS memory to TZDRAM during cold boot. The NS memory buffer is cleared out after the process completes.
Change-Id: I1a033ffe73b8c309449f874d5187708d0a8846d2 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 8ab06d2f | 23-May-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: get BL31 arguments from previous bootloader
This patch implements handlers which platforms can override to get the BL31 arguments passed by the previous bootloader.
Change-Id: I6b9628a984644
Tegra: get BL31 arguments from previous bootloader
This patch implements handlers which platforms can override to get the BL31 arguments passed by the previous bootloader.
Change-Id: I6b9628a984644ce1b5de5aa6d7cd890e57241d89 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 4ce9a182 | 06-Jun-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: return BL32 entry point info if it is valid
This patch returns pointer to the BL32 entrypoint info only if it is valid.
Change-Id: I71ce3c4626681753c94f3a7bbaa50c26c74874cb Signed-off-by: Va
Tegra: return BL32 entry point info if it is valid
This patch returns pointer to the BL32 entrypoint info only if it is valid.
Change-Id: I71ce3c4626681753c94f3a7bbaa50c26c74874cb Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 08012f48 | 05-Jun-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: configure TZDRAM fence during early setup
This patch configures the TZDRAM fence during early platform setup to allow the memory controller to enable DRAM encryption before the TZDRAM actuall
Tegra: configure TZDRAM fence during early setup
This patch configures the TZDRAM fence during early platform setup to allow the memory controller to enable DRAM encryption before the TZDRAM actually gets used.
Change-Id: I0169ef9dda75699527b4e30c9e617a9036ba1d76 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|