Re: [SeaBIOS] [PATCH v4 3/5] error out if present cpus count changed during SMP bringup

2016-09-16 Thread Igor Mammedov
On Fri, 16 Sep 2016 08:55:49 -0400 "Kevin O'Connor" wrote: > On Fri, Sep 16, 2016 at 01:54:16PM +0200, Igor Mammedov wrote: > > if during SMP bringup a cpu is hotplugged, Seabios might > > silently hung in > > > > while (cmos_smp_count != CountCPUs) > > > > loop as cmos_smp_count might be les

Re: [SeaBIOS] [PATCH v4 3/5] error out if present cpus count changed during SMP bringup

2016-09-16 Thread Kevin O'Connor
On Fri, Sep 16, 2016 at 01:54:16PM +0200, Igor Mammedov wrote: > if during SMP bringup a cpu is hotplugged, Seabios might > silently hung in > > while (cmos_smp_count != CountCPUs) > > loop as cmos_smp_count might be less then CountCPUs if > SIPI were delivered to the hotplugged CPU. > > Warn

[SeaBIOS] [PATCH v4 3/5] error out if present cpus count changed during SMP bringup

2016-09-16 Thread Igor Mammedov
if during SMP bringup a cpu is hotplugged, Seabios might silently hung in while (cmos_smp_count != CountCPUs) loop as cmos_smp_count might be less then CountCPUs if SIPI were delivered to the hotplugged CPU. Warn user about it and ask for reboot. While at it rename CountCPUs to BroughtUpCPUs