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]
Date:   Wed, 2 Sep 2020 18:04:07 +0300
From:   Dmitry Osipenko <digetx@...il.com>
To:     Marek Szyprowski <m.szyprowski@...sung.com>,
        Mark Brown <broonie@...nel.org>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] regmap: Add can_sleep configuration option

02.09.2020 17:53, Marek Szyprowski пишет:
> Hi Dmitry,
> 
> On 02.09.2020 16:18, Dmitry Osipenko wrote:
>> Regmap can't sleep if spinlock is used for the locking protection.
>> This patch fixes regression caused by a previous commit that switched
>> regmap to use fsleep() and this broke Amlogic S922X platform.
>>
>> This patch adds new configuration option for regmap users, allowing to
>> specify whether regmap operations can sleep and assuming that sleep is
>> allowed if mutex is used for the regmap locking protection.
>>
>> Reported-by: Marek Szyprowski <m.szyprowski@...sung.com>
>> Fixes: 2b32d2f7ce0a ("regmap: Use flexible sleep")
>> Signed-off-by: Dmitry Osipenko <digetx@...il.com>
> 
> This fixes the issue I've reported. Thanks!
> 
> Tested-by: Marek Szyprowski <m.szyprowski@...sung.com>

Awesome! Thank you!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ