mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ravi Bangoria <ravi.bangoria@amd.com>
To: peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org
Cc: acme@kernel.org, eranian@google.com, mark.rutland@arm.com,
	alexander.shishkin@linux.intel.com, jolsa@kernel.org,
	irogers@google.com, adrian.hunter@intel.com,
	kan.liang@linux.intel.com, tglx@linutronix.de, bp@alien8.de,
	dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com,
	linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
	santosh.shukla@amd.com, ananth.narayan@amd.com,
	sandipan.das@amd.com
Subject: Re: [PATCH] perf/amd/ibs: Add support for OP Load Latency Filtering
Date: Tue, 19 Nov 2024 19:06:45 +0530	[thread overview]
Message-ID: <2743666a-f592-4ee2-af43-757c6d8ca64c@amd.com> (raw)
In-Reply-To: <20241010050815.751-1-ravi.bangoria@amd.com>

On 10-Oct-24 10:38 AM, Ravi Bangoria wrote:
> A new Load Latency Filtering capability is added to IBS Op pmu with
> latest (Zen5) uarch. It's advertised by CPUID_Fn8000001B_EAX bit 12.
> When enabled, IBS hw will raise interrupts only for samples that had
> an IbsDcMissLat value greater than N cycles, where N is a programmable
> value defined as multiples of 128 (i.e., 128, 256, 512 etc.) from
> 128-2048 cycles. L3MissOnly is a mandatory dependency for LdLat, and
> like L3MissOnly, Hardware internally drops the sample and restarts if
> the sample does not meet the filtering condition.
> 
> Add support for LdLat filtering in IBS Op pmu. Since hardware supports
> threshold in multiple of 128, add a software filter on top to support
> latency threshold with the granularity of 1 cycle between [128-2048].
> 
> Example usage:
>   # perf record -a -e ibs_op/l3missonly=1,ldlat=128/ -- sleep 5
> 
> Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
> ---
> 
> Note: IBS sample period cleanup patches are pre-req for this.
>       https://lore.kernel.org/r/20241007034810.754-1-ravi.bangoria@amd.com

Peter/Ingo, gentle reminder.

Thanks,
Ravi

      reply	other threads:[~2024-11-19 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10  5:08 Ravi Bangoria
2024-11-19 13:36 ` Ravi Bangoria [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2743666a-f592-4ee2-af43-757c6d8ca64c@amd.com \
    --to=ravi.bangoria@amd.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=ananth.narayan@amd.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=eranian@google.com \
    --cc=hpa@zytor.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=sandipan.das@amd.com \
    --cc=santosh.shukla@amd.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®