Re: [Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-08 Thread Andrew Cooper
On 07/03/16 16:21, Jan Beulich wrote: On 07.03.16 at 17:11, wrote: >> On 07/03/16 15:56, Jan Beulich wrote: >> On 07.03.16 at 16:43, wrote: On 04/03/16 11:27, Jan Beulich wrote: > Make sure the near JMP/CALL check doesn't consume uninitialized > data, not even in a benign wa

Re: [Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-07 Thread Jan Beulich
>>> On 07.03.16 at 17:11, wrote: > On 07/03/16 15:56, Jan Beulich wrote: > On 07.03.16 at 16:43, wrote: >>> On 04/03/16 11:27, Jan Beulich wrote: Make sure the near JMP/CALL check doesn't consume uninitialized data, not even in a benign way. And relax the length check at once.

Re: [Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-07 Thread Andrew Cooper
On 07/03/16 15:56, Jan Beulich wrote: On 07.03.16 at 16:43, wrote: >> On 04/03/16 11:27, Jan Beulich wrote: >>> Make sure the near JMP/CALL check doesn't consume uninitialized >>> data, not even in a benign way. And relax the length check at once. >>> >>> Signed-off-by: Jan Beulich >>> >>> -

Re: [Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-07 Thread Jan Beulich
>>> On 07.03.16 at 16:43, wrote: > On 04/03/16 11:27, Jan Beulich wrote: >> Make sure the near JMP/CALL check doesn't consume uninitialized >> data, not even in a benign way. And relax the length check at once. >> >> Signed-off-by: Jan Beulich >> >> --- a/xen/arch/x86/alternative.c >> +++ b/xen/a

Re: [Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-07 Thread Andrew Cooper
On 04/03/16 11:27, Jan Beulich wrote: > Make sure the near JMP/CALL check doesn't consume uninitialized > data, not even in a benign way. And relax the length check at once. > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/alternative.c > +++ b/xen/arch/x86/alternative.c > @@ -174,7 +174,7 @@

[Xen-devel] [PATCH 1/4] x86/alternatives: correct near branch check

2016-03-04 Thread Jan Beulich
Make sure the near JMP/CALL check doesn't consume uninitialized data, not even in a benign way. And relax the length check at once. Signed-off-by: Jan Beulich --- a/xen/arch/x86/alternative.c +++ b/xen/arch/x86/alternative.c @@ -174,7 +174,7 @@ static void __init apply_alternatives(st m