]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Add performance counters in guest atomic helpers
authorJulien Grall <julien.grall@arm.com>
Mon, 29 Apr 2019 14:05:29 +0000 (15:05 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 14 Jun 2019 13:43:47 +0000 (14:43 +0100)
commit71de67694b92511e397f77a1acce2da7a0c7e987
tree35210d062438c379cb9202f42d63e2e075c944d0
parent3f9140b8812abb2b255bccab26e8f4b5f9d04a28
xen/arm: Add performance counters in guest atomic helpers

Add performance counters in guest atomic helpers to be able to detect
whether a guest is often paused during the operations.

This is part of XSA-295.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/guest_atomics.h
xen/include/asm-arm/perfc_defn.h