xen/arm: Update the ASSERT() in SYNCHRONIZE_SERROR()
authorJulien Grall <julien.grall@arm.com>
Mon, 7 Oct 2019 12:57:00 +0000 (13:57 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 1 Nov 2019 14:33:32 +0000 (14:33 +0000)
commit2e2356c7bd8f99aa42ed60ceed0e4ba4e06adb8f
tree23af96875912a2bad8cfd60e2564579971af2afe
parentf9e10a9edcaa8d13c667b6ebfc7424b9ca58e78e
xen/arm: Update the ASSERT() in SYNCHRONIZE_SERROR()

The macro SYNCHRONIZE_SERROR() has an assert to check whether it will
be called with Abort interrupt unmasked. However, this is only done if
a given cap is not enabled.

None of the callers will treat the abort interrupt differently
depending on a feature. Furthermore, it makes more difficult to check
whether SYNCHRONIZE_SERROR() is going to be called with abort interrupt
unmasked.

Therefore, we now require the abort interrupt to be unmasked regardless
the state of the cap.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/include/asm-arm/processor.h