Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-09 Thread Borislav Petkov
On Mon, Nov 09, 2015 at 10:42:13AM +0100, Harald Hoyer wrote: > Will this work with kernels not supporting the microcode loading? > Theoretically the old kernels would just unpack all cpios one after > the other, right? Well, what we should be doing is adding two paths to the initrd: for AMD:

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-09 Thread Harald Hoyer
Am 06.11.2015 um 20:31 schrieb Borislav Petkov: > On Fri, Nov 06, 2015 at 02:22:42PM -0500, Josh Boyer wrote: >> So this broke dracut. Dracut will look at the config file for the >> INTEL or AMD early config options being set. > > Nothing outside the kernel should depend on Kconfig symbols. >

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-09 Thread Borislav Petkov
On Mon, Nov 09, 2015 at 10:42:13AM +0100, Harald Hoyer wrote: > Will this work with kernels not supporting the microcode loading? > Theoretically the old kernels would just unpack all cpios one after > the other, right? Well, what we should be doing is adding two paths to the initrd: for AMD:

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-09 Thread Harald Hoyer
Am 06.11.2015 um 20:31 schrieb Borislav Petkov: > On Fri, Nov 06, 2015 at 02:22:42PM -0500, Josh Boyer wrote: >> So this broke dracut. Dracut will look at the config file for the >> INTEL or AMD early config options being set. > > Nothing outside the kernel should depend on Kconfig symbols. >

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 02:22:42PM -0500, Josh Boyer wrote: > So this broke dracut. Dracut will look at the config file for the > INTEL or AMD early config options being set. Nothing outside the kernel should depend on Kconfig symbols. > Do we have suggestions on how to work this out going

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-06 Thread Josh Boyer
On Tue, Oct 20, 2015 at 5:54 AM, Borislav Petkov wrote: > From: Borislav Petkov > > Merge the early loader functionality into the driver proper. The diff > is huge but logically, it is simply moving code from the _early.c files > into the main driver. > > Signed-off-by: Borislav Petkov > --- >

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-06 Thread Josh Boyer
On Tue, Oct 20, 2015 at 5:54 AM, Borislav Petkov wrote: > From: Borislav Petkov > > Merge the early loader functionality into the driver proper. The diff > is huge but logically, it is simply moving code from the _early.c files > into the main driver. > >

Re: [PATCH 2/6] x86/microcode: Merge early loader

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 02:22:42PM -0500, Josh Boyer wrote: > So this broke dracut. Dracut will look at the config file for the > INTEL or AMD early config options being set. Nothing outside the kernel should depend on Kconfig symbols. > Do we have suggestions on how to work this out going

[PATCH 2/6] x86/microcode: Merge early loader

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Merge the early loader functionality into the driver proper. The diff is huge but logically, it is simply moving code from the _early.c files into the main driver. Signed-off-by: Borislav Petkov --- arch/x86/Kconfig| 19 +-

[PATCH 2/6] x86/microcode: Merge early loader

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Merge the early loader functionality into the driver proper. The diff is huge but logically, it is simply moving code from the _early.c files into the main driver. Signed-off-by: Borislav Petkov --- arch/x86/Kconfig