Re: [PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs

2024-05-03 Thread Dhananjay Ugwekar
Hi Ingo, On 5/3/2024 3:24 PM, Ingo Molnar wrote: > > * Dhananjay Ugwekar wrote: > >> After commit ("x86/cpu/topology: Add support for the AMD 0x8026 leaf"), >> on AMD processors that support extended CPUID leaf 0x8026, the >> topology_die_cpumask() and topology_logical_die_id() macros,

Re: [PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs

2024-05-03 Thread Ingo Molnar
* Dhananjay Ugwekar wrote: > After commit ("x86/cpu/topology: Add support for the AMD 0x8026 leaf"), > on AMD processors that support extended CPUID leaf 0x8026, the > topology_die_cpumask() and topology_logical_die_id() macros, no longer > return the package cpumask and package id, in

[PATCH 2/2] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs

2024-05-02 Thread Dhananjay Ugwekar
After commit ("x86/cpu/topology: Add support for the AMD 0x8026 leaf"), on AMD processors that support extended CPUID leaf 0x8026, the topology_die_cpumask() and topology_logical_die_id() macros, no longer return the package cpumask and package id, instead they return the CCD (Core Comple