[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v5 05/10] Clear AC bit in RFLAGS to protect Xen itself by SMAP

>>> On 06.05.14 at 12:08, <feng.wu@xxxxxxxxx> wrote:
> --- a/xen/arch/x86/boot/x86_64.S
> +++ b/xen/arch/x86/boot/x86_64.S
> @@ -60,7 +60,7 @@ start_bsp:
>  /* This is the default interrupt handler. */
>  ignore_int:
> -        SAVE_ALL
> +        SAVE_ALL 0

I'm afraid Andrew's moving of this to .init.text was wrong, and hence
we ought to treat this as a normal exception entry point and have
CLAC done here (it would continue to be skipped when invoked before
the feature masks got set up).


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.