Re: [PATCH v3 00/10] perf/amd/ibs: Fix sample period computations
From: Ravi Bangoria
Date: Mon Dec 16 2024 - 01:43:18 EST
On 10-Dec-24 3:04 PM, Ravi Bangoria wrote:
> IBS Fetch and IBS Op PMUs have constraints on supported sample period
> values. The IBS hw behavior could be undefined if they are not followed.
> Currently, IBS driver does not honor them correctly and thus a malicious
> event could cause issues to the system. Fortunately, the IBS hw is very
> resilient so far and IBS PMUs are restricted to root only, so the attack
> vector is minimal. In any case, these are genuine bugs and must be fixed.
>
> There were some conflicts with Namhyung's IBS patches[1] which are now
> in the tip tree, so rebased the series on tip/perf/core (02c56362a7d3).
>
> v2: https://lore.kernel.org/r/20241206051713.991-1-ravi.bangoria@xxxxxxx
> v2->v3:
> - No code changes
> - s/pmu/PMU/g
> - Include unit test example in the commit description
>
> [1]: https://lore.kernel.org/r/20241203180441.1634709-1-namhyung@xxxxxxxxxx
Peter, Ingo, gentle ping.
Thanks,
Ravi