Age | Commit message (Collapse) | Author |
|
This device tegra_iram_dev can be used to allocate
from IRAM via Dma API.
Change-Id: I5129c223485d2bed7ba659b7b479c6ccc3f618b3
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/412167
(cherry picked from commit b5c2d3b8622be620d5bc444b836754647ec04f8e)
Reviewed-on: http://git-master/r/412802
Reviewed-by: Automatic_Commit_Validation_User
|
|
declare fixed or resizable coherent memory based
on kernel configuration.
bug 1445123
Change-Id: I43ad7889a18a7aa4db09895716a5af0d5bac455e
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/362442
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
Remove the config variable usage from the kernel and make the secure
firmware check dynamic. This make LP1 resume tricky since we need to
execute out of TZRAM till SDRAM is out of self-refresh. To fix this,
store secure firmware presence bit in TZRAM during boot.
Bug 1475528
Change-Id: Ic18766bbee14626e8cf092363d57f4d98b44b6df
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/377616
|
|
non-secure mode."
This reverts commit 7f93a0dddf39f372c064f772f9af6903e91aaacf as
the t132ref builds break with the following errors -
<android>/kernel/drivers/platform/tegra/../../../arch/arm/mach-tegra/reset.c:45: undefined reference to `is_secure_mode'
<android>/kernel/drivers/platform/tegra/../../../arch/arm/mach-tegra/reset.c:57: undefined reference to `is_secure_mode'
<android>/kernel/drivers/platform/tegra/../../../arch/arm/mach-tegra/reset.c:58: undefined reference to `tegra_generic_smc'
Change-Id: I4e44c2ffba4e1c013213e543b67f2d49a928b764
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/365347
|
|
- Remove CONFIG_TEGRA_USE_SECURE_KERNEL config option
- Use DBGDSCR.NS bit to dynamically get secure/non-secure mode
- Replace ifdefs with dynamic code.
- Keep CONFIG_TRUSTED_LITTLE_KERNEL to enable secure os
bug 1411345
Change-Id: I75ddfed7a35fcb30e2772bb43057ae022bcf09b3
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-on: http://git-master/r/353155
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Remove NVIDIA copyright in common.h retaining
the GPL v2 license header
Bug 1415426
Change-Id: Id9f00aba373b8810df4e8d1726bb44992e55aeae
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/356869
(cherry picked from commit 9afec337b1cb9c09db78a0dca70207d46b4c6a2f)
Reviewed-on: http://git-master/r/360120
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Add generic API to display the tegra specific DT information in
kernel log.
Currently it is displaying DTS file name built on dts file.
It can be extend to display many such useful information.
Change-Id: I1094b6a675e3e9e06385bb372bbcebe29dae767c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/337194
|
|
remove unused fuse files and cleanup fuse header
file inclusions
Bug 1380004
Change-Id: Ic63a19d73b6c9106f5b3fa6a74d0c3cdf31bce8b
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/309728
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
|
|
Reserve contiguous memory using dma_declare_contiguous
for generic and VPR carveout.
Change-Id: If3dbc3ecb1e664ed21f4c804f5c7d7f536ca8bc1
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/289420
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
|
|
Convert memory related variables from unsigned long to phys_addr_t. This
is needed because of LPAE which allows physical memory addresses above 4
GB. Also add checks for ensuring that the AVP kernel is loaded below 4
GB.
Change-Id: I896e8db69cd1d2ba2499800fec4a6b224bad8ed8
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/210113
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
|
|
This new config would only be enabled when we enable a secure os
implementation. This config would be generic and we can reuse it
if/when we change the secure os vendor.
Change-Id: I94a0a365d4dc834fafa1137a0c0d9adf1b394c51
Signed-off-by: James Zhao <jamesz@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/211756
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>
|
|
BSEV in OTF driver needs to access secure OS carveout,
then it needs to be setup with 1 to 1 mapping explicitly.
This change sets this secure os carveout with 1 to 1 mapping in SMMU.
Bug : 1204409
Change-Id: I853cb77eb1cb39d17ae0f3e03b5118fc4f048e5e
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/195387
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
There doesn't seem to be a way to make ahb_gizmo_writel inline
as there doesn't seem to be a clean way of moving it around
to keep it inline.
This fixes a warning treated as error found when compiling with
gcc 4.7, namely:
error: inlining failed in call to always_inline 'ahb_gizmo_writel':
function body not available
Change-Id: I5f785656cc63fb6811a27c9a90e62b16e44f0d83
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-on: http://git-master/r/188753
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
Retry writing to AHB registers if fails to write.
bug 1035917
Change-Id: Ieddc80a38496ec80c0ccf95bf4366dd2d9e34a3e
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/168306
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
Bug 917349
Change-Id: I5c9a6a08b755e7763ebca57a1b20b772682255f8
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/89542
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vivek Kumar <vivekk@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: R306c9565bd6b9466611c8f2338a6c304514834ca
|
|
AVP kernel is loaded at a fixed address managed by neither Linux kernel
nor nvmap.
Change-Id: I9254d8a128168d3a00df1946fa5194093a97acb5
Signed-off-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-on: http://git-master/r/84677
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: Rd45fed60efaacd0ce93f76010284f70932149ea1
|
|
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
(cherry picked from commit 859d063878ed63683f3eddd3fd74b5f17c2282fc)
Change-Id: I8f8efca1d78e319138eaa9e5fed6a6a3d53ab22e
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/79140
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Rebase-Id: Rea4d0c1e01148a4dab7474393f97fc7731fb879b
|
|
Hotplug uses the same CPU wfi code as cpuidle to put either cpu
into a slightly lower power mode (clock gated, but still powered).
If the remaining cpu enters LP2, the hotplugged cpu will be power
gated until the remaining cpu is active.
Change-Id: Ib7428709043415dc759136cf91668f6f63fe5a5c
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Ra4e0a44869bdb7af87404b02bb506f88389f3cc6
|
|
This reverts commit b811943160cf3b040341c50d23440cf6d68ae079.
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
The tegra cpu_disable() function is the same as the generic version
in arch/arm/kernel/smp.c. Therefore, it can be removed.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
The tegra_cpu_die was be executed by the CPU itslf. So the clock gating
procedure won't be executed after the CPU hardware shutdown code. Moving
the clock gating procedure to tegra_cpu_kill that will be run by another
CPU after the CPU died.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
|
|
* multiplatform/smp_ops:
ARM: consolidate pen_release instead of having per platform definitions
ARM: smp: Make SMP operations mandatory
ARM: SoC: convert spear13xx to SMP operations
ARM: SoC: convert imx6q to SMP operations
ARM: SoC: convert highbank to SMP operations
ARM: SoC: convert shmobile SMP to SMP operations
ARM: SoC: convert ux500 to SMP operations
ARM: SoC: convert MSM to SMP operations
ARM: SoC: convert Exynos4 to SMP operations
ARM: SoC: convert Tegra to SMP operations
ARM: SoC: convert OMAP4 to SMP operations
ARM: SoC: convert VExpress/RealView to SMP operations
ARM: SoC: add per-platform SMP operations
Conflicts due to file moves or removals in:
arch/arm/mach-msm/board-msm8960.c
arch/arm/mach-msm/board-msm8x60.c
arch/arm/mach-tegra/board-harmony.c
arch/arm/mach-tegra/board-trimslice.c
Conflicts due to board file cleanup:
arch/arm/mach-tegra/board-paz00.c
Conflicts due to cpu hotplug addition:
arch/arm/mach-tegra/hotplug.c
Signed-off-by: Olof Johansson <olof@lixom.net>
|
|
Convert Tegra to use struct smp_operations to provide its SMP
and CPU hotplug operations.
Tested on Harmony.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|