[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f1aef143-3ea4-e80d-0757-e97b36b0216e@microsoft.com>
Date: Mon, 10 Sep 2018 13:19:45 +0000
From: Pasha Tatashin <Pavel.Tatashin@...rosoft.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ville Syrjala <ville.syrjala@...ux.intel.com>
CC: LKML <linux-kernel@...r.kernel.org>,
Dou Liyang <douly.fnst@...fujitsu.com>,
Pavel Tatashin <pasha.tatashin@...rosoft.com>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] Revert "x86/tsc: Consolidate init code"
Hi Ville,
The failure is surprising, because the commit is tiny, and almost does
not change the code logic.
From looking through the commit, the only functional difference this
commit makes is:
static_branch_enable(&__use_tsc) was called unconditionally from
tsc_init(), but after the commit only when tsc_khz == 0.
I wonder if on p3 static_branch_enable(&__use_tsc) fails to enable
early, when it supposed to? But, I would first try to make that
unconditional call again, and see if this fixes the problem, and then
figure out why it was not enabled when it was supposed to.
So, in tsc_init(void)
First try to add this one line back:
cyc2ns_init_secondary_cpus();
- static_branch_enable(&__use_tsc);
See if it fixes everything, and lets work from there.
Thank you,
Pavel
On 9/10/18 8:48 AM, Thomas Gleixner wrote:
> Ville,
>
> On Mon, 10 Sep 2018, Ville Syrjala wrote:
>
>> From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
>>
>> This reverts commit 608008a45798fe9e2aee04f99b5270ea57c1376f.
>>
>> It breaks wifi on my pentium 3 Fujitsu-Siemens Lifebook S6010
>> laptop. Scanning for APs doesn't seem to work most of the time,
>> and, even when it manages to find some APs it never manages to
>> authenticate successfully. dmesg is just littered with:
>> "wlan0: send auth to ... (try 1/3)
>> wlan0: send auth to ... (try 2/3)
>> wlan0: send auth to ... (try 3/3)
>> wlan0: authentication with ... timed out"
>
> I asked for that before and I really do not understand why you do not even
> make an attempt to report an issue first and allow the developers to work
> with you to figure out what exactly is the problem. All you do is to send
> an revert patch with a changelog which describes symptoms and probably
> breaks more than it cures. Not really helpful, really.
>
> It's surely helpful to know that you bisected it to that commit and
> reverting it helps. Can you please provide more detailes information like
> dmesg of an good and a bad boot?
>
> Thanks,
>
> tglx
>
>
>
Powered by blists - more mailing lists