]> xenbits.xensource.com Git - xen.git/commit
xen/arm64: Add missing synchronization barrier in invalidate_cache
authorJulien Grall <julien.grall@arm.com>
Wed, 21 Sep 2016 14:52:12 +0000 (15:52 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 21 Sep 2016 18:21:23 +0000 (11:21 -0700)
commitfc34707ae1fb8801e18421645e87017f6fd9cbfe
tree16b25195f45a804296dbef1706dec0d41c506ed3
parentb67715f50ec6235903a6a030b530a0c65d80b351
xen/arm64: Add missing synchronization barrier in invalidate_cache

The invalidation of the instructions cache requires barriers to ensure
the completion of the invalidation before continuing (see B2.3.4 in ARM
DDI 0487A.j).

This was overlooked in commit fb9d877 "xen/arm64: Add an helper to
invalidate all instruction caches".

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/arm64/page.h