From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 875753BE646 for ; Sun, 16 Aug 2026 22:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786918404; cv=none; b=B1q0L9Vvj/+dJgSYz9Eq0p8mjXS+ocfbUZIX3cw83QbPrp+cUHAI743h+8VQm67tFKvD1vfbanNO4xdcll4G++7jM/i9qHRZuzuoUdLx64RP36SnYzlc3Hv5OpAmXP+jGbL3e3AwD+c0JrWT7KzSbuAE/rFJukJq6bpRLwbMlPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786918404; c=relaxed/simple; bh=OnwLeiteCzOf+CPj49GHjoclrTbkOEiiReSIYn8gACo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To; b=j2FSxnrzoGz2mVhlJsM0Aj6IxogOMF+9t4QBTewUyWgZ0O8fu6+HYhd7wSpXtYSBJ2lhUHNgF5+Ml3sLGIeaiTAQWbi2+Y9cv3bV1+8E4g/fH/9R4Mc1g70ao9tQ52MOARYHx+FiZbpkIguU259Hxlxu4dTPI3e4Sv9f2Zukhmc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NUny4Ymb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NUny4Ymb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89A351F000E9; Sun, 16 Aug 2026 22:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786918403; bh=RZ6GbcDDwLdi7JUPeETegvaPr71AfjGle5o9W07xwTk=; h=From:Subject:Date:To; b=NUny4Ymb/twELVsN2F9Ug3CxegZVSQ8dER/CXxts8tBGeFXNRqfzN6jumKIa/p5rp clDhNEc7QLNV29fRY2YCxbC+S+hD/ZdUolQa4T06XRT/2QcB9FVYELNkUblfW/hEA9 y3D4UjeCYHVlQ6DbJl91jeDIlZqkS2vrNJPEJPJ/A2TLoyl2u8MsxiGLBJFMhIxFe1 lULrC/vyZIqY/iYe2BglyUW3U2x9QQNPm8rIALPswc/ZpQ6U8QMB0TZQIC0s5aqIZw /dYe6yBzCpQoXvD/1LZniX2TYmvx7C7C8880BWmkCgQViPIYaCd1xRJrVxfkCU6VLm R0IJBCwk5Uxhg== From: Mark Brown Subject: [PATCH 0/2] regmap: Test caches for regmaps with high bits set in register numbers Date: Sun, 16 Aug 2026 23:13:14 +0100 Message-Id: <20260816-regmap-kunit-cache-high-bit-v1-0-2b98d9e289c2@kernel.org> 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="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPo1gmoC/yXMzQqEIBAA4FeJOTdgv0SvEh1MR51dstCKhejd1 +r4Xb4TIgWmCH12QqCDIy8+ocgzUE56S8g6GUpRtqIrGgxkZ7nid/e8oZLKETq2DqdErY2oRN2 YWnaQhjWQ4d+zD+PruE8fUttdwnX9Acv7OhB/AAAA X-Change-ID: 20260815-regmap-kunit-cache-high-bit-ddf03045f4a8 To: linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=743; i=broonie@kernel.org; h=from:subject:message-id; bh=OnwLeiteCzOf+CPj49GHjoclrTbkOEiiReSIYn8gACo=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBqgjX93EhPWzW965eIgXlFKbIcUksH2u1Sc0L/O 4r7PCiS27iJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCaoI1/QAKCRAk1otyXVSH 0BLIB/9VUzasxVobLWtX9PPv7WoChOHqlSR+T3UlMOP6Trj2fL6YJDTSmZOZLuF9CrgRwljpXrB hd3H67ZN7bjf+VUJ/zIdBtd18AKG349XvTIxuOzdYJ/P/SKyjopPXkhpVtkmn/PXGIA7whhAPku fIFD+Y6RKAHLztiP/uqM5RjCbXprgKpXDflyawQNSaZl0e1V8TSqMkmW+DyRAs1g6JkcjWKElcU EAzM/vOqy0uNLSTeN+YFfFrLQ4pCHRv077biQZkxwshbdDMRVbjzP8hFS8uBeLTpiYabHK4S5kh nQ11BbcrgqvVIU15wvDg8EZooumfh+UCeXyKY6pGDb1p40Vi X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB We had some bugs in the past with the high bit set, add some coverage for this to ensure it doesn't creep in. Signed-off-by: Mark Brown --- Mark Brown (2): regmap: Allow a base register to be specified for the RAM regmap regmap: Test rbtree and maple caches for very high register numbers drivers/base/regmap/internal.h | 1 + drivers/base/regmap/regmap-kunit.c | 94 +++++++++++++++++++++++++++++++++++++- drivers/base/regmap/regmap-ram.c | 26 ++++++++--- 3 files changed, 114 insertions(+), 7 deletions(-) --- base-commit: 23688febe4b44b10f4b454eb1cde0ba379a84119 change-id: 20260815-regmap-kunit-cache-high-bit-ddf03045f4a8 Best regards, -- Mark Brown