Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1320039imi; Fri, 1 Jul 2022 07:25:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tDHy092DsxkM+DcrI+nVBvO/vL7dBIDyClZoLJ+9vWjdt+ZCKyt85UkaIUuxwcJ5XsEjmF X-Received: by 2002:a17:90b:4b01:b0:1ed:157:b9e5 with SMTP id lx1-20020a17090b4b0100b001ed0157b9e5mr19026689pjb.150.1656685530565; Fri, 01 Jul 2022 07:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656685530; cv=none; d=google.com; s=arc-20160816; b=nXtPAtzBVW+YMHvhWwvS0vgkgvSaAy1HSlguiPaxYJU77/gHe8RnLa6c+YNb6nwddb qtTTrtKL+XhRdVebNsOPYvb4NBZ7xqmwlnivJMnWPoqhBoQUAuW2K0LCIT5O2xfjO2L/ owr/gSp+4mTylrMG/Z4h7LCzpYNsWKenF2J1ZIA1RxscRKglJFjVGJV+qgh4MEANwStT 6Ze5u7CBghDKSEL4lNlcrfET1H4WH98QPkgiTlbqWLZ35mH9KmUfi6NOp98kJcDygGwD eUOAC4gAW62O+Tyie3Ftjiis4pJKkxjx1vJp2K6IuTmlucVglHuS7O8pe96vvpVmVxCf 0dxw== 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; bh=/xT0JAfINHk6dCjtmTwpichrbsSn8kXUB/rhCJe6IuE=; b=bypPqvG2C45nR3mDP9YN4jpniwiUJSgpbahADgUOLFzTFEBg8HYfVcUU63oLooTXTu D4ichyZOg8eObjxrXA8rRqF3osunUTMopYlvrChG87zzFu+r3PchA1lDvhft6CnaRpyH /JYLLdfXSvm+PNy/NBNKXxMEmgBlJclACwxQ6fg3Oej1p9OTnE6iQnJ3UWNqA0wIStgu 6Odi7TScImbmk8WqfD9IrFxcsf7TqWdvYo+Ll6AOGIG1VQ1W7XbzI0D1ZZxjO/+786G+ 4UwsKOQAPnYOLUZFsUzfOdK2H3Rcf+pRdpIUKYG7xDHgM7Qj5WTzt971TVKaQppKRi/I egtQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m188-20020a633fc5000000b003ffafeb041esi30755139pga.866.2022.07.01.07.25.19; Fri, 01 Jul 2022 07:25:30 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230216AbiGANyT (ORCPT + 99 others); Fri, 1 Jul 2022 09:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiGANyR (ORCPT ); Fri, 1 Jul 2022 09:54:17 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B1E11929A for ; Fri, 1 Jul 2022 06:54:16 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 59875113E; Fri, 1 Jul 2022 06:54:16 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8795A3F792; Fri, 1 Jul 2022 06:54:14 -0700 (PDT) Date: Fri, 1 Jul 2022 14:54:11 +0100 From: Sudeep Holla To: Cristian Marussi , james.quinlan@broadcom.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, f.fainelli@gmail.com, vincent.guittot@linaro.org, lukasz.luba@arm.com, Sudeep Holla Subject: Re: [PATCH v2 0/2] Add SCMI full message tracing Message-ID: <20220701135411.eeruvjuispgfuyls@bogus> References: <20220630173135.2086631-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220630173135.2086631-1-cristian.marussi@arm.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 On Thu, Jun 30, 2022 at 06:31:33PM +0100, Cristian Marussi wrote: > Hi, > > after a few recent troubles handling too strictly out-of-spec replies from > SCMI servers deployed in the wild, I though it could have been useful to > have a basic way to dump at will the effective full payloads of > successfully transmitted/received SCMI messages. > > The existing SCMI traces already collect a bunch of information about SCMI > message exchanges but they do NOT keep any payload information: this is > certainly preferable most of the time since dumping full SCMI messages to > the trace buffer involves a full copy of the payload. > > For this reason I added a new distinct trace_scmi_msg_dump with this series > in order to be able to selectively enable at will message dumping only when > required. > > Only successfully transmitted and received (valid) xfers are dumped. Looks good to me. I would like to hear from Jim if possible. I plan to merge this ASAP. -- Regards, Sudeep