Re: [PATCH v4 0/5] perf: Relax privilege restriction on AMD IBS

From: Ravi Bangoria
Date: Thu Oct 24 2024 - 02:05:20 EST


> This is RFC v3 to allow AMD IBS to regular users on the default settings
> where kernel-level profiling is disabled (perf_event_paranoid=2).
> Currently AMD IBS doesn't allow any kind of exclusion in the event
> attribute. But users needs to set attr.exclude_kernel to open an event
> on such an environment.

FWIW, IBS code had few issues with sample period computation which can
lead to SW programing unsupported values to IBS MSRs. Since this series
expose IBS to unprivileged users, below series is a logical dependency:

https://lore.kernel.org/r/20241007034810.754-1-ravi.bangoria@xxxxxxx

Thanks,
Ravi