armv7a/r: add isb to cp15_invalidate_icache()
Incase invalidate_icache hasn't done Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
6d92810d5a
commit
3477c347e8
@ -339,6 +339,7 @@
|
||||
.macro cp15_invalidate_icache, tmp
|
||||
mov \tmp, #0
|
||||
mrc p15, 0, \tmp, c7, c5, 0 /* ICIALLU */
|
||||
isb
|
||||
.endm
|
||||
|
||||
/****************************************************************************
|
||||
@ -679,6 +680,7 @@ static inline void cp15_invalidate_btb_inner_sharable(void)
|
||||
static inline void cp15_invalidate_icache(void)
|
||||
{
|
||||
CP15_SET(ICIALLU, 0);
|
||||
ARM_ISB();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -346,6 +346,7 @@
|
||||
.macro cp15_invalidate_icache, tmp
|
||||
mov \tmp, #0
|
||||
mrc p15, 0, \tmp, c7, c5, 0 /* ICIALLU */
|
||||
isb
|
||||
.endm
|
||||
|
||||
/****************************************************************************
|
||||
@ -686,6 +687,7 @@ static inline void cp15_invalidate_btb_inner_sharable(void)
|
||||
static inline void cp15_invalidate_icache(void)
|
||||
{
|
||||
CP15_SET(ICIALLU, 0);
|
||||
ARM_ISB();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user