Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
5ff6da94
Unverified
Commit
5ff6da94
authored
Feb 26, 2018
by
davidcunado-arm
Committed by
GitHub
Feb 26, 2018
Browse files
Merge pull request #1273 from antonio-nino-diaz-arm/an/fix-tlbi-disable-mmu
Ensure the correct execution of TLBI instructions
parents
4b26f79a
6bf0e079
Changes
3
Hide whitespace changes
Inline
Side-by-side
bl1/aarch64/bl1_exceptions.S
View file @
5ff6da94
...
...
@@ -187,6 +187,7 @@ func smc_handler64
bl
disable_mmu_icache_el3
tlbi
alle3
dsb
ish
/*
ERET
implies
ISB
,
so
it
is
not
needed
here
*/
#if SPIN_ON_BL1_EXIT
bl
print_debug_loop_message
...
...
plat/rockchip/rk3328/drivers/pmu/pmu.c
View file @
5ff6da94
...
...
@@ -591,8 +591,10 @@ err_loop:
__sramfunc
void
sram_suspend
(
void
)
{
/* disable mmu and icache */
tlbialle3
();
disable_mmu_icache_el3
();
tlbialle3
();
dsbsy
();
isb
();
mmio_write_32
(
SGRF_BASE
+
SGRF_SOC_CON
(
1
),
((
uintptr_t
)
&
pmu_cpuson_entrypoint
>>
CPU_BOOT_ADDR_ALIGN
)
|
...
...
services/std_svc/spm/secure_partition_setup.c
View file @
5ff6da94
...
...
@@ -54,6 +54,7 @@ void secure_partition_setup(void)
/* Invalidate TLBs at EL1. */
tlbivmalle1
();
dsbish
();
/*
* General-Purpose registers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment