| commit | fdd041028f2294228e10610b4fca6a1a83ac683d | [log] [tgz] |
|---|---|---|
| author | Alexander Antonov <alexander.antonov@linux.intel.com> | Mon Nov 27 10:52:46 2023 -0800 |
| committer | Peter Zijlstra <peterz@infradead.org> | Thu Nov 30 14:29:53 2023 +0100 |
| tree | 020cda9088c0b206e56f8c48dbcb2749725a8a35 | |
| parent | 1692cf434ba13ee212495b5af795b6a07e986ce4 [diff] |
perf/x86/intel/uncore: Factor out topology_gidnid_map() The same code is used for retrieving package ID procedure from GIDNIDMAP register. Factor out topology_gidnid_map() to avoid code duplication. Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/r/20231127185246.2371939-3-alexander.antonov@linux.intel.com