LKML Archive on
help / color / mirror / Atom feed
From: Andy Duan <>
To: Mark Brown <>
Cc: "" <>,
	"" <>,
	Robby Cai <>,
	"" <>,
	linux-kernel <>
Subject: RE: [EXT] Re: Issue: regmap: use debugfs even when no device
Date: Wed, 29 May 2019 01:33:46 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Mark Brown <> Sent: Tuesday, May 28, 2019 9:27 PM
> 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.

Correct, regmap without device also has issue when power if off, because regmap
doesn't implement runtime pm for the device, but maybe device driver implement
the runtime pm for the device. 

So regmap how to manage the clock and power when access registers by debugfs ?


  reply	other threads:[~2019-05-29  1:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2019-05-28 13:26 ` Mark Brown
2019-05-29  1:33   ` Andy Duan [this message]
2019-05-29 11:15     ` [EXT] " Mark Brown
2019-05-30  4:56       ` Andy Duan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \
    --subject='RE: [EXT] Re: Issue: regmap: use debugfs even when no device' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).