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: <20200409104546.GA5399@sirena.org.uk>
Date:   Thu, 9 Apr 2020 11:45:46 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Baolin Wang <baolin.wang7@...il.com>
Cc:     lee.jones@...aro.org, arnd@...db.de, orsonzhai@...il.com,
        zhang.lyra@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 2/3] regmap: Add reg_update_bits() support

On Thu, Apr 09, 2020 at 04:57:58PM +0800, Baolin Wang wrote:
> Add reg_update_bits() support in case some platforms use a special method
> to update bits of registers.
> 
> Signed-off-by: Baolin Wang <baolin.wang7@...il.com>
> ---
>  drivers/base/regmap/regmap-mmio.c | 29 ++++++++++++++++++++++++++++-
>  drivers/base/regmap/regmap.c      |  1 +

MMIO devices clearly don't physically have an update_bits() operation so
this should be implemented further up the stack where it applies to all
buses without physical support.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ