All of lore.kernel.org
 help / color / mirror / Atom feed
* [reinette:resctrl/controls_rfc_v2 88/88] arch/x86/kernel/cpu/resctrl/core.c:560:13: warning: 'mba_wrmsr_intel' defined but not used
@ 2026-08-04 16:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-04 16:50 UTC (permalink / raw)
  To: Reinette Chatre; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/reinette/linux.git resctrl/controls_rfc_v2
head:   fbed64f80515241bc6da124585328fd5047a4a13
commit: fbed64f80515241bc6da124585328fd5047a4a13 [88/88] x86/resctrl: SAMPLE: Emulated controls
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260805/202608050006.kFBSkmWC-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/202608050006.kFBSkmWC-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608050006.kFBSkmWC-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/cpu/resctrl/core.c:560:13: warning: 'mba_wrmsr_intel' defined but not used [-Wunused-function]
     560 | static void mba_wrmsr_intel(struct msr_param *m)
         |             ^~~~~~~~~~~~~~~


vim +/mba_wrmsr_intel +560 arch/x86/kernel/cpu/resctrl/core.c

fbed64f8051524 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-08-03  559  
bd4955d4bc2182 arch/x86/kernel/cpu/resctrl/core.c Tony Luck       2024-03-08 @560  static void mba_wrmsr_intel(struct msr_param *m)
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  561  {
cae2bcb6a2c691 arch/x86/kernel/cpu/resctrl/core.c Tony Luck       2024-06-28  562  	struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom);
13548d0c5c4b65 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-05-28  563  	struct resctrl_hw_ctrl *hw_ctrl = resctrl_to_arch_ctrl(m->ctrl);
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  564  	unsigned int i;
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  565  
d4846284209b96 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-07-21  566  	if (!test_bit(RESCTRL_SCALAR_FLAG_LINEAR, m->ctrl->scalar.flags)) {
a1bcfaf0334053 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-04-07  567  		pr_warn_once("Non-linear bandwidth delay not supported\n");
a1bcfaf0334053 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-04-07  568  		return;
a1bcfaf0334053 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-04-07  569  	}
a1bcfaf0334053 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-04-07  570  
a1bcfaf0334053 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-04-07  571  	/* Program bandwidth percentage mapped to linear delay value. */
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  572  	for (i = m->low; i < m->high; i++)
13548d0c5c4b65 arch/x86/kernel/cpu/resctrl/core.c Reinette Chatre 2026-05-28  573  		wrmsrq(hw_ctrl->msr_base + i, MAX_MBA_BW - hw_dom->ctrl_val[i]);
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  574  }
05b93417ce5b92 arch/x86/kernel/cpu/intel_rdt.c    Vikas Shivappa  2017-04-07  575  

:::::: The code at line 560 was first introduced by commit
:::::: bd4955d4bc2182ccb660c9c30a4dd7f36feaf943 x86/resctrl: Simplify call convention for MSR update functions

:::::: TO: Tony Luck <tony.luck@intel.com>
:::::: CC: Borislav Petkov (AMD) <bp@alien8.de>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-04 16:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 16:50 [reinette:resctrl/controls_rfc_v2 88/88] arch/x86/kernel/cpu/resctrl/core.c:560:13: warning: 'mba_wrmsr_intel' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.