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-next>] [day] [month] [year] [list]
Message-ID: <20160602101259.GA1525@dell>
Date:	Thu, 2 Jun 2016 11:12:59 +0100
From:	Lee Jones <lee.jones@...aro.org>
To:	p.zabel@...gutronix.de
Cc:	linux-kernel@...r.kernel.org, hdegoede@...hat.com
Subject: Shared Resets

Philipp, Hans,

After rebasing to the most recent upstream kernel tag (v4.6-rc1), I
witnessed some issues where a couple of USB PHY drivers where having
trouble requesting their reset lines.  After some poking around, I
stumbled across Hans' shared reset patch.  It looks reasonable at
first, but when I came to make the necessary driver changes, I
realised that your effectively insisting that drivers have platform
specific knowledge.

The way I see it, drivers should request, deassert and assert their
reset lines.  Just as clock users, request, enable and disable their
clocks.  Whether the reset lines (or clocks) are left on after an
assert (disable) because there are other users, should be of no
concern to the consumer, right?

I would like to see (and am happy to author) a different approach,
where knowledge of whether a reset line is shared or not is contained
in the framework, as it is in the clock case.

What are your thoughts?

Kind regards,
Lee

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ