Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5029244ybi; Tue, 28 May 2019 06:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzCkLwAD7t1KVfS4KmaZ4UjPY5XsI/0GHTgPzl5c8hYBp3eX/8ZYO/O7m4tGg2Rk26rOxK X-Received: by 2002:a65:6145:: with SMTP id o5mr32058087pgv.262.1559050140776; Tue, 28 May 2019 06:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559050140; cv=none; d=google.com; s=arc-20160816; b=Srh8Bk+GAfWGqmW2ds880fLgYnhAmsQPpaQQ4wiJE51PzoFO1iqZN2S2CMu9ERgvN9 hPy0YIo+dvc/atzbO0ga116ynLSC5gRnKp/N32Y/5pRswHwiZ6IZzzo5hF8LxqtrcwVf Eg2yPqa6a9u8tZOy23LWC79U1+wepcukNYUHsvABU2TlKNF5rdy5gsJebtlv5XTGrOq5 MU9tcBNQTd+jxK8zITUIEXduG2M3VQoH4gZxxGeqvuXzZ369UHOCY6MXofNZN5DFwRdJ Uj7yi/wRWVn8k1WuuuZmsMRNcVhw71Fl3sJuOIxTMySoyfIpbFW7xOy5hGENpltPd937 I+VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=v+Z1R+Iyc3P0HugccnvG8WNIqOUHRpGpClXvCccCpcQ=; b=LwDlOIACkUTCi8dVcyxa/y19MirA0Dn3Q0iolbrhmRkCgrxFsgd3IEznTFG4A2KNUH t/HsRhXPOpK+Cd44tftOPoYBIAjXxja0es/aX4i+uJsGylDdMbh2S0Tk/voKF48thXfa T8togrwUJ0rl0P/QIh7qvQ4qGE7ZZbhO7q/LPr1S+HMpDbaLeKiugkWV1A6imfVF8lwX bHW5IiGhNLBDwpahuBZ6oqR/X6Zm7b8YRrTWN1UQDiC2PAXeWqvcDCwdifuqFPGw8p0w FXZ3Wc5/SmPlJs6D0snScmPoH1XqGjqyL4hCpRb7ob0RpU2PxPfWOeRYQp5TmoM2hMSO zQ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jzo5SZZB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v20si3744030pjn.106.2019.05.28.06.28.43; Tue, 28 May 2019 06:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jzo5SZZB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727565AbfE1N0l (ORCPT + 99 others); Tue, 28 May 2019 09:26:41 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43462 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726973AbfE1N0k (ORCPT ); Tue, 28 May 2019 09:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=v+Z1R+Iyc3P0HugccnvG8WNIqOUHRpGpClXvCccCpcQ=; b=jzo5SZZBqDaLIZNrP1iMNepJv nQwqeGdVBggb9XPerGWoJuIcs2PnLAJxDWApUrS93wtxO7gILMbhNFV3B4Dj/1ZQCPIKDSDaPkdAg rzwDjCDIPVSWg7eFVkfSh/h6rS9e8JSUADmKxmYSdBtKqwLN/uW60iriNXuMfQfIUi39s=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hVc7c-0002VH-UU; Tue, 28 May 2019 13:26:32 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id 22EBF440046; Tue, 28 May 2019 14:26:32 +0100 (BST) Date: Tue, 28 May 2019 14:26:32 +0100 From: Mark Brown To: Andy Duan Cc: "david@lechnology.com" , "rafael@kernel.org" , Robby Cai , "gregkh@linuxfoundation.org" , linux-kernel Subject: Re: Issue: regmap: use debugfs even when no device Message-ID: <20190528132632.GJ2456@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BOmey7/79ja+7F5w" Content-Disposition: inline In-Reply-To: X-Cookie: The other line moves faster. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --BOmey7/79ja+7F5w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 28, 2019 at 02:20:15AM +0000, Andy Duan wrote: > So on i.MX8MM/8QM/8QXP platforms, we catch the issue that user dump regmap registers without > power cause system hang. > Maybe revert the patch is more reasonable ? This is an issue with or without a device - you can have the same issue with devices that are powered off. Typically where power is dynamic the driver will use a register cache so the registers are always available. --BOmey7/79ja+7F5w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlztNwcACgkQJNaLcl1U h9D4nQf/Qm5/cL/GsDQzCdntAZ69L9JspITibd0eQuycfxNMcg5OWjoretBkbrPr h2HZjvd7xvjmj2TXPwQXAAffgUk5h68YBCCRjnGG93/ITIcJ4d89hMX9vllQdgYW kb9s2kBBX9NcSuLb6n9+IG1q90Bvs8CvImKOuBUKVJPcZ+cs4bvS0Q8CqrXrtiqt 8VZ3+u+PNNbzTzbwJy1T5lJJ/vnUC7lOq7sB5EkMDwQhF6FOJsBmOI5NQbZIdD6u h2Vkmg+ayW5N8IPcizLLyKchFHtq4ueeaQEF6d7DOoh06vGz2kLx5D/7lIcb967v QUvH7iI69CD3ctWFAyQmswJFDI/aJQ== =+B0c -----END PGP SIGNATURE----- --BOmey7/79ja+7F5w--