Re: [PATCH v1] regmap: introduce value tracing for regmap bulk operations

From: Marc Zyngier
Date: Fri Aug 19 2022 - 10:26:12 EST


On 2022-08-18 16:43, Mark Brown wrote:
On Thu, Aug 18, 2022 at 02:49:20PM +0100, Marc Zyngier wrote:

I don't care much about regmap as a MMIO backend, but it strikes me as
odd that you end up with multiple ways of logging the same stuff (with
a memcpy in the middle of it).

Why can't this be done with a small amount of trace post-processing?

At the minute we don't put the actual data for the bulk transfers into
the trace so the information simply isn't there.

But isn't that what this patch should do?

We also have recently merged the CONFIG_TRACE_MMIO_ACCESS which
already dumps all sort of MMIO crap^Winformation.

Surely there should be a more common approach to this.

M.
--
Jazz is not dead. It just smells funny...