Re: [PATCH 4/5] x86/alternatives: Add an auxilary section

2016-01-21 Thread Borislav Petkov
On Thu, Jan 21, 2016 at 11:00:03AM -0800, H. Peter Anvin wrote: > NAK on this being part of .altinstr_replacement (if anything it ought to > simply be part of .text.init). Otherwise fine. You mean .init.text. Brian had it there in his original version. Out of curiosity, why don't you want it in .

Re: [PATCH 4/5] x86/alternatives: Add an auxilary section

2016-01-21 Thread H. Peter Anvin
On 01/21/16 11:07, Borislav Petkov wrote: > On Thu, Jan 21, 2016 at 11:00:03AM -0800, H. Peter Anvin wrote: >> NAK on this being part of .altinstr_replacement (if anything it ought to >> simply be part of .text.init). Otherwise fine. > > You mean .init.text. Brian had it there in his original ver

Re: [PATCH 4/5] x86/alternatives: Add an auxilary section

2016-01-21 Thread H. Peter Anvin
On 01/21/16 10:34, Borislav Petkov wrote: > From: Borislav Petkov > > Add .altinstr_aux for additional instructions which will be used before > and/or during patching. All stuff which needs more sophisticated > patching should go there. See next patch. > > Signed-off-by: Borislav Petkov > --- >

[PATCH 4/5] x86/alternatives: Add an auxilary section

2016-01-21 Thread Borislav Petkov
From: Borislav Petkov Add .altinstr_aux for additional instructions which will be used before and/or during patching. All stuff which needs more sophisticated patching should go there. See next patch. Signed-off-by: Borislav Petkov --- arch/x86/kernel/vmlinux.lds.S | 9 + 1 file change