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:49 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-04-01 16:03:05 +0200
commitb0ee5110ef1c684eab41bd03fbe8bf2a8f964054 (patch)
tree15c607e8f1568b01b5776ddba58b5cbc24d2d84b /drivers/net/ixp2000/git@git.tavy.me:linux.git
parentd7a718fff34b8b4a2d54672f2c685aef7a281b5e (diff)
powercap: intel_rapl: Move MSR primitives to MSR driver
MSR-specific RAPL primitives differ from those used by TPMI and MMIO interfaces. Keeping them in the common driver requires interface-specific handling logic and makes the common layer unnecessarily complex. Move the MSR primitive definitions and associated bitmasks into the MSR interface driver. This change includes: 1. Move MSR-specific bitmask definitions to RAPL MSR driver. 2. Add MSR-local struct rapl_primitive_info instance and assign it to priv->rpi during MSR probe. 3. Remove the primitive assignment logic from rapl_config() in the common driver. No functional changes are intended. Co-developed-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Link: https://patch.msgid.link/20260331211950.3329932-7-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