Page MenuHomeFreeBSD
Feed Advanced Search

Sat, Sep 5

ali_mashtizadeh.com added a comment to D59355: pmc: avoid illegal flexible array member.

Yes it’s non-standard but we already depend on a number of gnu extensions in our code. I think is just an error with the build flags, if you just set the length to 0 or 1 and it’s also accepted by gcc.

I'm not sure why gcc accepts the flexible array member in pmchdr_pmcinfo and not the one in pmchdr_cpuidinfo. It seems it should allow them both as language extensions, or not. Zero-length arrays are slightly different from flexible array members in C, though both are illegal in standard C++. I guess the zero-length array avoids the size and alignment ambiguity.

Anyway, I tried your suggestion but gcc only accepted it for pmchdr_cpuidinfo::cpuid. It issued a fatal warning when it was applied to pmchdr_pmcinfo::pmc, -Werror=stringop-overread. I do not know why it doesn't issue the same fatal warning for pmchdr_cpuidinfo::cpuid.

My only interest here is getting the build working, so if you want to do non-standard C++ things, I am not going to object. I would say though that I do not understand the advantage of the non-standard way over the standard way. Why go through the bother of C++ just to work around it for something fairly trivial?

How do you build this with gcc so I can test my other patches? When I built it using my original repo I see a few more errors because of differences in our build flags.

I'll update the testing section, but in short, I do

sudo pkg install amd64-gcc14
env MAKEOBJDIRPREFIX=/usr/obj/gcc14 CROSS_TOOLCHAIN=amd64-gcc14 make buildworld

CI does essentially the same:
https://github.com/freebsd/freebsd-ci/blob/main/jobs/FreeBSD-main-amd64-gcc14_build/build.sh

And that job has been tripping since this went in:
https://ci.freebsd.org/job/FreeBSD-main-amd64-gcc14_build/4343/

Sat, Sep 5, 6:07 PM · pmc

Fri, Sep 4

ali_mashtizadeh.com accepted D59355: pmc: avoid illegal flexible array member.
Fri, Sep 4, 9:15 PM · pmc
ali_mashtizadeh.com added inline comments to D59355: pmc: avoid illegal flexible array member.
Fri, Sep 4, 9:03 PM · pmc
ali_mashtizadeh.com added a comment to D59355: pmc: avoid illegal flexible array member.

oh i see what's going on here. ugh. :-) I'm ok with this, but gosh we need a less cpu specific way of doing all of this!

Fri, Sep 4, 9:01 PM · pmc

Thu, Sep 3

ali_mashtizadeh.com accepted D58715: pmc(8): handle AMD Zen3-B0 IBS errata in the frontend view.

Ah okay its the dev stuff that I guess we do have in the path.

Thu, Sep 3, 5:49 PM
ali_mashtizadeh.com accepted D58256: hwpmc/amd: add PerfMonV2 global-control path.

Had to think through the atomics a bit since your just using it for synchronization with the interrupt it looks right.

Thu, Sep 3, 5:48 PM
ali_mashtizadeh.com added a comment to D58715: pmc(8): handle AMD Zen3-B0 IBS errata in the frontend view.

The diff looks good I'm only wondering if the x86 headers are available on other architectures so we don't need the cpuid header otherwise that's fine.

Thu, Sep 3, 2:47 PM

Tue, Sep 1

ali_mashtizadeh.com added a comment to D59230: hwpmc: add pmc_sample(9), an in-kernel PMU-sampling KPI.

I'd rather you capture APERF/MPERF/TSC by enabling all the counters but we need below to land.

Tue, Sep 1, 8:14 PM
ali_mashtizadeh.com accepted D59229: hwpmc(4): stop overwalking past _start on amd64 user callchains.
Tue, Sep 1, 7:54 PM

Thu, Aug 20

ali_mashtizadeh.com removed a reviewer for D59054: ppp: Fix a buffer overflow in the endpoint discriminator set command: scheduler.
Thu, Aug 20, 7:57 PM
ali_mashtizadeh.com added a member for NUMA: ali_mashtizadeh.com.
Thu, Aug 20, 4:19 PM
ali_mashtizadeh.com added a member for x86: ali_mashtizadeh.com.
Thu, Aug 20, 4:19 PM
ali_mashtizadeh.com added a member for scheduler: ali_mashtizadeh.com.
Thu, Aug 20, 4:18 PM

Tue, Aug 18

ali_mashtizadeh.com added a comment to D58256: hwpmc/amd: add PerfMonV2 global-control path.

Yes it does look right now, I had to think through it quite a bit I didn't notice the subtle change to fix it as you mentioned. I'm thinking through the atomic operations. If I'm understanding what you did, you are depending on acquire semantics to serve as an interrupt barriers (i.e., compiler memory barriers). I would feel better if we just used seq_cst atomics but I'll take a look over the code.

Tue, Aug 18, 10:40 PM
ali_mashtizadeh.com accepted D58647: hwpmc: add MPERF/APERF MSR support for AMD/Intel CPUs.

With regards to priv_check If you care about side channels you can't expose any of the counters. I don't see this one as any different. In linux PERF is exposed a general facility, while you are only exposing this under hwpmc.

Tue, Aug 18, 10:12 PM
ali_mashtizadeh.com added reviewers for D58930: pmc: Enable the new commands in pmc: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:51 PM
ali_mashtizadeh.com added reviewers for D58929: pmc: Analyze high latency memory accesses: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:50 PM
ali_mashtizadeh.com added reviewers for D58928: pmc: Print IBS summary statistics: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:50 PM
ali_mashtizadeh.com added reviewers for D58927: pmc: Bargraphs and Bitfields and Histograms, Oh My!: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:50 PM
ali_mashtizadeh.com added reviewers for D58926: pmc: New annotate command: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:49 PM
ali_mashtizadeh.com added reviewers for D58925: pmc: Analyze branch mispredictions: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:49 PM
ali_mashtizadeh.com added reviewers for D58924: pmc: Display a program level breakdown of performance data: adrian, mhorne, jhb, imp.
Tue, Aug 18, 9:48 PM
ali_mashtizadeh.com added reviewers for D58923: pmc: Display system level breakdown of performance data: imp, jhb, mhorne, adrian.
Tue, Aug 18, 9:48 PM
ali_mashtizadeh.com added a comment to D58923: pmc: Display system level breakdown of performance data.

For context we worked with AMD to get Instruction Based Sampling (IBS) support into HWPMC and we are making a number of ongoing improvements. I built into the somewhat abandoned pmc command a new set of tools for collecting and analyzing pmc logs. I split the this stack of patches into the smallest set I could but to do that I've left out a lot of functionality that improves substantially over pmcstat.

Tue, Aug 18, 9:47 PM
ali_mashtizadeh.com requested review of D58930: pmc: Enable the new commands in pmc.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58929: pmc: Analyze high latency memory accesses.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58928: pmc: Print IBS summary statistics.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58927: pmc: Bargraphs and Bitfields and Histograms, Oh My!.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58926: pmc: New annotate command.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58925: pmc: Analyze branch mispredictions.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58924: pmc: Display a program level breakdown of performance data.
Tue, Aug 18, 9:44 PM
ali_mashtizadeh.com requested review of D58923: pmc: Display system level breakdown of performance data.
Tue, Aug 18, 9:43 PM

Mon, Aug 17

ali_mashtizadeh.com added a comment to D58647: hwpmc: add MPERF/APERF MSR support for AMD/Intel CPUs.

Overall looks good, I mostly read the man page that I didn’t look at before and some minor nits.

Mon, Aug 17, 4:52 AM

Aug 13 2026

ali_mashtizadeh.com added a comment to D58715: pmc(8): handle AMD Zen3-B0 IBS errata in the frontend view.

Can you please comment on https://reviews.freebsd.org/D58698 so the two of you can agree on an API for LBR? I can clean it up and we land it if your happy with it or you can take over.

Aug 13 2026, 7:02 PM
ali_mashtizadeh.com added a comment to D58715: pmc(8): handle AMD Zen3-B0 IBS errata in the frontend view.

Remember that the code path is shared on all platforms I’m trying to make it that we can run analysis across 64-bit big-endian machines.

Aug 13 2026, 6:58 PM
ali_mashtizadeh.com requested changes to D58715: pmc(8): handle AMD Zen3-B0 IBS errata in the frontend view.

Thanks Andre, like I mentioned in the call I mainly want to reduce the spread of the errata code and concentrate it right before callchain callbacks as much as possible. You may want to rebase this on top of the remaining pmc bits I said I'd push.

Aug 13 2026, 4:32 PM

Aug 7 2026

ali_mashtizadeh.com retitled D58698: DRAFT -- pmc: Branch history flag from pmc: Branch history flag to DRAFT -- pmc: Branch history flag.
Aug 7 2026, 6:45 AM
ali_mashtizadeh.com added a comment to D58698: DRAFT -- pmc: Branch history flag.

Hello folks this is a quick draft I threw together to sketch out providing a unified interface for branch histories like LBR on Intel and AMD, and BRBE on ARM. I looped in everyone that's working on a relevant patch.

Aug 7 2026, 6:42 AM
ali_mashtizadeh.com added reviewers for D58698: DRAFT -- pmc: Branch history flag: sarah.walker2_arm.com, afscoelho_gmail.com, raghavendra.kt_amd.com, mhorne.
Aug 7 2026, 6:37 AM
ali_mashtizadeh.com requested review of D58698: DRAFT -- pmc: Branch history flag.
Aug 7 2026, 6:35 AM

Aug 5 2026

ali_mashtizadeh.com updated subscribers of D58534: dev/hwpmc: Add interrupt callback for arm64.

So is the reason we aren't hard coding this and integrating BRBE into the pmc module is that it will be used by hwt as well? Is this best exposed through hwt or is it just extended data that can be exposed throught he multipart flag I added for AMD IBS? The multipart flag lets you add arbitrary payloads alongside a counter. LBR will be using this as well.

Only problem I can see is the potential race on an unload when setting pmc_intr_callback to NULL.

It was decided that hwt was the best method to use for dumping BRBE samples, however BRBE uses the PMC interrupt which hwpmc owns. Integrating the BRBE functionality into hwpmc would therefore add a dependency between hwpmc and hwt which seemed less than ideal, hence this approach.

Aug 5 2026, 9:00 PM
ali_mashtizadeh.com added inline comments to D58256: hwpmc/amd: add PerfMonV2 global-control path.
Aug 5 2026, 6:17 PM
ali_mashtizadeh.com added a comment to D58256: hwpmc/amd: add PerfMonV2 global-control path.

This looks like a step in the right direction and the API looks reasonable, but I'm not sure you thought through all the use cases. Someone concurrently using a system wide counter to monitor something at the same time as a process wide counter is running. E.g. two different pmcstat instances:

Aug 5 2026, 6:13 PM
ali_mashtizadeh.com requested changes to D58647: hwpmc: add MPERF/APERF MSR support for AMD/Intel CPUs.
Aug 5 2026, 4:20 PM

Aug 3 2026

ali_mashtizadeh.com accepted D58525: da: Fix logic error.
Aug 3 2026, 4:56 PM
ali_mashtizadeh.com added a comment to D58534: dev/hwpmc: Add interrupt callback for arm64.

So is the reason we aren't hard coding this and integrating BRBE into the pmc module is that it will be used by hwt as well? Is this best exposed through hwt or is it just extended data that can be exposed throught he multipart flag I added for AMD IBS? The multipart flag lets you add arbitrary payloads alongside a counter. LBR will be using this as well.

Aug 3 2026, 4:50 PM

Jul 31 2026

ali_mashtizadeh.com added a comment to D58572: hwpmc: fix false callchain assertion on the PMC_UR ring.

These two diffs should be merged but does it fix the -U flag bug? I don’t see why we need to keep the two path I had a patch to unify them but I hit a different assert.

Jul 31 2026, 7:31 PM

Jul 20 2026

ali_mashtizadeh.com added a comment to D58256: hwpmc/amd: add PerfMonV2 global-control path.

I think there’s some flexibility in how we use it but as I discussed in the meeting last week, the main thing Linux used it for is to reduce the overhead of the wrmsrs.

Jul 20 2026, 9:37 PM

Jul 16 2026

ali_mashtizadeh.com added a comment to D56979: kern: import eventlog(9), a kernel event logging framework.

I made a high level pass over the diff I think I have enough context to review it carefully now.

  1. I wonder if it would be better to integrate with libctf to pull the enumerations and type information so that you don't have to be so verbose. Granted in the case of TCP, the definitions I'd worry about maintaining are tied to FreeBSD's ABI, but this might allow us to reduce the burden and just extract types straight from CTF.

From a quick look, it seems that CTF would miss out on any preprocessor stuff like #defines, which is actually what makes up most of the verbosity in the schemas. Also, it creates a weird dependency problem, because you'd need to build to then generate the schema. So, I think I'll push back on that for now. Perhaps a middle ground: in the transport calls, we've discussed adding some build-phase validation that throws a compile error if there is any discrepancy between the schema and builds (to eliminate the drift problem).

  1. I think my prior point that I mentioned offline about allowing parameters when subscribing has a lot broader applicability. It's a lot of data when our machines are loaded, it might be useful to ask for a specific connection in the case of TCP and/or configure specific counters for pmc.

I agree it would be interesting. I see it as a way for the subscriber (i.e. elog cmd line) to pass provider-specific data/args that can do anything. For TCP, we have some out of band (to elog) hooks already (i.e. socket options to turn on elog for one connection), but having it directly integrated into elog (i.e. enable='tcp.port=443') would be cool. But I think it could easily be added as a follow on feature, and not block the base reviews which are already huge.

  1. I've written a few lock data structures. The buffering strategy seems really complicated and it has a few drawbacks. I think you can use a simpler ring structure with two independent atomic variables for the head and tail. This avoids write-write contention between the reader-writer, and would eliminate the need for a lock on machines without a 64-bit swap operation.. To deal with nesting you could use a ready bit/byte to avoid double buffering. If you follow this approach it becomes relatively easy to reason about the safety of allowing the userspace process to drain the log from a shared memory buffer and probably about half as many lines of code in the core.

I will look into this and see how the performance compares.

Jul 16 2026, 4:18 PM

Jul 15 2026

ali_mashtizadeh.com requested changes to D58256: hwpmc/amd: add PerfMonV2 global-control path.

Maybe I'm missing something but it doesn't look like this feature is completely implemented.

Jul 15 2026, 4:07 PM
ali_mashtizadeh.com added a comment to D56979: kern: import eventlog(9), a kernel event logging framework.

I made a high level pass over the diff I think I have enough context to review it carefully now.

Jul 15 2026, 3:56 PM
ali_mashtizadeh.com added a comment to D57775: pmc: console configuration and table rendering for new PMC tools.

Any more comments on these or can someone land this stack? I got the remaining functionality I described that I would like to rebase and prepare for review.

Jul 15 2026, 3:19 PM

Jul 9 2026

ali_mashtizadeh.com accepted D58027: x86: add AMD RAPL MSR definitions to specialreg.h.
Jul 9 2026, 6:22 PM
ali_mashtizadeh.com accepted D58028: hwpmc: add RAPL energy-counter class (AMD + Intel).
Jul 9 2026, 6:21 PM

Jul 8 2026

ali_mashtizadeh.com updated the diff for D57777: pmc: pmc record command.

Fix usage until other patch lands

Jul 8 2026, 6:52 PM
ali_mashtizadeh.com updated the diff for D57776: pmc: new pmc log processing framework.

Update magic

Jul 8 2026, 6:51 PM

Jul 5 2026

ali_mashtizadeh.com added inline comments to D58029: libpmc: userland support and pmc.rapl.3 for the RAPL class.
Jul 5 2026, 11:41 PM
ali_mashtizadeh.com added inline comments to D58028: hwpmc: add RAPL energy-counter class (AMD + Intel).
Jul 5 2026, 11:41 PM

Jul 4 2026

ali_mashtizadeh.com added inline comments to D58028: hwpmc: add RAPL energy-counter class (AMD + Intel).
Jul 4 2026, 8:28 PM

Jul 2 2026

ali_mashtizadeh.com added a comment to D57775: pmc: console configuration and table rendering for new PMC tools.

Tinderbox passes on my tree, except for unrelated ZFS build problems for amd64.LINT*.

Jul 2 2026, 4:16 PM
ali_mashtizadeh.com updated the diff for D57777: pmc: pmc record command.

Portability fixes

Jul 2 2026, 4:14 PM
ali_mashtizadeh.com updated the diff for D57776: pmc: new pmc log processing framework.

Portability fixes

Jul 2 2026, 4:13 PM
ali_mashtizadeh.com updated the diff for D57775: pmc: console configuration and table rendering for new PMC tools.

Portability fixes

Jul 2 2026, 4:13 PM

Jul 1 2026

ali_mashtizadeh.com added a comment to D57775: pmc: console configuration and table rendering for new PMC tools.

I'm running a build on a few architectures to make sure I don't break anything. I'll post when it's done.

Jul 1 2026, 9:15 PM
ali_mashtizadeh.com updated the diff for D57777: pmc: pmc record command.

Fix the study command defaults

Jul 1 2026, 9:10 PM
ali_mashtizadeh.com updated the diff for D57776: pmc: new pmc log processing framework.

Fix string length check

Jul 1 2026, 9:09 PM
ali_mashtizadeh.com updated the diff for D57775: pmc: console configuration and table rendering for new PMC tools.

Misused git-arc sorry my first attempt so it should have any changes.

Jul 1 2026, 9:08 PM
ali_mashtizadeh.com added inline comments to D57776: pmc: new pmc log processing framework.
Jul 1 2026, 7:50 PM
ali_mashtizadeh.com added a comment to D57777: pmc: pmc record command.

Thanks for your comments I fixed the armv7 and cleaned up the default/flamegraph to use unhalted-cycles. Seems that is defined now on x86 and ARM64 correctly, but I'll make a separate patch to add reasonable aliases for POWER8/9.

Jul 1 2026, 7:34 PM
ali_mashtizadeh.com added a comment to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.

Also can someone with access on review make a sched group?

Jul 1 2026, 6:15 PM
ali_mashtizadeh.com added a comment to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.

We may have hit this one but that's not the one I'm testing a patch for right now. If it looks good in our setup I'll share it. It's a bit more of a fundamental scheduler change that we may or may not want to have enabled by default.

Jul 1 2026, 6:13 PM

Jun 30 2026

ali_mashtizadeh.com added a comment to D57777: pmc: pmc record command.

Thanks Adrian for your comments if there's anything you want me to urgently fix I can do that. Otherwise my goal was get the general and IBS tooling in people's hands.

Jun 30 2026, 6:40 PM
ali_mashtizadeh.com added a comment to D57775: pmc: console configuration and table rendering for new PMC tools.

Yes, I don't have the ncurses bits ready so I haven't bothered with SIGWINCH just yet. In this first set of diffs it print once to the current console.

Jun 30 2026, 6:25 PM
ali_mashtizadeh.com added a comment to D57780: pmc: enable the new pmc commands.

Hi, commenting here. From a high-level perspective this seems like a good move; this pmc(8) utility is open to improvements and seems like it never got past a beta phase.
It is good to be thoughtful about the old commands, but as you note they are broken and the tool as a whole is undocumented. So I do not think we are burdened with supporting them indefinitely.

Jun 30 2026, 6:22 PM
ali_mashtizadeh.com requested changes to D57632: hwpmc: add PMU assigner and AMD Zen constraint provider.

I think my higher level comment in the previous diff still holds that you can just expose the amd functions through the pmc_classdep struct to make it platform agnostic and then remove the #ifdefs and amd specific checks throughout the code. Everyone zero's out that structure so we depend on a NULL pointer meaning that the call isn't implemented. Just have your wrapper function return EOPNOTSUPP if it's a null pointer.

Jun 30 2026, 3:58 PM
ali_mashtizadeh.com requested changes to D57631: hwpmc: add PMU event/group structures and rotation runtime.
Jun 30 2026, 3:47 PM
ali_mashtizadeh.com added a comment to D55603: amdrapl: Introduce amdrapl driver.

Also take a look at the Intel Fixed function counters IAF that are also always present. Start/stop are nops.

Jun 30 2026, 2:46 PM

Jun 25 2026

ali_mashtizadeh.com added inline comments to D55603: amdrapl: Introduce amdrapl driver.
Jun 25 2026, 4:58 PM
ali_mashtizadeh.com requested changes to D55603: amdrapl: Introduce amdrapl driver.
Jun 25 2026, 4:55 PM
ali_mashtizadeh.com added reviewers for D55603: amdrapl: Introduce amdrapl driver: ali_mashtizadeh.com, imp, mhorne.

Just to follow up with our call can you quickly layout the plan for integrating with:

Jun 25 2026, 4:45 PM
ali_mashtizadeh.com added reviewers for D57759: x86: add AMD RAPL MSR and feature-bit definitions: imp, mhorne.
Jun 25 2026, 4:43 PM
ali_mashtizadeh.com accepted D57759: x86: add AMD RAPL MSR and feature-bit definitions.
Jun 25 2026, 4:43 PM
ali_mashtizadeh.com added a reviewer for D57759: x86: add AMD RAPL MSR and feature-bit definitions: ali_mashtizadeh.com.
Jun 25 2026, 3:36 PM
ali_mashtizadeh.com added a comment to D57632: hwpmc: add PMU assigner and AMD Zen constraint provider.

In the existing code we have to allocate counters into specific indexes in an order to check that they meet our constraints. Either:

Jun 25 2026, 3:30 PM
ali_mashtizadeh.com accepted D57630: sys: hwpmc PMU group/multiplex ABI additions.

I'm assuming we are going to multiplex the counters based on the sample 'rate'?

Jun 25 2026, 3:15 PM

Jun 24 2026

ali_mashtizadeh.com added a comment to D57775: pmc: console configuration and table rendering for new PMC tools.

For context we worked with AMD to get Instruction Based Sampling (IBS) support into HWPMC and we are making a number of ongoing improvements. I built into the somewhat abandoned pmc command a new set of tools for collecting and analyzing pmc logs. I split the this stack of patches into the smallest set I could but to do that I've left out a lot of functionality that improves substantially over pmcstat.

Jun 24 2026, 4:15 PM

Jun 23 2026

ali_mashtizadeh.com requested review of D57780: pmc: enable the new pmc commands.
Jun 23 2026, 4:27 PM
ali_mashtizadeh.com requested review of D57779: pmc: pmc frontend stall analysis based on IBS.
Jun 23 2026, 4:27 PM
ali_mashtizadeh.com requested review of D57778: pmc: pmc info command.
Jun 23 2026, 4:27 PM
ali_mashtizadeh.com requested review of D57777: pmc: pmc record command.
Jun 23 2026, 4:27 PM
ali_mashtizadeh.com requested review of D57776: pmc: new pmc log processing framework.
Jun 23 2026, 4:26 PM
ali_mashtizadeh.com requested review of D57775: pmc: console configuration and table rendering for new PMC tools.
Jun 23 2026, 4:26 PM

Jun 10 2026

ali_mashtizadeh.com added a comment to D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.

@imp @mhorne Can one of you please look at this and try to land it? Mitchell your first pass review I think was taken care of and I did two passes after. This is blocking me from landing the tools.

Jun 10 2026, 10:39 PM

May 26 2026

ali_mashtizadeh.com accepted D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.
May 26 2026, 5:19 PM

May 22 2026

ali_mashtizadeh.com added a reviewer for D56979: kern: import eventlog(9), a kernel event logging framework: ali_mashtizadeh.com.
May 22 2026, 7:49 PM
ali_mashtizadeh.com requested changes to D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.

Thanks Andre for all the hard work sorry to point out one more change.

May 22 2026, 5:44 AM

May 19 2026

ali_mashtizadeh.com requested changes to D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.

The only major issue is that we shouldn't expose bit63 as a flag that's just CAP_USER and CAP_SYSTEM. The other changes are real minor. Mitchell didn't like the structure size changing but we have to support it if we want any resemblance of backwards compatibility.

May 19 2026, 9:25 PM

Mar 23 2026

ali_mashtizadeh.com accepted D56017: libpmc/pmu-events: Add support for new json fields.

Ah I realize this is for the formulas they provide. Looks good.

Mar 23 2026, 3:52 AM
ali_mashtizadeh.com accepted D56029: hwpmc: improve diagnostic messages for invalid tunables.
Mar 23 2026, 3:49 AM

Mar 22 2026

Herald added a reviewer for D41278: hwpmc_amd: improve assertions in amd_pcpu_fini(): ali_mashtizadeh.com.

I think you can abandon this one too I removed that disable and the PMC_IS_STOPPED macro is a mess going forward as the bits are moving around now.

Mar 22 2026, 5:27 PM