Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp46769rwo; Fri, 21 Jul 2023 08:19:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlGVN5Nq5iyUhVw7OYXl5sNibvD5d+N6aoqqWW/Fxr2Ur3QJ4v9ptXnETlxbswE9L2Fzllcx X-Received: by 2002:a17:906:51d1:b0:990:8807:8f86 with SMTP id v17-20020a17090651d100b0099088078f86mr2095453ejk.38.1689952750989; Fri, 21 Jul 2023 08:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689952750; cv=none; d=google.com; s=arc-20160816; b=vp/0k/giJ4DfePP4z97Nq+37VLHuOkT+cpnX0G2mRtexwMPZVJZ6qmCTPZqoN8VBgC s1IxnD4t+xDc/2MZJAkN8bU1ERH9Ix5qeqsngqZyNcLDsQrVBtBZdM14BuZJ+ya5Ji1D lCw56wCpJ9bfohGobwqRxxhbf7uSWfP9oGYLPU6nWtEjAumGHzqgdACJXRO6K80ngLxU 4VvmpRrItHotsuuYVkAPKIwjlh2tNR/ALAh0PS7vNBj1VyCe8bXVyEEjtAicO0Rh8SXf AdY/NqbtAwvhFf967mO5jiuA9w6lBtwdtY0Rb3ExtH3SAt4qfWeRql0MExN3Db9YVWq+ pt5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rNPlycMmLzKiXnib/urdqtR+0b5aLGAn7OCeU0lxZQI=; fh=79yVAcSX2DY70YrjWmuBqdgNc7EOoaHAPHbsqH0lQAo=; b=KIi3Yt4cNuDq8OIIGQ+iHbo4TdchGs4n6BLrnBz1QwgLmYs9z3q47ro3oQsE4Eql9A nhxaOzyQFNGqQB2SALnPk6iqtZ+mjHPbinIa5ZdaxlDyj3s+khSCHDONLfO9ve8Jstl9 AMIkdZ1sZ9SeeJnDKS3HsAVFFUVJvPvlAFevrvkEezSQ7YnBfvKHek8lH7Aw1PANLq+A AcKRmvSqREVzDEpJl7/Q01fcowb8unebb1VnngOYQUk/KHCSxGFZq/7IOAeTeI8+tGS9 pU3wPWYjMBrpn1AzlrlNaFZ+IH7iTDHonyRCitTAKsjLaSZOA2TpMYMH5rrc6aZ0Wrng 4FLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X5x1zqYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020a17090671d100b009823926ec36si2387073ejk.931.2023.07.21.08.18.46; Fri, 21 Jul 2023 08:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X5x1zqYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231462AbjGUPNx (ORCPT + 99 others); Fri, 21 Jul 2023 11:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbjGUPNt (ORCPT ); Fri, 21 Jul 2023 11:13:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB8642733 for ; Fri, 21 Jul 2023 08:13:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 684AB61C5B for ; Fri, 21 Jul 2023 15:13:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8F97C433C8; Fri, 21 Jul 2023 15:13:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689952418; bh=b33sDAISkKV45WBEX5IzlIU/TjTS8gTHgqCN2HMCJ1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X5x1zqYUlFeJQgBW14/FU/BH5BY6Z8FahtYXhYpCV+yrsl6GOPj37FPHX1DNqt8rG NrmPi+JUSk+okxxJeGLkoV7duC/S+AalncspSPAep/ZUYCCFh0dokU6uyTs7fE4w2r dQa4sK6WZ5us3RnkR09u1ExVBeexW8WU+rdJdBjDnCwf72+eLZeCpTg5KVANZwrtFw 5aGpZucnNTCg4T5AjT3awfcbDSoZmJTOV7/2hUORUPP5BNg+ySyPfC8wMonmKqPeum mgTHS1ONhEzly+3Mk6ZWjUwBE3PVbscsltaOnwctLw4YdLWCxvSYc9Zxsd0JVDDoDH /Ye0R0Kc7EqmA== Date: Fri, 21 Jul 2023 16:13:33 +0100 From: Mark Brown To: Guenter Roeck Cc: Marek Szyprowski , Greg Kroah-Hartman , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner , Andy Yan , Sascha Hauer Subject: Re: [RFC PATCH 2/2] regmap: Reject fast_io regmap configurations with RBTREE and MAPLE caches Message-ID: <205a83df-c67b-457f-a9bf-a9c6def4bb3e@sirena.org.uk> References: <20230720032848.1306349-1-linux@roeck-us.net> <20230720032848.1306349-2-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MvLmq+n55EGfR3CH" Content-Disposition: inline In-Reply-To: X-Cookie: Do, or do not X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --MvLmq+n55EGfR3CH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 21, 2023 at 08:07:28AM -0700, Guenter Roeck wrote: > On 7/21/23 08:03, Mark Brown wrote: > > 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. Yeah. You *can* use the dynamically allocating caches safely if you ensure that no new cache nodes are allocated during I/O. I'd not realised people were actually doing this. --MvLmq+n55EGfR3CH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmS6oJwACgkQJNaLcl1U h9C2ZQf/SeZqv8XIiU1U2sg8EbxhVckHThG0e9cFL7zfYTG8LUV4IFgLGOUejX29 +/Ujqt+3kfeb31VqLKjBMudpvYSKl8WAofq1zaNCJwVzZj9azZeZIdDSM5LHcMfq Uek47AlWQWTY1ZkS2dNY02KB0SnSv/3wCNkV2O41n9OpSle3McC0FHCJzD4K19Tp z2XYic3KnoJEgshPGmOt3z1rqqtTjjXTLwNkDxWBJqJduV+Ml5vCUd02LqD2/j7X ZgYyyCl7GtHXhtOHpBCTQz3M1vDSAlOafTDQSlX54849DYIbMtb4k3yqRGBggKoh wjsRzQkyBUgNcgEIRjmAkhEZLXDY4g== =ELvA -----END PGP SIGNATURE----- --MvLmq+n55EGfR3CH--