Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1374198imi; Fri, 1 Jul 2022 08:29:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tHzkONokqOk7ExkWX99Clgy85S3I7r/RWmhxgKydWzvtwumxIJ+szOniPCzuyxSzrKulpn X-Received: by 2002:a05:6402:3553:b0:434:ef34:664f with SMTP id f19-20020a056402355300b00434ef34664fmr19927342edd.236.1656689351935; Fri, 01 Jul 2022 08:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656689351; cv=none; d=google.com; s=arc-20160816; b=g2CWXP7GL9A3Yw0NVQxFb+vORz1XZAtxzPuWdjsPy5mvlksYHDw0DaCY29jkZxSyRG ArDlYfQ95pF3rZg5F1Kja48hYbK/ADLKSapvOHX41DjnQikXyXXpzvg23vxcfAA5PxWk 7b5VgvWP+uCVFiyGAZ+3gx6VNxoYirKtHO9w0jXeOuvfI8N1mWxIaE26y3iOrGheA1Ak DduwA9x+YkIDSO0NtE4JKbqwnK0avfckqleK7287BGnHWt0hZ6mY/W9fW/4X/DrbwTdI fD1mQv7vTvJd4k50oanuSCQRJz7s5vvAfYp3+biKcpIRQH0etVqcjK5MXCxXumGqx3Pw saHw== 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=z2bp0fZ7Lx0Cpbh5+1PXZvCGblp6ypJo+EDEICjr8Og=; b=DuljQUNswL1xfaXM95PSpMxCTFuROWqpzwj9Luw/1tolTHr2HrmSMiELjCWXXf2zHM K5Uq2h33l2Ed2Shm+uyV5OTDmo7IERTZxBEZFAHds5QydrGNzNscizGWrIOM6YdPYliv v8D2ypvug2rV0/JclAZ/qw2X3WM92FKqU1Yh4azk2OiWcMgcaeMjO93MVQ5AwBDCExzR +Ar6WJX3o5tR+BXDI6krdbXUG9a7Gv+TXx0GiCz1lKV3jw+zXWL22BwdOq64WD0f/Z7M HN0bGRZnZvTJ6nPb34LgMtIQgyKfWAueBLeJEhs7iwlzjvDriYGKJXR/HuRQRlak3XCZ hrnw== 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 dm10-20020a170907948a00b006fed02b6307si1210606ejc.44.2022.07.01.08.28.46; Fri, 01 Jul 2022 08:29:11 -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 S230296AbiGAPOF (ORCPT + 99 others); Fri, 1 Jul 2022 11:14:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbiGAPOE (ORCPT ); Fri, 1 Jul 2022 11:14:04 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 55D7D1E3E0 for ; Fri, 1 Jul 2022 08:14:03 -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 65566113E; Fri, 1 Jul 2022 08:14:03 -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 2404F3F66F; Fri, 1 Jul 2022 08:14:02 -0700 (PDT) Date: Fri, 1 Jul 2022 16:13:59 +0100 From: Sudeep Holla To: Jim Quinlan Cc: Cristian Marussi , open list , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , Florian Fainelli , Vincent Guittot , Lukasz Luba Subject: Re: [PATCH v2 0/2] Add SCMI full message tracing Message-ID: <20220701151359.4vnbhroubk7kswrw@bogus> References: <20220630173135.2086631-1-cristian.marussi@arm.com> <20220701135411.eeruvjuispgfuyls@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, Jul 01, 2022 at 11:03:38AM -0400, Jim Quinlan wrote: > Hi, > LGTM, I appreciate this change. For testing, I fed your sample output to this: > Thanks! > perl -MData::Dumper -nae 's/^.+scmi_msg_dump:// && print Dumper > { (map { split /=/; } split" ") }' < scmi.txt > > which gives this > > $VAR1 = { > 'pt' => '15', > 'seq' => '0000', > 'pyld' => > '000000000800000009daffffffffffff008268d4c075fd1611daffffffffffff008268d4c075fd1619daffffffffffff008268d4c075fd16', > 'msg_id' => '01', > 's' => '0', > 't' => 'NOTI' > }; > which is what I wanted. BTW, if I ever write a script that would > take this SCMI trace text and > decode it to nice cmd names and arguments -- where would I submit such a script? > I am not 100% sure. After reading this, the first thoughts were scripts/ or tools/scripts but looking at the content I am less sure about latter. Worth posting and then check what people have to say once this lands upstream. Or even once this is merged into -next officially. -- Regards, Sudeep