projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb4896
)
xen/arm64: Add an helper to invalidate all instruction caches
author
Julien Grall
<julien.grall@arm.com>
Wed, 22 Jun 2016 11:15:20 +0000
(12:15 +0100)
committer
Stefano Stabellini
<sstabellini@kernel.org>
Wed, 13 Jul 2016 17:30:44 +0000
(18:30 +0100)
Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/arm64/page.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-arm/arm64/page.h
b/xen/include/asm-arm/arm64/page.h
index 29a32cf4e77ebf87be9afad5d00d36020d58361a..fbdc8fb7711e5a2478a8f4e066f7ebbcc575a3f1 100644
(file)
--- a/
xen/include/asm-arm/arm64/page.h
+++ b/
xen/include/asm-arm/arm64/page.h
@@
-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.
*