All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Reinette Chatre <reinette.chatre@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [reinette:resctrl/controls_rfc_v2 88/88] arch/x86/kernel/cpu/resctrl/core.c:560:13: warning: 'mba_wrmsr_intel' defined but not used
Date: Wed, 05 Aug 2026 00:50:05 +0800	[thread overview]
Message-ID: <202608050006.kFBSkmWC-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-08-04 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608050006.kFBSkmWC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=reinette.chatre@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.