Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Borislav Petkov
On Thu, Feb 08, 2018 at 04:25:58PM +, Rolf Neugebauer wrote: > Here it is below (same disclaimer about crappy mail client). If Boris > is fine with the changes, Greg, I can send it properly with "git > send-email" if needed. Yap, looks ok to me. Thx. -- Regards/Gruss, Boris. Good

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Borislav Petkov
On Thu, Feb 08, 2018 at 04:25:58PM +, Rolf Neugebauer wrote: > Here it is below (same disclaimer about crappy mail client). If Boris > is fine with the changes, Greg, I can send it properly with "git > send-email" if needed. Yap, looks ok to me. Thx. -- Regards/Gruss, Boris. Good

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Greg KH
On Thu, Feb 08, 2018 at 04:25:58PM +, Rolf Neugebauer wrote: > On Thu, Feb 8, 2018 at 2:53 PM, Borislav Petkov wrote: > > On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: > >> On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check > >> first")

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Greg KH
On Thu, Feb 08, 2018 at 04:25:58PM +, Rolf Neugebauer wrote: > On Thu, Feb 8, 2018 at 2:53 PM, Borislav Petkov wrote: > > On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: > >> On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check > >> first") does not apply

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Greg KH
On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: > On Wed, Feb 7, 2018 at 2:34 PM, Greg KH wrote: > > On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: > >> On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > >> > The

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Greg KH
On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: > On Wed, Feb 7, 2018 at 2:34 PM, Greg KH wrote: > > On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: > >> On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > >> > The backport of 7e702d17ed1

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Rolf Neugebauer
On Thu, Feb 8, 2018 at 2:53 PM, Borislav Petkov wrote: > On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: >> On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check >> first") does not apply cleanly. Looks like it relies on 309aac77768c0 >>

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Rolf Neugebauer
On Thu, Feb 8, 2018 at 2:53 PM, Borislav Petkov wrote: > On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: >> On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check >> first") does not apply cleanly. Looks like it relies on 309aac77768c0 >> ("x86/microcode: Decrease

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Borislav Petkov
On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: > On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check > first") does not apply cleanly. Looks like it relies on 309aac77768c0 > ("x86/microcode: Decrease CPUID use") and 7a93a40be23e5 > ("x86/microcode: Remove local

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Borislav Petkov
On Thu, Feb 08, 2018 at 01:55:48PM +, Rolf Neugebauer wrote: > On the 4.4 kernel, 1f161f67a272c ("x86/microcode: Do the family check > first") does not apply cleanly. Looks like it relies on 309aac77768c0 > ("x86/microcode: Decrease CPUID use") and 7a93a40be23e5 > ("x86/microcode: Remove local

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Rolf Neugebauer
On Wed, Feb 7, 2018 at 6:12 PM, Borislav Petkov wrote: > On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: >> arch/x86/kernel/cpu/microcode/core.c | 28 +++- >> 1 file changed, 19 insertions(+), 9 deletions(-) >> >> diff --git

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-08 Thread Rolf Neugebauer
On Wed, Feb 7, 2018 at 6:12 PM, Borislav Petkov wrote: > On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: >> arch/x86/kernel/cpu/microcode/core.c | 28 +++- >> 1 file changed, 19 insertions(+), 9 deletions(-) >> >> diff --git

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Borislav Petkov
On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: > arch/x86/kernel/cpu/microcode/core.c | 28 +++- > 1 file changed, 19 insertions(+), 9 deletions(-) > > diff --git a/arch/x86/kernel/cpu/microcode/core.c > b/arch/x86/kernel/cpu/microcode/core.c > index

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Borislav Petkov
On Wed, Feb 07, 2018 at 04:31:59PM +, Rolf Neugebauer wrote: > arch/x86/kernel/cpu/microcode/core.c | 28 +++- > 1 file changed, 19 insertions(+), 9 deletions(-) > > diff --git a/arch/x86/kernel/cpu/microcode/core.c > b/arch/x86/kernel/cpu/microcode/core.c > index

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Rolf Neugebauer
On Wed, Feb 7, 2018 at 2:34 PM, Greg KH wrote: > On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: >> On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: >> > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW >> > late-loading

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Rolf Neugebauer
On Wed, Feb 7, 2018 at 2:34 PM, Greg KH wrote: > On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: >> On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: >> > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW >> > late-loading further with LLC size check")

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Greg KH
On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: > On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW > > late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes > > a division by zero

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-07 Thread Greg KH
On Tue, Feb 06, 2018 at 03:24:44PM +0100, Borislav Petkov wrote: > On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW > > late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes > > a division by zero

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-06 Thread Borislav Petkov
On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW > late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes > a division by zero panic on some single vCPU machine types on Google > Cloud (e.g. g1-small

Re: x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-06 Thread Borislav Petkov
On Tue, Feb 06, 2018 at 02:09:35PM +, Rolf Neugebauer wrote: > The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW > late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes > a division by zero panic on some single vCPU machine types on Google > Cloud (e.g. g1-small

x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-06 Thread Rolf Neugebauer
The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes a division by zero panic on some single vCPU machine types on Google Cloud (e.g. g1-small and n1-standard-1): [1.591435] divide error: [#1] SMP [

x86/microcode/intel: Division by zero panic in 4.9.79 and 4.4.114

2018-02-06 Thread Rolf Neugebauer
The backport of 7e702d17ed1 ("x86/microcode/intel: Extend BDW late-loading further with LLC size check") to 4.9.79 and 4.4.14 causes a division by zero panic on some single vCPU machine types on Google Cloud (e.g. g1-small and n1-standard-1): [1.591435] divide error: [#1] SMP [