Re: [RFC PATCH 2/2] regmap: Reject fast_io regmap configurations with RBTREE and MAPLE caches

From: Guenter Roeck
Date: Fri Jul 21 2023 - 11:07:39 EST


On 7/21/23 08:03, Mark Brown wrote:
On Fri, Jul 21, 2023 at 04:53:42PM +0200, Marek Szyprowski wrote:

This patch, which landed in today's linux-next, breaks operation of the
RockChip's VOP2 DRM driver
(drivers/gpu/drm/rockchip/rockchip_drm_vop2.c). I'm not sure what is the
proper fix in this case. Should one change the cache type to REGCACHE_FLAT?

Actually Guenter and Dan have made the required updates to support this
so the warning will be gone soon (hopefully Dan will send his patch
properly shortly).

Do you plan to revert this patch ? If not regmap_init() would still fail
for the affected drivers, even after my and Dan's patches have been applied.

Thanks,
Guenter