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, 23 Feb 2022 14:23:16 +0000
From:   Mark Brown <broonie@...nel.org>
To:     Vincent Whitchurch <vincent.whitchurch@...s.com>
Cc:     Liam Girdwood <lgirdwood@...il.com>, kernel@...s.com,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: virtual: add devicetree support

On Fri, Feb 18, 2022 at 12:06:03PM +0100, Vincent Whitchurch wrote:

> The reg-virt-consumer is very useful for development and testing of
> regulator drivers since it allows voltages and modes to be set from
> userspace.  However, it currently requires platform data so it cannot be
> used on modern platforms.  Add support for probing it from the
> devicetree to remedy this.

Meh, you can add a bit of code on module_init() to register a platform
device or something.

> Since this driver is only meant for testing and is a purely software
> construct, no binding documentation is added.

That's not going to stop anyone.  We should at the very least be
printing very loud warnings if anyone tries to intantiate this.

> +	if (!reg_id)
> +		reg_id = "default";
> +

Oh?

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