From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB48927713 for ; Wed, 18 Feb 2026 10:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771412371; cv=none; b=Eo+1nb2thfZDojFGpqDdHQ5qR/yPUGGXO4qlIxocjTxs71gaubnd3uGlAKanylrky2MBc+Cz98KmM38KdDavhhnbEEUjN33thlOPjy9vBj7wJiyDb9kRogt5+9eiHxT9NpzC4zH6w+nXDjfhNofLg3+NFVWP9lrspCfxqFQoyRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771412371; c=relaxed/simple; bh=K1JJQ2HycRv5uXgP8+lv9DHd0e2OeumWIbj0H9xkwuc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=htDJJUPuqFBpCbRpwv0lLrpWVldR8OEGe80vqTSAwyNovsVaJ49aKZP4FxvQM0kp/1j/lb5YmS0Yix4NquxyXrpxEyGeBnr/v80qMewEzv9H4A/7W4tdh0BIhfUKOY37hDO9ldNxubdeRbQRWsoY8s5U07Bvf7dbedtUHhlOnaE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gFX/QMVL; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gFX/QMVL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771412369; x=1802948369; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=K1JJQ2HycRv5uXgP8+lv9DHd0e2OeumWIbj0H9xkwuc=; b=gFX/QMVLjqExckdP7/w8wtnK4GHk7n9LBA8lAN0dps2gUg09bSi0ILKq mE/pwscIqxcowe/5/Ls1GTFHGi7ma/F0xLaqts1oLmz50JQXndgcs10SV Md7/kzkk9hhyBLVsNBFZa1SWrsvkqYFXVvcEZicMzOetVV9FcBhmbDePC CRJ84y/wpirmp2zfokoVud7tQ8vk5dTj9wHckLlXxbrzqmGolP1Rq+PnP dlQusNjLa8GnEw+t+4oqkQviWnKNA6sxccHYaCGYOKIzsZwJt9/23/fhW BbWJC4oa8Nrd+p6GWGRErsyDsVAHs+IL6IxzHXwt4VLC4hgzVKf9s5QI5 g==; X-CSE-ConnectionGUID: aaw6NjkhQ7Gbm8FI9+95vA== X-CSE-MsgGUID: 8kIcsKjAStS4mgo1XhcDVw== X-IronPort-AV: E=McAfee;i="6800,10657,11704"; a="76346044" X-IronPort-AV: E=Sophos;i="6.21,298,1763452800"; d="scan'208";a="76346044" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2026 02:59:28 -0800 X-CSE-ConnectionGUID: JaMNjgDUSnSIJd5sa8bliw== X-CSE-MsgGUID: /b4E3g48Q9KWSzMgpv3xSg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,298,1763452800"; d="scan'208";a="213405337" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.245.215]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2026 02:59:26 -0800 Date: Wed, 18 Feb 2026 12:59:23 +0200 From: Andy Shevchenko To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, Mark Brown , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Dmitry Baryshkov Subject: Re: [PATCH v4 1/1] regmap: Synchronize cache for the page selector Message-ID: References: <20260218074934.2005168-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Wed, Feb 18, 2026 at 11:50:03AM +0100, Marek Szyprowski wrote: > On 18.02.2026 10:57, Andy Shevchenko wrote: > > On Wed, Feb 18, 2026 at 09:30:41AM +0100, Marek Szyprowski wrote: > >> On 18.02.2026 08:46, Andy Shevchenko wrote: ... > >>> --- > >>> v4: reworked the approach completely > >>> > >>> Marek, Dmitry, > >>> Please, test on your HW to be sure this will have no side effects > >>> in your case with LT9611. > >> It looks that it ends in infinite recurrent calls after this patch: > > Thank you for the prompt testing! Can you also _add_ the patch on top from > > https://lore.kernel.org/all/Z4ppo8wV3nicOfAQ@smile.fi.intel.com/ ? > > I've applied that change and the driver fails with the following messages: At least I see that nothing changed in the LT9611 driver. > # dmesg | grep lt96 > lt9611uxc 5-002b: LT9611 revision: 0x00.00.00 > lt9611uxc 5-002b: LT9611 version: 0x00 > lt9611uxc 5-002b: FW version 0, enforcing firmware update > lt9611uxc 5-002b: Direct firmware load for lt9611uxc_fw.bin failed with > error -2 > lt9611uxc 5-002b: probe with driver lt9611uxc failed with error -2 > > Maybe this driver simply doesn't use this regmap feature properly and > there is no point trying to fix regmap? regmap definitely missed that detail, needs to be fixed, but the driver for sure abuses the regmap ranges. Okay, thank you very much for testing (it's a pity I have no such HW to test the driver, I will think more about lt9611 driver and next time come up with something done there as well). > >> Insufficient stack space to handle exception! > >> ESR: 0x0000000096000047 -- DABT (current EL) > >> FAR: 0xffff8000859bffe0 > >> Task stack:     [0xffff8000859c0000..0xffff8000859c4000] > >> IRQ stack:      [0xffff800080030000..0xffff800080034000] > >> Overflow stack: [0xffff0001fef36140..0xffff0001fef37140] > >> CPU: 6 UID: 0 PID: 341 Comm: (udev-worker) Not tainted > >> 6.19.0-next-20260217+ #12215 PREEMPT > >> Hardware name: Qualcomm Technologies, Inc. Robotics RB5 (DT) > >> pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) > >> pc : _regmap_select_page+0x4/0x120 > >> lr : _regmap_raw_read+0x240/0x340 -- With Best Regards, Andy Shevchenko