summaryrefslogtreecommitdiff
path: root/drivers/net/ixp2000/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>2026-03-31 14:19:50 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-04-01 16:03:05 +0200
commitc3bb8d4f5d802ec1a16f018e82030bccb7a053a4 (patch)
tree1635a1b6b11ef7300653a0dd3c8df357601a7e9c /drivers/net/ixp2000/git@git.tavy.me:linux.git
parentb0ee5110ef1c684eab41bd03fbe8bf2a8f964054 (diff)
powercap: intel_rapl: Consolidate PL4 and PMU support flags into rapl_defaults
Currently, PL4 and MSR-based RAPL PMU support are detected using separate CPU ID tables (pl4_support_ids and pmu_support_ids) in the MSR driver probe path. This creates a maintenance burden since adding a new CPU requires updates in two places: the rapl_ids table and one or both of these capability tables. Consolidate PL4 and PMU capability information directly into struct rapl_defaults by adding msr_pl4_support and msr_pmu_support flags. This allows per-CPU capability to be expressed in a single place alongside other per-CPU defaults, eliminating the duplicate CPU ID tables entirely. No functional changes are intended. Co-developed-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Link: https://patch.msgid.link/20260331211950.3329932-8-sathyanarayanan.kuppuswamy@linux.intel.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/ixp2000/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions