mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xen/arm64: Add an helper to invalidate all instruction caches
Signed-off-by: Julien Grall <julien.grall@arm.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
bfb489629c
commit
fb9d877a9c
1 file changed
+6
@@ -24,6 +24,12 @@ static inline void write_pte(lpae_t *p, lpae_t pte)
|
||||
* inline asm operand) */
|
||||
#define __clean_and_invalidate_dcache_one(R) "dc civac, %" #R ";"
|
||||
|
||||
/* Invalidate all instruction caches in Inner Shareable domain to PoU */
|
||||
static inline void invalidate_icache(void)
|
||||
{
|
||||
asm volatile ("ic ialluis");
|
||||
}
|
||||
|
||||
/*
|
||||
* Flush all hypervisor mappings from the TLB of the local processor.
|
||||
*
|
||||
|
||||