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] [day] [month] [year] [list]
Date:   Thu, 11 May 2023 20:23:01 +0300
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>
Cc:     linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
        brgl@...ev.pl, linus.walleij@...aro.org
Subject: Re: pca953x issue when driving a DSI bridge

On Thu, May 11, 2023 at 7:07 PM Jean-Michel Hautbois
<jeanmichel.hautbois@...eli.org> wrote:
> On 11/05/2023 09:49, Andy Shevchenko wrote:
> > On Wed, May 10, 2023 at 11:18 PM Jean-Michel Hautbois
> > <jeanmichel.hautbois@...eli.org> wrote:
...

> > In your case I would try the easiest way (taking into account that
> > hardware connection is not preventing us from sleeping context), i.e.
> > check if the function that has GPIO call may sleep on its own and
> > simply replace gpiod_set_value() by gpiod_set_value_cansleep().
>
> And I found a patch, which is merged in v6.4-rc1 which does exactly this !
> https://lore.kernel.org/all/20230405135127.769665-1-alexander.stein@ew.tq-group.com/

Ah, cool!

> Thanks as it is your advice which made me find it :-p

You are welcome!

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ