Re: [RFC PATCH 2/6] x86/cpu: Factor out application of forced cpu caps

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:11PM -0800, Andy Lutomirski wrote: > There are multiple call sites that apply forced CPU caps. Factor > them into a helper. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/kernel/cpu/common.c | 21 + > 1 file changed, 13

Re: [RFC PATCH 2/6] x86/cpu: Factor out application of forced cpu caps

2016-12-06 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 05:01:11PM -0800, Andy Lutomirski wrote: > There are multiple call sites that apply forced CPU caps. Factor > them into a helper. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/kernel/cpu/common.c | 21 + > 1 file changed, 13 insertions(+), 8

[RFC PATCH 2/6] x86/cpu: Factor out application of forced cpu caps

2016-12-05 Thread Andy Lutomirski
There are multiple call sites that apply forced CPU caps. Factor them into a helper. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/cpu/common.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/cpu/common.c

[RFC PATCH 2/6] x86/cpu: Factor out application of forced cpu caps

2016-12-05 Thread Andy Lutomirski
There are multiple call sites that apply forced CPU caps. Factor them into a helper. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/cpu/common.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/cpu/common.c