Re: [GIT pull] x86/timers for 4.10

2017-02-23 Thread Mike Galbraith
On Thu, 2017-02-23 at 11:26 +0100, Borislav Petkov wrote: > On Thu, Feb 23, 2017 at 09:20:06AM +0100, Mike Galbraith wrote: > > --- a/arch/x86/kernel/tsc_sync.c > > +++ b/arch/x86/kernel/tsc_sync.c > > @@ -294,7 +294,7 @@ void check_tsc_sync_source(int cpu) > > > >> > if (!boot_cpu_has(X86

Re: [GIT pull] x86/timers for 4.10

2017-02-23 Thread Borislav Petkov
On Thu, Feb 23, 2017 at 09:20:06AM +0100, Mike Galbraith wrote: > --- a/arch/x86/kernel/tsc_sync.c > +++ b/arch/x86/kernel/tsc_sync.c > @@ -294,7 +294,7 @@ void check_tsc_sync_source(int cpu) > if (!boot_cpu_has(X86_FEATURE_TSC_ADJUST)) > atomic_set(&test_runs, 1); > else

Re: [GIT pull] x86/timers for 4.10

2017-02-23 Thread Peter Zijlstra
On Thu, Feb 23, 2017 at 09:20:06AM +0100, Mike Galbraith wrote: > On Thu, 2017-02-09 at 16:07 +0100, Thomas Gleixner wrote: > > Can you share your cheatery ? > > I can do better than that... sorta ;-) > > x86/tsc: Fix unreliable tsc adjust > > On a 4 socket BIOS challenged box (4x18), the magic

Re: [GIT pull] x86/timers for 4.10

2017-02-23 Thread Mike Galbraith
On Thu, 2017-02-09 at 16:07 +0100, Thomas Gleixner wrote: > On Wed, 8 Feb 2017, Mike Galbraith wrote: > > On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > > > On Mon, 6 Feb 2017, Olof Johansson wrote: > > > > [0.177102] [Firmware Bug]: TSC ADJUST differs: Reference > > > > CPU0: > >

Re: [GIT pull] x86/timers for 4.10

2017-02-09 Thread Mike Galbraith
On Thu, 2017-02-09 at 16:21 +0100, Thomas Gleixner wrote: > On Thu, 9 Feb 2017, Mike Galbraith wrote: > > > On Thu, 2017-02-09 at 16:07 +0100, Thomas Gleixner wrote: > > > On Wed, 8 Feb 2017, Mike Galbraith wrote: > > > > On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > > > > > On Mon,

Re: [GIT pull] x86/timers for 4.10

2017-02-09 Thread Thomas Gleixner
On Thu, 9 Feb 2017, Mike Galbraith wrote: > > I don't even remember which box it was, but I can try to find it again > during idle moments. sys_sched_setscheduler(PIDOF(Mike), IDLE);

Re: [GIT pull] x86/timers for 4.10

2017-02-09 Thread Mike Galbraith
On Thu, 2017-02-09 at 16:07 +0100, Thomas Gleixner wrote: > On Wed, 8 Feb 2017, Mike Galbraith wrote: > > On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > > > On Mon, 6 Feb 2017, Olof Johansson wrote: > > > > [0.177102] [Firmware Bug]: TSC ADJUST differs: Reference CPU0: > > > > -649

Re: [GIT pull] x86/timers for 4.10

2017-02-09 Thread Thomas Gleixner
On Thu, 9 Feb 2017, Mike Galbraith wrote: > On Thu, 2017-02-09 at 16:07 +0100, Thomas Gleixner wrote: > > On Wed, 8 Feb 2017, Mike Galbraith wrote: > > > On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > > > > On Mon, 6 Feb 2017, Olof Johansson wrote: > > > > > [0.177102] [Firmware B

Re: [GIT pull] x86/timers for 4.10

2017-02-09 Thread Thomas Gleixner
On Wed, 8 Feb 2017, Mike Galbraith wrote: > On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > > On Mon, 6 Feb 2017, Olof Johansson wrote: > > > [0.177102] [Firmware Bug]: TSC ADJUST differs: Reference CPU0: > > > -6495898515190607 CPU1: -6495898517158354 > > > > Yay, another "clever"

Re: [GIT pull] x86/timers for 4.10

2017-02-08 Thread Mike Galbraith
On Wed, 2017-02-08 at 12:44 +0100, Thomas Gleixner wrote: > On Mon, 6 Feb 2017, Olof Johansson wrote: > > [0.177102] [Firmware Bug]: TSC ADJUST differs: Reference CPU0: > > -6495898515190607 CPU1: -6495898517158354 > > Yay, another "clever" BIOS Oh yeah, that reminds me... I met one suc

Re: [GIT pull] x86/timers for 4.10

2017-02-08 Thread Thomas Gleixner
On Mon, 6 Feb 2017, Olof Johansson wrote: > [0.177102] [Firmware Bug]: TSC ADJUST differs: Reference CPU0: > -6495898515190607 CPU1: -6495898517158354 Yay, another "clever" BIOS > [0.177104] TSC ADJUST synchronize: Reference CPU0: 0 CPU1: > -6495898517158354 > [2325258.877496] #2

Re: [GIT pull] x86/timers for 4.10

2017-02-06 Thread Olof Johansson
Hi Thomas, I just now updated my build box from 4.9-rc to 4.10-rc, and picked up these changes. My machine went from doing: [0.00] tsc: Fast TSC calibration using PIT [0.060669] TSC deadline timer enabled [0.142701] TSC synchronization [CPU#0 -> CPU#1]: [0.142704] Measured 312

[GIT pull] x86/timers for 4.10

2016-12-18 Thread Thomas Gleixner
Linus, please pull the latest x86-timers-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-timers-for-linus This is the last functional update from the tip tree for 4.10. It got delayed due to a newly reported and anlyzed variant of BIOS bug and the resul