Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3055856rwb; Mon, 16 Jan 2023 03:10:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXskyzUHsO7QOvExC8j1FIP6GDy9sjMpPq3v41isvWrNiM7gjLUcFauxwMQFNq06SCBPZLEG X-Received: by 2002:a17:90a:fb49:b0:226:a12e:b07c with SMTP id iq9-20020a17090afb4900b00226a12eb07cmr20952585pjb.48.1673867412197; Mon, 16 Jan 2023 03:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673867412; cv=none; d=google.com; s=arc-20160816; b=haqBSsgJvjmt21yYZjR638bASqGzp4V7RFEYSfmTIe2FVFvvQh6vcbX7GSmq+3Um0j uGIo3hi+/BU8mUw6Fi/QYdEfCvu8o0TKHke2l342VZ3Kk+cH0/Qd0t79jRmOxicVNcxm uz8nvi21zSN8ZpwaVdkYVLTGYad47y/zbSJn5elEHwif14kTBWFZf5auH7ty1JKGw+yG uzTtfcM9C32GukMuAjrL4+YMn9NynwzEUcYoVEXBHgWQj4QgtXKK45QnnoB4UAB4SKi4 xTWAs/mrYwr4gt2cpiaJo3Cw26VhpwOPlJvcX2W3OTQa2NY70GMUf2XO+bBwOXmcAtDp eadA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=mI/cjvFNz/Izu5bRiyfpiwpfJhVuiBnq6C4zr56sMcw=; b=FFB6OyOWM3lVQ3Tm0vqVvib71o2op+ebdGt3cziXII0DPvF+C38U2GPxP5sgTxWuda m89vU4GeQE8HbDUwsL9x4Ehf+e4jgj34dB2MqSJdcHLiOHG+nc1wesMDV7zGqQqOrZ7a RCBKUztV1i0xsusE6gvEqJyi3xnkBuo5P3L/62KX25UnTrBz+SXe6U4iEokyenCKtZgb bmsRy+xPSQ1ol2ddXIx4BdZpqEQQd5YPhwxv1TlgVP9wB94y2WD3xHb7z2xEh2T7twNF oKq4HUM11Nc+iwx0i1qQ6SCMkBwd8k0V18Uu/g0Q9qPoD06lz6iEZzqh+k6YkwDjueId Bv2Q== 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 i4-20020a63b304000000b0046ebb90e5bdsi29796490pgf.337.2023.01.16.03.10.06; Mon, 16 Jan 2023 03:10:12 -0800 (PST) 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 S230162AbjAPKQz (ORCPT + 51 others); Mon, 16 Jan 2023 05:16:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjAPKQc (ORCPT ); Mon, 16 Jan 2023 05:16:32 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 866B31A941 for ; Mon, 16 Jan 2023 02:15:31 -0800 (PST) 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 6D7BFAD7; Mon, 16 Jan 2023 02:16:13 -0800 (PST) Received: from [10.57.89.182] (unknown [10.57.89.182]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9D2B23F67D; Mon, 16 Jan 2023 02:15:29 -0800 (PST) Message-ID: <109531b9-a844-d1e3-a0cc-a64fb5d35a09@arm.com> Date: Mon, 16 Jan 2023 10:15:28 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2] coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR To: Junhao He , mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@linaro.org Cc: coresight@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, anshuman.khandual@arm.com, linuxarm@huawei.com, shenyang39@huawei.com, prime.zeng@hisilicon.com References: <20230114091632.60095-1-hejunhao3@huawei.com> From: Suzuki K Poulose In-Reply-To: <20230114091632.60095-1-hejunhao3@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 14/01/2023 09:16, Junhao He wrote: > The TRCSEQRSTEVR and TRCSEQSTR registers are not implemented if the > TRCIDR5.NUMSEQSTATE == 0. Skip accessing the registers in such cases. > > Fixes: 2e1cdfe184b5 ("coresight-etm4x: Adding CoreSight ETM4x driver") > > Signed-off-by: Junhao He > Reviewed-by: Mike Leach > Reviewed-by: Anshuman Khandual Queued to coresight next: https://git.kernel.org/coresight/c/589d928248b72f8 Thanks Suzuki