On 1/8/2026 11:53 PM, Dongli Zhang wrote:
> AMD does not have what is commonly referred to as an architectural PMU.
> Therefore, we need to rename the following variables to be applicable for
> both Intel and AMD:
> 
> - has_architectural_pmu_version
> - num_architectural_pmu_gp_counters
> - num_architectural_pmu_fixed_counters
> 
> For Intel processors, the meaning of pmu_version remains unchanged.
> 
> For AMD processors:
> 
> pmu_version == 1 corresponds to versions before AMD PerfMonV2.
> pmu_version == 2 corresponds to AMD PerfMonV2.
> 
> Signed-off-by: Dongli Zhang <[email protected]>
> Reviewed-by: Dapeng Mi <[email protected]>
> Reviewed-by: Zhao Liu <[email protected]>
> Reviewed-by: Sandipan Das <[email protected]>
> ---
LGTM.
Reviewed-by: Zide Chen <[email protected]>

Reply via email to