Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp639680rwb; Thu, 18 Aug 2022 09:33:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR6IPzUb96LwGZaaWML9vZrPLEN7IJJoDe+rWowToXwJn5zoLs6693TaW8FjgNDsHMiJ1MwF X-Received: by 2002:a63:1854:0:b0:41d:e04b:44fc with SMTP id 20-20020a631854000000b0041de04b44fcmr2977782pgy.237.1660840406801; Thu, 18 Aug 2022 09:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660840406; cv=none; d=google.com; s=arc-20160816; b=poo7f3mA2F27d0rHNUlp7qWvpkCAGNvpL4RT5JiTVUhHr+lD46sJ7Aunw6qwfd+Mbh GIMetkY0zyEU4GVrxkp5pLo/oQ5WpFukJ4W3sM0Uhl3fde898Ic/DfvPiwVV/2axRUw+ TIr9ZGfzIYWyqKa4IyLjX64QUzwHCnApYnKjG1GorHaTlrR9kmfGPX1aOZVm1ja0DIjA RXpg6V82fwLtOjDDWiVd5FcMp/11IS+xJQNfKyy3E1lMhhyB3jqz6bw69d/1ZyS0neyR h3God51rpql2i6fscYsbvjfke4csw4+Cqs95Fo+SCLtfgpOVYVIPI1pqjI91oPIjYstx qAAw== 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=PwDWnl8jsSFSU2ydLgqZWVtZxs2IzrpY5IiDLBGjrsI=; b=AbkPrBc4uzYKxw+ZIhMTi/K3H6j+ZE7ZXDUfgrRO4jwzQNkkXU0knbrH4jnRN4Hgv6 Pmye1LiuuSvvKd9DzDOyQszpn3xW/qXVEv0bHIdtQLdS8YGVTKDQk63+xteHrVrUrhmx 5Ki9dsnqrWzLtd8L/kN1AqAacJLpsA8fWrWmdRaE11tsuxGF97dHDv+Z1y5F7L/o2KzK 3BE/levEu7khSL5luIOHGab0xP0vupxa7QkooJhwhFEfMRZaFKOsS6RbFcnLhEHzmF/T /NuAwBZIr2/2TnWIw4r8Fup8Ym7X5yxXbctvtqjjoE9ziulmjZ0rKwVjvG0rJqZ0oXin 3TBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P8oG8vgM; 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 e13-20020a17090a9a8d00b001fac963dad2si1819094pjp.159.2022.08.18.09.33.14; Thu, 18 Aug 2022 09:33:26 -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=P8oG8vgM; 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 S1343703AbiHRPn4 (ORCPT + 99 others); Thu, 18 Aug 2022 11:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244743AbiHRPnz (ORCPT ); Thu, 18 Aug 2022 11:43:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A028F26AC4 for ; Thu, 18 Aug 2022 08:43:53 -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 ams.source.kernel.org (Postfix) with ESMTPS id 4E911B821DE for ; Thu, 18 Aug 2022 15:43:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3AC1C433C1; Thu, 18 Aug 2022 15:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660837430; bh=PwDWnl8jsSFSU2ydLgqZWVtZxs2IzrpY5IiDLBGjrsI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P8oG8vgMTQQI2q3UyHsBX3OjWZ9DD3sWabJ53ySQOu7UkAMnqvsId927LwleRhmVd qiJrsrHTmaQVk2jPmz28cImprPLxfE9U4hBuzaxbgttMy4dJwEq5fbZoLY6qJJyjo6 McUO2FtVH8Bqb6bNqCNqOo2xixaxhwg2YBv3goxn0eD5hckEsT95uRCqfrFeTeQaWl OuLUfS5aRS6v0/kD+WGkTsZThxR805HRJ8Vs41YuM92X/AYWC0AkPM389QzgnvytHU /ZN9FT9krrJxMS90gTvhffExWlm1b8hSZquJNn7I7mRo5kSVcSId8ElT7tGZk3YrLC f3oU+IpCFT5Kw== Date: Thu, 18 Aug 2022 16:43:45 +0100 From: Mark Brown To: Marc Zyngier Cc: Dmitry Rokosov , "gregkh@linuxfoundation.org" , "rafael@kernel.org" , "jic23@kernel.org" , "linux@rasmusvillemoes.dk>" , "tglx@linutronix.de" , "andy.shevchenko@gmail.com" , kernel , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v1] regmap: introduce value tracing for regmap bulk operations Message-ID: References: <20220816181451.5628-1-ddrokosov@sberdevices.ru> <20220818121515.6azkxyqetnunwsc6@CAB-WSD-L081021.sigma.sbrf.ru> <87mtc1wtjz.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yXgvcwPzZDoaKgt3" Content-Disposition: inline In-Reply-To: <87mtc1wtjz.wl-maz@kernel.org> X-Cookie: Logic is the chastity belt of the mind! X-Spam-Status: No, score=-7.1 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 --yXgvcwPzZDoaKgt3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --yXgvcwPzZDoaKgt3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmL+XjAACgkQJNaLcl1U h9Azwgf+OQrTlWEKH+gPInBDTTWcBUE/irY6Xk1piglxtw2ua09tM6HTWJLE/Ybx JdLIpYISG2yBr/VZnjI7jx53J5B+SH/k9y1KlU0bPSlGQNR0WC/rs6Ydv2BVqZHN dgFUvzhoBOmg5BI88LRfL6Pr9LN9GZmYRkK5XAyH3OQbyZlRX4KRcGHv2H9hl75k K7dXU/PlDUGCBfUPIfJ8/yq/MuWNZsLcjSwNnU7JFWojCCLImg6NY/yflzMePwCw JBTWoRQ+CDnP4ouJBdwSWxs6DjeZ+7isG9pPe1DNTIiVHVWNKntBmZIdMiP5rPYC xu4uYTdCjZRvVjDi+fFgeza9mO3x4A== =sCie -----END PGP SIGNATURE----- --yXgvcwPzZDoaKgt3--