Re: [PATCH] regmap: maple: Fix cache corruption in regcache_maple_drop()

From: Richard Fitzgerald
Date: Wed Mar 27 2024 - 11:08:58 EST


On 27/03/2024 14:16, Mark Brown wrote:
On Wed, Mar 27, 2024 at 11:44:06AM +0000, Richard Fitzgerald wrote:

This bug was not detected by the regmap KUnit test because it only
tests with a block of registers starting at 0, so mas.index == 0.

Can you please add a test for this?

Later, when I have the time.
I've already wasted over a day debugging why the values in my registers
are not correct, so I'm that far behind on the work I should be doing.