xen/nospec: Introduce CONFIG_SPECULATIVE_HARDEN_ARRAY
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 31 Jan 2019 18:01:16 +0000 (18:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 4 Oct 2019 17:37:41 +0000 (18:37 +0100)
commit0b866f69b4ec97283bc357328f1f68866a07a384
treec335d57e470a7405c935f672135b14e9817e20d7
parent6fc2c7f54811dc41e629e18715ead4548ed4fae7
xen/nospec: Introduce CONFIG_SPECULATIVE_HARDEN_ARRAY

There are legitimate circumstance where array hardening is not wanted or
needed.  Allow it to be turned off.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/common/Kconfig
xen/include/xen/nospec.h