lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4b4b785-c471-a3c2-2c41-01bd9865e479@st.com>
Date:   Mon, 14 Oct 2019 13:14:23 +0000
From:   Benjamin GAIGNARD <benjamin.gaignard@...com>
To:     Thomas Gleixner <tglx@...utronix.de>
CC:     "fweisbec@...il.com" <fweisbec@...il.com>,
        "mingo@...nel.org" <mingo@...nel.org>,
        "marc.zyngier@....com" <marc.zyngier@....com>,
        "daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-stm32@...md-mailman.stormreply.com" 
        <linux-stm32@...md-mailman.stormreply.com>
Subject: Re: [PATCH] tick: check if broadcast device could really be stopped


On 10/14/19 2:56 PM, Thomas Gleixner wrote:
> On Wed, 9 Oct 2019, Benjamin Gaignard wrote:
>> @@ -78,7 +78,7 @@ static bool tick_check_broadcast_device(struct clock_event_device *curdev,
>>   {
>>   	if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) ||
>>   	    (newdev->features & CLOCK_EVT_FEAT_PERCPU) ||
>> -	    (newdev->features & CLOCK_EVT_FEAT_C3STOP))
>> +	    tick_broadcast_could_stop(newdev))
> No. This might be called _before_ a cpuidle driver is available and then
> when that driver is loaded and goes deep, everything goes south.

What could be the solution to let know to tick broadcast framework that 
this device

will not be stopped (because CPU won't go in idle) ?

I have tried to put "always-on" property on DT but it was a NACK too:

https://lkml.org/lkml/2019/9/27/164

Do I have miss a flag somewhere ?

Regards,

Benjamin

>
> Aside of that it definitely breaks everything which does not use the
> cpuidle stuff, which includes all machines affected by X86_BUG_AMD_APIC_C1E
> and everything which uses the INTEL_IDLE driver.
>
> Pretty much the same problem for all other places you changed.
> Thanks,
>
> 	tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ