| b8de8473 | 29-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: reset CPU power state info while onlining
This patch resets the CPU power state info when we online any CPU. The NS world software would re-init the CPU power state after the CPU gets onli
Tegra186: reset CPU power state info while onlining
This patch resets the CPU power state info when we online any CPU. The NS world software would re-init the CPU power state after the CPU gets online anyways. This allows us to maintain proper CPU/cluster power states in the MCE firmware at all times.
Change-Id: Ib24054f53df720a4f88d67b2cb5a2e036e475e14 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 2079ddd6 | 26-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: fix recursion in included headers (tegra_def.h/platform_def.h)
This patch fixes the "Recursion in included headers" error flagged by Coverity.
Fixes coverity errors "31858: Recursion in i
Tegra186: fix recursion in included headers (tegra_def.h/platform_def.h)
This patch fixes the "Recursion in included headers" error flagged by Coverity.
Fixes coverity errors "31858: Recursion in included headers" and "31857: Recursion in included headers"
Change-Id: Icf8838434b1808b396e743e47f59adc452546364 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e2b2603c | 26-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: fix logic to calculate TZRAM_ADDR_HI bits
This patch fixes the logic to calculate the higher bits for TZRAM's base/end addresses.
Fixes coverity error "31853: Wrong operator used
Tegra: memctrl_v2: fix logic to calculate TZRAM_ADDR_HI bits
This patch fixes the logic to calculate the higher bits for TZRAM's base/end addresses.
Fixes coverity error "31853: Wrong operator used (CONSTANT_EXPRESSION_RESULT)"
Change-Id: Iff62ef18cba59cd41ad63a5c71664872728356a8 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| d8d6cf24 | 28-Feb-2017 |
Summer Qin <summer.qin@arm.com> |
ARM platforms: Add support for MT bit in MPIDR
This patch modifies some of the functions in ARM platform layer to cater for the case when multi-threading `MT` is set in MPIDR. A new build flag `ARM_
ARM platforms: Add support for MT bit in MPIDR
This patch modifies some of the functions in ARM platform layer to cater for the case when multi-threading `MT` is set in MPIDR. A new build flag `ARM_PLAT_MT` is added, and when enabled, the functions accessing MPIDR now assume that the `MT` bit is set for the platform and access the bit fields accordingly.
Also, a new API plat_arm_get_cpu_pe_count is added when `ARM_PLAT_MT` is enabled, returning the PE count within the physical cpu corresponding to `mpidr`.
Change-Id: I04ccf212ac3054a60882761f4087bae299af13cb Signed-off-by: Summer Qin <summer.qin@arm.com>
show more ...
|
| 3d93f05a | 27-Mar-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #873 from dp-arm/dp/makefile-reorg
Move plat/common source file definitions to generic Makefiles |
| 3b52fc1f | 25-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: program Video Memory carveout size in MBs
This patch fixes the programming logic for the Video memory carveout's size. The Memory Controller expects the size in terms of MBs inste
Tegra: memctrl_v2: program Video Memory carveout size in MBs
This patch fixes the programming logic for the Video memory carveout's size. The Memory Controller expects the size in terms of MBs instead of bytes.
Change-Id: Ia8261b737448bae9a435fe21ab336126785d4279 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 99ef4a5c | 19-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: no stream ID override for Security Engine
This patch removes stream ID override for the Security Engine hardware block as its stream ID is programmed by the NS world driver.
Orig
Tegra: memctrl_v2: no stream ID override for Security Engine
This patch removes stream ID override for the Security Engine hardware block as its stream ID is programmed by the NS world driver.
Original change by Mallikarjun Kasoju <mkasoju@nvidia.com>
Change-Id: Ia6523c1a1bb0a82bdeb878feb55670813899bdac Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| b46ac6dc | 09-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: reset power state info during CPU_ON
This patch resets the power state info for CPUs when onlining, as we set deepest power when offlining a core but that may not be requested by non-secur
Tegra186: reset power state info during CPU_ON
This patch resets the power state info for CPUs when onlining, as we set deepest power when offlining a core but that may not be requested by non-secure sw which controls idle states. It will re-init this info from non-secure software when the core come online.
Original change by Prashant Gaikwad <pgaikwad@nvidia.com>
Change-Id: Id6c2fa2b821c7705aafbb561a62348c36fd3abd8 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| abd3a91d | 02-Apr-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: enable support for simulation environment
The Tegra simulation environment has limited capabilities. This patch checks the chip's major and minor versions to decide the features to enable/
Tegra186: enable support for simulation environment
The Tegra simulation environment has limited capabilities. This patch checks the chip's major and minor versions to decide the features to enable/disable - MCE firmware version checking is disabled and limited Memory Controller settings are enabled
Change-Id: I258a807cc3b83cdff14a9975b4ab4f9d1a9d7dcf Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 5cb89c56 | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: check MCE firmware version during boot
This patch checks that the system is running with the supported MCE firmware during boot. In case the firmware version does not match the interface h
Tegra186: check MCE firmware version during boot
This patch checks that the system is running with the supported MCE firmware during boot. In case the firmware version does not match the interface header version, then the system halts.
Change-Id: Ib82013fd1c1668efd6f0e4f36cd3662d339ac076 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 50f38a4a | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: fix programming sequence for SC7/SC8 entry
This patch fixes the programming sequence for 'System Suspend' and 'Quasi power down' state entry. The device needs to update the required power
Tegra186: fix programming sequence for SC7/SC8 entry
This patch fixes the programming sequence for 'System Suspend' and 'Quasi power down' state entry. The device needs to update the required power state before querying the MCE firmware to see the entry to that power state is allowed.
Original change by Allen Yu <alleny@nvidia.com>
Change-Id: I65e03754322188af913fabf41f29d1c3595afd85 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 1b9ab054 | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: program default core wake mask during CPU_SUSPEND
This patch programs the default CPU wake mask during CPU_SUSPEND. This reduces the CPU_SUSPEND latency as the system has to send one less
Tegra186: program default core wake mask during CPU_SUSPEND
This patch programs the default CPU wake mask during CPU_SUSPEND. This reduces the CPU_SUSPEND latency as the system has to send one less SMC before issuing the actual suspend request.
Original change by Krishna Sitaraman <ksitaraman@nvidia.com>
Change-Id: I1f9351dde4ab30936070e9f42c2882fa691cbe46 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| c60f58ef | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: clear the system cstate for offline core
This patch clears the system cstate when offlining a CPU core as we need to update the sytem cstate to SC7 only when we enter system suspend.
Orig
Tegra186: clear the system cstate for offline core
This patch clears the system cstate when offlining a CPU core as we need to update the sytem cstate to SC7 only when we enter system suspend.
Original change by Prashant Gaikwad <pgaikwad@nvidia.com>
Change-Id: I1cff9bbab4db7d390a491c8939aea5db6c6b5c59 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e8ebf0cb | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: enable APE overrides for chip verification
This patch enables overrides for APE domains to allow the chip verification software harness (MODS) to execute its test cases.
Original
Tegra: memctrl_v2: enable APE overrides for chip verification
This patch enables overrides for APE domains to allow the chip verification software harness (MODS) to execute its test cases.
Original change by Harvey Hsieh <hhsieh@nvidia.com>
Change-Id: I09b22376068c5b65d89c2a53154ccb2c60d955bd Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 66ec1125 | 28-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: mce: enable LATIC for chip verification
This patch adds a new interface to allow for making an ARI call that will enable LATIC for the chip verification software harness.
LATIC allows som
Tegra186: mce: enable LATIC for chip verification
This patch adds a new interface to allow for making an ARI call that will enable LATIC for the chip verification software harness.
LATIC allows some MINI ISMs to be read in the CCPLEX. The ISMs are used for various measurements relevant ot particular locations in Silicon. They are small counters which can be polled to determine how fast a particular location in the Silicon is.
Original change by Guy Sotomayor <gsotomayor@nvidia.com>
Change-Id: Ifb49b8863a009d4cdd5d1ba38a23b5374500a4b3 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 68c7de6f | 18-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: save/restore BL31 context to/from TZDRAM
This patch adds support to save the BL31 state to the TZDRAM before entering system suspend. The TZRAM loses state during system suspend and so we
Tegra186: save/restore BL31 context to/from TZDRAM
This patch adds support to save the BL31 state to the TZDRAM before entering system suspend. The TZRAM loses state during system suspend and so we need to copy the entire BL31 code to TZDRAM before entering the state.
In order to restore the state on exiting system suspend, a new CPU reset handler is implemented which gets copied to TZDRAM during boot. TO keep things simple we use this same reset handler for booting secondary CPUs too.
Change-Id: I770f799c255d22279b5cdb9b4d587d3a4c54fad7 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e64ce3ab | 12-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: re-configure MSS' client settings
This patch reprograms MSS to make ROC deal with ordering of MC traffic after boot and system suspend exit. This is needed as device boots with MSS having
Tegra186: re-configure MSS' client settings
This patch reprograms MSS to make ROC deal with ordering of MC traffic after boot and system suspend exit. This is needed as device boots with MSS having all control but POR wants ROC to deal with the ordering. Performance is expected to improve with ROC but since no one has really tested the performance, keep the option configurable for now by introducing a platform level makefile variable.
Change-Id: I2e782fea138ccf9d281eb043a6b2c3bb97c839a7 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 50402b17 | 03-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: implement support for System Suspend
This patch adds the chip level support for System Suspend entry and exit. As part of the entry sequence we first query the MCE firmware to check if it
Tegra186: implement support for System Suspend
This patch adds the chip level support for System Suspend entry and exit. As part of the entry sequence we first query the MCE firmware to check if it is safe to enter system suspend. Once we get a green light, we save hardware block settings and enter the power state. As expected, all the hardware settings are restored once we exit the power state.
Change-Id: I6d192d7568d6a555eb10efdfd45f6d79c20f74ea Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ea96ac17 | 03-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: memctrl_v2: restore video memory settings
The memory controller loses its settings when the device enters system suspend state.
This patch adds a handler to restore the Video Memory setti
Tegra186: memctrl_v2: restore video memory settings
The memory controller loses its settings when the device enters system suspend state.
This patch adds a handler to restore the Video Memory settings in the memory controller, which would be called after exiting the system suspend state.
Change-Id: I1ac12426d7290ac1452983d3c9e05fabbf3327fa Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 4122151f | 03-Mar-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: smmu: driver for the smmu hardware block
This patch adds a device driver for the SMMU hardware block on Tegra186 SoCs. We use the generic ARM SMMU-500 IP block on Tegra186. The driver only
Tegra186: smmu: driver for the smmu hardware block
This patch adds a device driver for the SMMU hardware block on Tegra186 SoCs. We use the generic ARM SMMU-500 IP block on Tegra186. The driver only supports saving the SMMU settings before entering system suspend. The MC driver and the NS world clients take care of programming their own settings.
Change-Id: Iab5a90310ee10f6bc8745451ce50952ab3de7188 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 768baf6e | 20-Mar-2017 |
Douglas Raillard <douglas.raillard@arm.com> |
Tegra: replace ASM signed tests with unsigned
Replace the occurrences of signed condition codes where it was unnecessary by an unsigned test as the unsigned tests allow the full range of unsigned va
Tegra: replace ASM signed tests with unsigned
Replace the occurrences of signed condition codes where it was unnecessary by an unsigned test as the unsigned tests allow the full range of unsigned values to be used without inverting the result with some large operands.
This reverts commit ee2c909947e0a9c4a2562689a7bfc863bc4794f9.
Change-Id: Ibaa5e8dfae6ad65bada3cda5f683d181fee37e53 Acked-by: Varun Wadekar <vwadekar@nvidia.com> Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
show more ...
|
| 7eaf040a | 29-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: implement quasi power off (SC8) state
This patch adds support for the SC8 system power off state. This state keeps the sensor subsystem powered ON while powering down the remaining parts o
Tegra186: implement quasi power off (SC8) state
This patch adds support for the SC8 system power off state. This state keeps the sensor subsystem powered ON while powering down the remaining parts of the SoC. The CPUs and DRAM are powered down as part of this state entry and perform a cold boot when exiting SC8.
Change-Id: Iba65c661a7fe077a0d696f114bab3b4595e19a0d Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 1f586a71 | 26-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: disable DCO operations for PSCI_CPU_OFF
This patch disables the DCO operations when we turn OFF a CPU. DCO operations are still ON when a CPU enters a power down suspend state.
Change-Id:
Tegra186: disable DCO operations for PSCI_CPU_OFF
This patch disables the DCO operations when we turn OFF a CPU. DCO operations are still ON when a CPU enters a power down suspend state.
Change-Id: I954a800209ffcc9ab43a77f04040608cbbbd9055 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 50cd8646 | 29-Dec-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: register FIQ interrupt sources
This patch registers all the FIQ interrupt sources during platform setup. Currently we support AON and TOP watchdog timer interrupts.
Change-Id: Ibccd866f00
Tegra186: register FIQ interrupt sources
This patch registers all the FIQ interrupt sources during platform setup. Currently we support AON and TOP watchdog timer interrupts.
Change-Id: Ibccd866f00d6b08b574f765538525f95b49c5549 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ac55f309 | 17-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: set NO_OVERRIDE for APE clients
For all APE clients (APER, APEW, APEDMAR, APEDMAW) set NO_OVERRIDE for MC_SID_CFG as ACAST/ADAST will be setup with the required SIDs ie. 0x7F & 0x
Tegra: memctrl_v2: set NO_OVERRIDE for APE clients
For all APE clients (APER, APEW, APEDMAR, APEDMAW) set NO_OVERRIDE for MC_SID_CFG as ACAST/ADAST will be setup with the required SIDs ie. 0x7F & 0x1E.
Original change by Nitin Kumbhar <nkumbhar@nvidia.com>
Change-Id: Idec981b3537cc95dac6ec37cdaa38bc45b16d232 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|