Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3662221pxv; Tue, 13 Jul 2021 00:24:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKVeipK1wkql/IwwOw6tajOZto99imxweRQLnlamUOT0ge5xqRRR+qPYC0GLuTmep1QP0t X-Received: by 2002:a05:6602:1348:: with SMTP id i8mr2233694iov.208.1626161070015; Tue, 13 Jul 2021 00:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626161070; cv=none; d=google.com; s=arc-20160816; b=Dwuz3wV6cLK+Xe7R3N0WuvzKyLWR/etXB3kdCm5wKwQPbniBARFPiztODMYACPhHcj 4W2ffCY+XXK0TC1KcgW4H2dkgCu7EBOYyeupuddG8YJhuRMIYgoK59os7c5Wwmq2/Vdp eBQTtucQuqLahyLPxqs7yCb0EtPbgzNlWIpXbD8cWtV0BvoSy8W8pWcKhK16euAB51hU PQVl9JJj2uBiziHtKHpCefXroqH7Mdfu+l3nHA5YuW6pXp439V7ZuxrpzLA1SsaVrqVH GdsyjLiZzWiudn3zL8vJltk/L/VdP9Y1d4XsikecUOD52KTF9IvxwqsZx5u+wW78zovt Xq5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=/UnS67Zv99nbv2wUw8mhFS+a+Nl37BG4XpDLm7UNrwQ=; b=J9g6SkZ/JaX7puqtQaBsVw3bWh7PMdMk933SKIZ1Lc0xAU83Y/JWp7qeeatDtzu69U 1uQyZAhAnE2RGVUs5t81qyHytqQrsoLcbTkzQ384VMINs/mSCJ5R8o0LgmFKanoIC7p5 aK+wTymYtfAlv8N/MInhiR6fsY6rHW//GJZZmys7RyLFdxqSEuxA9jg18N2yLGbxlvPs Fk6+VrFORv2CQ/+e1lqxoBclNbipsVjEQL0bnpDtwmeVQHuMJAsEnLRN3KFFCmzcc/iU sjQsF4iNb/Ek/9MO12tJI0uNv/Lvs5VLHrr4swxW50GxD8ZkSXkK0ynJikCd4FtUf12l eyJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si18988618ilh.147.2021.07.13.00.24.17; Tue, 13 Jul 2021 00:24:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234167AbhGMHZ2 (ORCPT + 99 others); Tue, 13 Jul 2021 03:25:28 -0400 Received: from foss.arm.com ([217.140.110.172]:37610 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234153AbhGMHZ2 (ORCPT ); Tue, 13 Jul 2021 03:25:28 -0400 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 43F7231B; Tue, 13 Jul 2021 00:22:38 -0700 (PDT) Received: from [10.163.65.186] (unknown [10.163.65.186]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 51AA23F694; Tue, 13 Jul 2021 00:22:35 -0700 (PDT) Subject: Re: [PATCH 0/5] coresight: TRBE and Self-Hosted trace fixes To: Mathieu Poirier , Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, al.grant@arm.com, leo.yan@linaro.org, mike.leach@linaro.org, peterz@infradead.org, Tamas.Zsoldos@arm.com, will@kernel.org References: <20210712113830.2803257-1-suzuki.poulose@arm.com> <20210712170246.GB1777012@p14s> From: Anshuman Khandual Message-ID: <0c9ef7f3-a62f-cdae-68f2-dd6e443422c3@arm.com> Date: Tue, 13 Jul 2021 12:53:23 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210712170246.GB1777012@p14s> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/12/21 10:32 PM, Mathieu Poirier wrote: > On Mon, Jul 12, 2021 at 12:38:25PM +0100, Suzuki K Poulose wrote: >> This is a series of fixes addressing the issues in the way we handle >> - Self-Hosted trace filter control register for ETM/ETE >> - AUX buffer and event handling of TRBE at overflow. >> >> The use of TRUNCATED flag on an IRQ for the TRBE driver is >> something that needs to be rexamined. Please see Patch 3 for >> more details. >> >> Suzuki K Poulose (5): >> coresight: etm4x: Save restore TRFCR_EL1 >> coresight: etm4x: Use Trace Filtering controls dynamically >> coresight: trbe: Keep TRBE disabled on overflow irq >> coresight: trbe: Move irq_work queue processing >> coresight: trbe: Prohibit tracing while handling an IRQ >> >> .../coresight/coresight-etm4x-core.c | 109 ++++++++++++++---- >> drivers/hwtracing/coresight/coresight-etm4x.h | 7 +- >> drivers/hwtracing/coresight/coresight-trbe.c | 91 ++++++++++----- >> 3 files changed, 149 insertions(+), 58 deletions(-) > > Anshuman - please have a look when you have a minutes. Sure, will do.