| cb38550c | 13-Dec-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: move smmu driver to tegra/common
This patch moves the smmu driver introduced by the Tegra186 port to tegra/common so that future chips can (re)use it.
Change-Id: Ia44c7f2a62fb2d8869db3a44
Tegra186: move smmu driver to tegra/common
This patch moves the smmu driver introduced by the Tegra186 port to tegra/common so that future chips can (re)use it.
Change-Id: Ia44c7f2a62fb2d8869db3a44742a8c6b13c49036 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 0258840e | 13-Dec-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: drivers: memctrl: move chip specific defines to tegra_def.h
This patch moves the chip specific memory controller driver defines to the appropriate tegra_def.h files, for future compatibility.
Tegra: drivers: memctrl: move chip specific defines to tegra_def.h
This patch moves the chip specific memory controller driver defines to the appropriate tegra_def.h files, for future compatibility.
Change-Id: I3179fb771d8b32e913ca29bd94af95f4b2fc1961 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| d81938ab | 17-Nov-2016 |
Mustafa Yigit Bilgen <mbilgen@nvidia.com> |
Tegra: memctrl_v2: no SID override for AON
Remove stream ID overrides for AON. AON drives its own stream ID when accesing IOVA memory. However, it needs to use a physical stream ID when accesing GSC
Tegra: memctrl_v2: no SID override for AON
Remove stream ID overrides for AON. AON drives its own stream ID when accesing IOVA memory. However, it needs to use a physical stream ID when accesing GSC memory. Overriding stream ids prevents AON from accessing GSC memory, so remove them to allow AON to access GSCs.
Change-Id: Ia2b11014d9780c4546b5e781621ae4cd413735cc Signed-off-by: Mustafa Yigit Bilgen <mbilgen@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 396a9b8f | 22-Aug-2016 |
Vivek Aseeja <vaseeja@nvidia.com> |
Tegra186: memctrl_v2: remove APE overrides for chip verification
This patch reverts the APE overrides added for chip verification.
Change-Id: Ib85560934d63f6e41e95ef6898a341f24761a517 Signed-off-by
Tegra186: memctrl_v2: remove APE overrides for chip verification
This patch reverts the APE overrides added for chip verification.
Change-Id: Ib85560934d63f6e41e95ef6898a341f24761a517 Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 719f3ec2 | 29-Jul-2016 |
Harvey Hsieh <hhsieh@nvidia.com> |
Tegra: memctrl_v2: save TZDRAM settings to secure scratch registers
Save TZDRAM settings for SC7 resume firmware to restore.
SECURITY_BOM: MC_SECURITY_CFG0_0 = SECURE_RSV55_SCRATCH_0 SECURITY_B
Tegra: memctrl_v2: save TZDRAM settings to secure scratch registers
Save TZDRAM settings for SC7 resume firmware to restore.
SECURITY_BOM: MC_SECURITY_CFG0_0 = SECURE_RSV55_SCRATCH_0 SECURITY_BOM_HI: MC_SECURITY_CFG3_0 = SECURE_RSV55_SCRATCH_1 SECURITY_SIZE_MB: MC_SECURITY_CFG1_0 = SECURE_RSV54_SCRATCH_1
Change-Id: I78e891d9ebf576ff2a17ff87cf3aff4030ee11b8 Signed-off-by: Harvey Hsieh <hhsieh@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| c61cd638 | 19-Jul-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: get chip revision using platform identifiers
This patch switches to the functions which identify the underlying platform in order to calculate the chip SKU.
Change-Id: I20cf56234
Tegra: memctrl_v2: get chip revision using platform identifiers
This patch switches to the functions which identify the underlying platform in order to calculate the chip SKU.
Change-Id: I20cf5623465289ccfab28d6578efcf762bfeb456 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 2f583f8e | 25-May-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: TZRAM aperture configuration settings
This patch enables the configuration settings for the TZRAM aperture by programming the base/size of the aperture and restricting access to i
Tegra: memctrl_v2: TZRAM aperture configuration settings
This patch enables the configuration settings for the TZRAM aperture by programming the base/size of the aperture and restricting access to it. We allow only the CPU to read/write by programming the access configuration registers to 0.
Change-Id: Ie16ad29f4c5ec7aafa972b0a0230b4790ad5619e Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ddc1c56f | 30-Mar-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #875 from vwadekar/tegra186-platform-support-v2
Tegra186 platform support v2 |
| ab139902 | 29-Mar-2017 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #870 from douglas-raillard-arm/dr/remove_asm_signed_test
Replace ASM signed tests with unsigned |
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| 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 ...
|
| be87d920 | 17-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: implement MC txn override WAR
This patch sets the Memory Controller's TXN_OVERRIDE registers for most write clients to CGID_ADR. This ensures ordering is maintained. In some cases
Tegra: memctrl_v2: implement MC txn override WAR
This patch sets the Memory Controller's TXN_OVERRIDE registers for most write clients to CGID_ADR. This ensures ordering is maintained. In some cases WAW ordering problems could occur. There are different settings for Tegra version A01 v A02.
Original changes by Alex Waterman <alexw@nvidia.com>
Change-Id: I82ea02afa43a24250ed56985757b83e78e71178c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 67bc721b | 17-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: check GPU state before VPR programming
The GPU is the real consumer of the video protected memory region and it needs to be in reset to pick up the new region.
This patch checks
Tegra: memctrl_v2: check GPU state before VPR programming
The GPU is the real consumer of the video protected memory region and it needs to be in reset to pick up the new region.
This patch checks if the GPU is in reset before we program the new video protected memory region settings.
Change-Id: I44f553bfcf07b1975abad53b245954be966c8aeb Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 8020793f | 17-Feb-2016 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: no SID override for SCE block
This patch fixes the incorrect override settings for the SCE hardware block.
Original change by Pekka Pessi <ppessi@nvidia.com>
Change-Id: I33db55d
Tegra: memctrl_v2: no SID override for SCE block
This patch fixes the incorrect override settings for the SCE hardware block.
Original change by Pekka Pessi <ppessi@nvidia.com>
Change-Id: I33db55d6004331988b52ca70157aab1409f4829f Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| d48c0c45 | 30-Dec-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: secure the on-chip TZSRAM memory
This patch programs the Memory controller's control registers to disable non-secure accesses to the TZRAM. In case these registers are already pro
Tegra: memctrl_v2: secure the on-chip TZSRAM memory
This patch programs the Memory controller's control registers to disable non-secure accesses to the TZRAM. In case these registers are already programmed by the BL2/BL30, then the driver just bails out.
Change-Id: Ia1416988050e3d067296373060c717a260499122 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 ...
|