summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-10-19 15:18:45 -0600
committerTom Warren <twarren@nvidia.com>2016-11-07 14:36:28 -0800
commitb9ae6415b6a099478c71fc3d410fc9a3776d7afa (patch)
treeb6c1c48ee3dd744c194cbfe57782396c3dafd664 /arch/arm/cpu/armv8
parent6db8e17892d9f7e2115f335c0a3bcada74273125 (diff)
ARM: tegra: translate __asm_flush_l3_cache to assembly
When performing a cache disable function, code must not access DRAM. That is because when the cache is disabled, it will be bypassed and all loads and stores will be serviced by RAM. This prevents accessing any dirty data in the cache. In turn, this means the stack cannot be used, since that is in RAM. To guarantee that code doesn't use RAM (and in particular the stack) __asm_flush_l3_cache() must be manually implemented in assembly, rather than implemented in C since the compiler won't know not to touch RAM. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/armv8')
0 files changed, 0 insertions, 0 deletions