]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
xen/arm: ctxt_switch: Document the erratum #852523 related to Cortex A57
authorJulien Grall <julien.grall@citrix.com>
Thu, 8 Oct 2015 19:22:37 +0000 (20:22 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 14 Oct 2015 10:06:54 +0000 (11:06 +0100)
commitb50c03d281fd1cfaf1f99654a2d6987a702b41a3
tree2d0784ed3eb6febf0a76f532cc5aa2b495412019
parent7a9203633ef8a7f215deee531d47aa203f195395
xen/arm: ctxt_switch: Document the erratum #852523 related to Cortex A57

When restoring the system register state for an AArch32 guest at EL2,
writes to DACR32_EL2 may not be correctly synchronised by Cortex-A57,
which can lead to the guest effectively running into unexpected domain
faults.

Thankfully, we don't hit this erratum in Xen. Nonetheless, document the
code to prevent any introduction of the erratum if the context switch
code is re-ordered.

Link: http://lists.xen.org/archives/html/xen-devel/2015-09/msg01746.html
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- comment nits ]
xen/arch/arm/domain.c