| 601a8e54 | 23-Oct-2017 |
Steven Kao <skao@nvidia.com> |
Tegra: rename secure scratch register macros
This patch renames all the secure scratch registers to reflect their usage.
This is a list of all the macros being renamed:
- SECURE_SCRATCH_RSV1_* ->
Tegra: rename secure scratch register macros
This patch renames all the secure scratch registers to reflect their usage.
This is a list of all the macros being renamed:
- SECURE_SCRATCH_RSV1_* -> SCRATCH_RESET_VECTOR_* - SECURE_SCRATCH_RSV6 -> SCRATCH_SECURE_BOOTP_FCFG - SECURE_SCRATCH_RSV11_* -> SCRATCH_SMMU_TABLE_ADDR_* - SECURE_SCRATCH_RSV53_* -> SCRATCH_BOOT_PARAMS_ADDR_* - SECURE_SCRATCH_RSV55_* -> SCRATCH_TZDRAM_ADDR_*
NOTE: Future SoCs will have to define these macros to keep the drivers functioning.
Change-Id: Ib3ba40dd32e77b92b47825f19c420e6fdfa8b987 Signed-off-by: Steven Kao <skao@nvidia.com>
show more ...
|
| d5bd0de6 | 30-Oct-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: memctrl_v2: platform handler for TZDRAM settings
The Tegra memctrl driver sets up the TZDRAM fence during boot and system suspend exit. This patch provides individual platforms with handlers
Tegra: memctrl_v2: platform handler for TZDRAM settings
The Tegra memctrl driver sets up the TZDRAM fence during boot and system suspend exit. This patch provides individual platforms with handlers to perform platform specific steps, e.g. enable encryption, save base/size to secure scratch registers.
Change-Id: Ifaa2e0eac20b50f77ec734256544c36dd511bd63 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 7191566c | 25-Oct-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: secondary: fix MISRA violations for Rules 8.6, 11.1
This patch fixes the following MISRA violations:
Rule 8.6: Externally-linked object or function has "no" definition(s). Rule 11.1: A ca
Tegra186: secondary: fix MISRA violations for Rules 8.6, 11.1
This patch fixes the following MISRA violations:
Rule 8.6: Externally-linked object or function has "no" definition(s). Rule 11.1: A cast shall not convert a pointer to a function to any other type.
Change-Id: Ic1f6fc14c744e54ff782c6987dab9c9430410f5e Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| b6d1757b | 17-Oct-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: sanity check target cluster during core power on
This patch sanity checks the target cluster value, during core power on, by comparing it against the maximum number of clusters supported b
Tegra186: sanity check target cluster during core power on
This patch sanity checks the target cluster value, during core power on, by comparing it against the maximum number of clusters supported by the platform.
Reported by: Rohit Khanna <rokhanna@nvidia.com>
Change-Id: Ia73ccf04bd246403de4ffff6e5c99e3b00fb98ca Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ad67f8c5 | 22-Sep-2017 |
Anthony Zhou <anzhou@nvidia.com> |
Tegra186: setup: Fix MISRA Rule 8.4 violation
MISRA Rule 8.4, A compatible declaration shall be visible when an object or function with external linkage is defined.
This patch adds static for local
Tegra186: setup: Fix MISRA Rule 8.4 violation
MISRA Rule 8.4, A compatible declaration shall be visible when an object or function with external linkage is defined.
This patch adds static for local array to fix this defect.
Change-Id: I8231448bf1bc0b1e59611d7645ca983b83d5c8e3 Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
show more ...
|
| 26e2b93a | 25-Sep-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: bpmp_ipc: IPC driver to communicate with BPMP firmware
This patch adds the driver to communicate with the BPMP firmware on Tegra SoCs, starting Tegra186. BPMP firmware is responsible for cloc
Tegra: bpmp_ipc: IPC driver to communicate with BPMP firmware
This patch adds the driver to communicate with the BPMP firmware on Tegra SoCs, starting Tegra186. BPMP firmware is responsible for clock enable/ disable requests, module resets among other things.
MRQ is short for Message ReQuest. This is the general purpose, multi channel messaging protocol that is widely used to communicate with BPMP. This is further divided into a common high level protocol and a peer-specific low level protocol. The higher level protocol specifies the peer identification, channel definition and allocation, message structure, message semantics and message dispatch process whereas the lower level protocol defines actual message transfer implementation details. Currently, BPMP supports two lower level protocols - Token Mail Operations (TMO), IVC Mail Operations (IMO).
This driver implements the IMO protocol. IMO is implemented using the IVC (Inter-VM Communication) protocol which is a lockless, shared memory messaging queue management protocol.
The IVC peer is expected to perform the following as part of establishing a connection with BPMP.
1. Initialize the channels with tegra_ivc_init() or its equivalent. 2. Reset the channel with tegra_ivc_channel_reset. The peer should also ensure that BPMP is notified via the doorbell. 3. Poll until the channel connection is established [tegra_ivc_channel_notified() return 0]. Interrupt BPMP with doorbell each time after tegra_ivc_channel_notified() return non zero.
The IPC driver currently supports reseting the GPCDMAand XUSB_PADCTL hardware blocks. In future, more hardware blocks would be supported.
Change-Id: I52a4bd3a853de6c4fa410904b6614ff1c63df364 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 01da3bd2 | 20-Sep-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: call 'early_init' handler earlier during boot
This patch calls the 'early_init' handler earlier during boot. This allows the platforms using Tegra186 onwards to init the BPMP interface earlie
Tegra: call 'early_init' handler earlier during boot
This patch calls the 'early_init' handler earlier during boot. This allows the platforms using Tegra186 onwards to init the BPMP interface earlier.
Change-Id: I0d540df39de7864ce9051ebe11eca5432c462ebf Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| d6306d14 | 06-Sep-2017 |
Steven Kao <skao@nvidia.com> |
Tegra: memctrl_v2: allow CPU accesses to TZRAM
This patch enables CPU access configuration register to allow accesses to the TZRAM aperture on chips after Tegra186.
Change-Id: I0898582f8bd6fd35360e
Tegra: memctrl_v2: allow CPU accesses to TZRAM
This patch enables CPU access configuration register to allow accesses to the TZRAM aperture on chips after Tegra186.
Change-Id: I0898582f8bd6fd35360ecf8ca5cee21fe35f7aab Signed-off-by: Steven Kao <skao@nvidia.com>
show more ...
|
| 91196b02 | 08-Sep-2017 |
Anthony Zhou <anzhou@nvidia.com> |
Tegra: lib: debug: fix MISRA violation Rule 21.6
MISRA Rule 21.6, The standard library input/output functions shall not be used.
This patch removes headers that are not really needed.
Change-Id: I
Tegra: lib: debug: fix MISRA violation Rule 21.6
MISRA Rule 21.6, The standard library input/output functions shall not be used.
This patch removes headers that are not really needed.
Change-Id: I746138ce7ee95d7ca985d020f89b2738d997a7a2 Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
show more ...
|
| b886c7c5 | 18-Sep-2017 |
Harvey Hsieh <hhsieh@nvidia.com> |
Tegra: memctrl_v2: pack TZDRAM base to RSVD55_SCRATCH
This patch saves the TZDRAM_BASE value to secure RSVD55 scratch register. The warmboot code uses this register to restore the settings on exitin
Tegra: memctrl_v2: pack TZDRAM base to RSVD55_SCRATCH
This patch saves the TZDRAM_BASE value to secure RSVD55 scratch register. The warmboot code uses this register to restore the settings on exiting System Suspend.
Change-Id: Id76175c2a7d931227589468511365599e2908411 Signed-off-by: Harvey Hsieh <hhsieh@nvidia.com>
show more ...
|
| 7f9d75d2 | 07-Sep-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: enable -nostdlib flag
This patch enables the '-nostdlib' flag to instruct the compiler to not use the standard system libraries and startup files.
Change-Id: Ibf34856f7579ed686280cee19c35d08
Tegra: enable -nostdlib flag
This patch enables the '-nostdlib' flag to instruct the compiler to not use the standard system libraries and startup files.
Change-Id: Ibf34856f7579ed686280cee19c35d08448cf921c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| f8f400d2 | 06-Sep-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: mce: get the "right" uncore command/response bits
This patch corrects the logic to read the uncore command/response bits from the command/response values. The previous logic tapped into in
Tegra186: mce: get the "right" uncore command/response bits
This patch corrects the logic to read the uncore command/response bits from the command/response values. The previous logic tapped into incorrect bits leading to garbage counter values.
Change-Id: Ib8327ca3cb3d2086bb268e9a5366865cdf35b493 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| f9f620d6 | 01-Sep-2017 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra186: mce: use udelay() to calculate timeouts
This patch modifies the timeout loop to use udelay() instead of mdelay(). This helps with the boot time on some platforms which issue a lot of MCE c
Tegra186: mce: use udelay() to calculate timeouts
This patch modifies the timeout loop to use udelay() instead of mdelay(). This helps with the boot time on some platforms which issue a lot of MCE calls and every mdelay adds up increasing the boot time by a lot.
Change-Id: Ic50081b73e1cbc2714361235b5c396e294b8f752 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 8dc92783 | 29-Aug-2017 |
Anthony Zhou <anzhou@nvidia.com> |
Tegra186: fix MISRA Rule 8.3 violation
MISRA Rule 8.3, All declarations of an object or function shall use the same names and type qualifiers.
This patch removes unused function(s).
Change-Id: I90
Tegra186: fix MISRA Rule 8.3 violation
MISRA Rule 8.3, All declarations of an object or function shall use the same names and type qualifiers.
This patch removes unused function(s).
Change-Id: I90865c003d46f1dc08bfb5f4fe8a327ea42a2bb7 Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
show more ...
|
| ab2eb455 | 04-Aug-2017 |
Puneet Saxena <puneets@nvidia.com> |
Tegra: memctrl_v2: platform handlers to program MSS
Introduce platform handlers to program the MSS settings. This allows the current driver to scale to future chips.
Change-Id: I40a27648a1a3c73b1ce
Tegra: memctrl_v2: platform handlers to program MSS
Introduce platform handlers to program the MSS settings. This allows the current driver to scale to future chips.
Change-Id: I40a27648a1a3c73b1ce38dafddc1babb6f0b0d9b Signed-off-by: Puneet Saxena <puneets@nvidia.com> Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
show more ...
|
| 5b8d50e4 | 15-Nov-2018 |
Sathees Balya <sathees.balya@arm.com> |
plat/arm: Save BL2 descriptors to reserved memory.
On ARM platforms, the BL2 memory can be overlaid by BL31/BL32. The memory descriptors describing the list of executable images are created in BL2 R
plat/arm: Save BL2 descriptors to reserved memory.
On ARM platforms, the BL2 memory can be overlaid by BL31/BL32. The memory descriptors describing the list of executable images are created in BL2 R/W memory, which could be possibly corrupted later on by BL31/BL32 due to overlay. This patch creates a reserved location in SRAM for these descriptors and are copied over by BL2 before handing over to next BL image.
Also this patch increases the PLAT_ARM_MAX_BL2_SIZE for juno when TBBR is enabled.
Fixes ARM-Software/tf-issues#626
Change-Id: I755735706fa702024b4032f51ed4895b3687377f Signed-off-by: Sathees Balya <sathees.balya@arm.com>
show more ...
|
| ae478c26 | 23-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1768 from bryanodonoghue/integration+linaro_warp7-tbb
Integration+linaro warp7 tbb |
| b5443284 | 22-Jan-2019 |
Andrew F. Davis <afd@ti.com> |
ti: k3: common: Add support for runtime detection of GICR base address
Valid addresses for GICR base are always a set calculable distance from the GICD and is based on the number of cores a given in
ti: k3: common: Add support for runtime detection of GICR base address
Valid addresses for GICR base are always a set calculable distance from the GICD and is based on the number of cores a given instance of GICv3 IP can support. The formula for the number of address bits is given by the ARM GIC-500 TRM section 3.2 as 2^(18+log2(cores)) with the MSB set to one for GICR instances. Holes in the GIC address space are also guaranteed to safely return 0 on reads. This allows us to support runtime detection of the GICR base address by starting from GIC base address plus BIT(18) and walking until the GICR ID register (IIDR) is detected. We stop searching after BIT(20) to prevent searching out into space if something goes wrong. This can be extended out if we ever have a device with 16 or more cores.
Signed-off-by: Andrew F. Davis <afd@ti.com>
show more ...
|
| a0d89439 | 22-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1772 from glneo/clear-proxy-queue
TI K3 Clear proxy receive queue on transmit |
| 94764b06 | 22-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1775 from glneo/uart-baud-rate
ti: k3: common: Allow customizing UART baud rate using build options |
| fcc9ad89 | 22-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1774 from glneo/error-message
ti: k3: drivers: sec_proxy: Switch error messages |
| e92fc067 | 22-Jan-2019 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1771 from glneo/core-shutdown
TI K3 Core shutdown changes |
| 8855e52e | 21-Jan-2019 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
SPM: Rename SPM_DEPRECATED flag to SPM_MM
The SPM implementation based on MM is going to be kept for the foreseeable future.
Change-Id: I11e96778a4f52a1aa803e7e048d9a7cb24a53954 Signed-off-by: Anto
SPM: Rename SPM_DEPRECATED flag to SPM_MM
The SPM implementation based on MM is going to be kept for the foreseeable future.
Change-Id: I11e96778a4f52a1aa803e7e048d9a7cb24a53954 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com> Acked-by: Sumit Garg <sumit.garg@linaro.org>
show more ...
|
| 50b2f55b | 14-Jan-2019 |
Andreas Dannenberg <dannenberg@ti.com> |
ti: k3: common: Allow customizing UART baud rate using build options
To accommodate scenarios where we want to use a UART baud rate other than the default 115,200 allow the associated compiler defin
ti: k3: common: Allow customizing UART baud rate using build options
To accommodate scenarios where we want to use a UART baud rate other than the default 115,200 allow the associated compiler definition to be set via the K3_USART_BAUD build option by updating the platform make file.
Since the platform make file now also contains the default value (still 115,200), go ahead and remove the redundant definition from the platform header file.
Suggested-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
show more ...
|
| 73522f00 | 04-Jan-2019 |
Andrew F. Davis <afd@ti.com> |
ti: k3: drivers: ti_sci: Clear receive queue before transmitting
Send and receive currently must be be serialized, any message already in the receive queue when a new message is to be sent will caus
ti: k3: drivers: ti_sci: Clear receive queue before transmitting
Send and receive currently must be be serialized, any message already in the receive queue when a new message is to be sent will cause a mismatch with the expected response from this new message. Clear out all messages from the response queue before sending a new request.
Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Nishanth Menon <nm@ti.com>
show more ...
|