Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2990644iog; Mon, 20 Jun 2022 08:55:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQ7qIfYgQHGEygPRghIb7wuU7fcT2PY1kOZy6r1Fk3potLiPvU+V4Nw751K9x2IeEnCLYs X-Received: by 2002:a05:6402:26cf:b0:431:5d99:2142 with SMTP id x15-20020a05640226cf00b004315d992142mr30681495edd.242.1655740507883; Mon, 20 Jun 2022 08:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655740507; cv=none; d=google.com; s=arc-20160816; b=emXHmJaSXho8r308sJAN1d+4jqJse4p/Uw/C5dM5tQj1kuW/aGV+V5/7ZycDIg/Tri JOsQEcJT6LnAMfc1E77A7zHykSp8CbiPNxXY5VqObK6lg9jGhNWrUXqZI17LnRh0Uubc pJkIIUKJq8/B5iv12/ZPjXPH6mMAeHuDIluhCTQzJSx5eRay0q7JnrOVoB0u4ekM3EVz 7z/B3Afp1w2FRgUgkdTxN50rrzN/Fcrxp7g+NGTFO0W21/bsiUcLIY0xwS9LvcHbN8eG Z1tE84sX7dG7zgrR9m1F59onlAAceIvmGbItQsRs8wGIRKbhw5ZthW7Ov0xs3JukLT+C syyw== 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=ScQO52XUBOQxGDnyStv59qDVIShGEP2F1oS2qcNkiOQ=; b=d214gBMlQGA1hIMXPfsYfPKnMRkZkrYpPlDv4byXLRZJTR/2Zy5CzWCknygOqCO0bC gTqTSTMiqkAWpCS2fmG6Am97xRfVl3uKBa6jp1/HgR+0PVVgWZs0yElY1DXTP0Xgmzhf WjZd/ypv/W/Tv3O5W3WRen0NNUsVhgOhgMrXDUda27a6j/jyfOKVhvYMfI7YJj9PT54h WUIomoY24iiL++J0JH+WWlIyTjiwksOKRBusjzCJArJwvII24zxHXKOW09r4LR/gYjeZ GC8acIoFxgIjLE8IF7F0dfWowxLrw7A/cYKfmSZPJJC4OzKtMHazbLr7fTqOXLhGkCHx spCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YcDMSZZf; 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 9-20020a170906008900b00722db69668csi818969ejc.386.2022.06.20.08.54.41; Mon, 20 Jun 2022 08:55:07 -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=YcDMSZZf; 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 S243015AbiFTPuC (ORCPT + 99 others); Mon, 20 Jun 2022 11:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238602AbiFTPuA (ORCPT ); Mon, 20 Jun 2022 11:50:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8131C113 for ; Mon, 20 Jun 2022 08:49:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6640C61469 for ; Mon, 20 Jun 2022 15:49:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 324BCC3411C; Mon, 20 Jun 2022 15:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655740197; bh=ScQO52XUBOQxGDnyStv59qDVIShGEP2F1oS2qcNkiOQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YcDMSZZfwnE58yJ4HvHu51s5En0GdAGpaZPthuZVUmwn1DeJ85TczhI5IZwtGz/Kr sMGsasSfbXwNEeHmxkRQL/W/XaqVmTuO5JhURYtiAGr0Un/AMAFlms5sdodExrHy78 SdlKhv4gUvBrYbJbMv/0PEOfLP4U7BKjgjkavJ5Km29X2KiHvtRY8MhQiU2GlrcQGm NSu/GDfob37bROrfUD/kPhOdTccMfvVQUF+XP1ZwciADXw5eguhE/zj7fDGM6MlfsH mNfeTl97LSkm9NEVmYU3rvom1UgaHBC7zlxKZgHyAORWUzR30RM4ywKwa3o4IBnFTq uGZdNYVnBdwWw== Date: Mon, 20 Jun 2022 16:49:52 +0100 From: Mark Brown To: Aisheng Dong Cc: "linux-kernel@vger.kernel.org" , "dongas86@gmail.com" , "l.stach@pengutronix.de" , Peng Fan , "shawnguo@kernel.org" Subject: Re: [PATCH RFC 1/2] regmap: add option to disable debugfs Message-ID: References: <20220620134758.1286480-1-aisheng.dong@nxp.com> <20220620134758.1286480-2-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eNLQXB9KPdWSaaD/" Content-Disposition: inline In-Reply-To: X-Cookie: Good day to avoid cops. Crawl to work. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --eNLQXB9KPdWSaaD/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 20, 2022 at 03:47:05PM +0000, Aisheng Dong wrote: > > As indicated in the message you're linking to here if the device can't be > > accessed it should be being put in cache only mode which will ensure that > > nothing can do any physical accesses. > I wonder that's not a stable solution assuming there're possible volatile registers. > Isn't that? The driver is going to need to power the device back up to access the volatile registers so it can take the device out of cache only mode when it's doing that can't it? --eNLQXB9KPdWSaaD/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKwlyAACgkQJNaLcl1U h9D2ywf7BsrnvF2SNw2odQH/Levag9MGwUTF2w0j9u2BbH106w4q53BTcosyERm2 JS0MNh7ENg4Q6BxMmSL6rDw97cSGOeJtgFF377flnO8SVhv3dcSnnuy6Hr0fjMqX rwvNoX8VepfsLqQHgXRUGsatjERMOBsAOP8jbi06tDS3pO83pr5ZY2gy08NmMNYv nXPETmZ4nwu7+btwH1fuC//756NpvxP37iCrthgi+6KCEAZbyRedLQ2rv/mv03ES kk4MqrdfoRfSa6201hhbZnw2yKCzwq0hzmUTTdkHVxYy9puU9CVdsW6TAMbaDYZF NXUspjYVRlUHD80Yx8AveNVeJUMECQ== =ZcW4 -----END PGP SIGNATURE----- --eNLQXB9KPdWSaaD/--