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]
Message-ID: <aYHKWGKAuaeYD4xh@smile.fi.intel.com>
Date: Tue, 3 Feb 2026 12:13:44 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: Sander Vanheule <sander@...nheule.net>,
	Jonathan Cameron <jic23@...nel.org>, Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>, kernel@...gutronix.de,
	linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
	devicetree@...r.kernel.org, Andy Shevchenko <andy@...nel.org>,
	David Lechner <dlechner@...libre.com>,
	Nuno Sá <nuno.sa@...log.com>,
	David Jander <david@...tonic.nl>
Subject: Re: [PATCH v2 5/8] iio: dac: ds4424: convert to regmap

On Tue, Feb 03, 2026 at 12:10:29PM +0200, Andy Shevchenko wrote:
> On Sun, Feb 01, 2026 at 05:16:53PM +0100, Oleksij Rempel wrote:
> > On Sun, Feb 01, 2026 at 03:42:28PM +0100, Sander Vanheule wrote:
> > > On Tue, 2026-01-27 at 07:09 +0100, Oleksij Rempel wrote:

...

> > Which works mostly fine except of the cache initialisation. If I use
> > num_reg_defaults_raw with REGCACHE_MAPLE as proposed by Andy
> > Shevchenko, first access to regmap values over debugfs will explode with
> > NULL pointer etc...
> 
> Yeah, this is known issue in regcache core. I don't remember how it was worked
> around in pinctrl-cy8c95x0.c.

That said, have you run the v6.19-rcX kernels? It should have some patches
related to the regcache, but I need to test and send the actual fix for that
NULL case.

> > If I remove num_reg_defaults_raw, I need to read register manually
> > to init defaul values as implemented in v3.

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ