[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YrCM0reni+x/KWsG@sirena.org.uk>
Date: Mon, 20 Jun 2022 16:05:54 +0100
From: Mark Brown <broonie@...nel.org>
To: Dong Aisheng <aisheng.dong@....com>
Cc: linux-kernel@...r.kernel.org, dongas86@...il.com,
l.stach@...gutronix.de, peng.fan@....com, shawnguo@...nel.org
Subject: Re: [PATCH RFC 1/2] regmap: add option to disable debugfs
On Mon, Jun 20, 2022 at 09:47:57PM +0800, Dong Aisheng wrote:
> The regmap core will create debugfs by default for each instance.
> However, it's fairly possible that some devices may not work properly
> with regmap registers dump via debugfs due to it may be in suspend
> state (e.g. Power domain is off).
>
> Current regmap core does not support runtime pm for MMIO bus.
> Although there have been several retries [1] in community but finally
> didn't get accepted.
>
> This patch adds an option to allow drivers to claim no debugfs support
> due to possible platform limitations.
>
> 1. Link: https://lkml.iu.edu/hypermail/linux/kernel/1204.0/01646.html
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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists